jsharmony-tutorials
Version:
jsHarmony Tutorials
23 lines • 897 B
JSON
{
"FormSubform_Unbound_Cust": {
"table":"cust",
"layout":"form",
"onecolumn":true,
"caption":["Customer","Customers"],
"fields":[
{"name":"cust_name","caption":"Name"},
{"name":"cust_sts","caption":"Status"},
{"control": "subform","target": "FormSubform_Unbound_Cust_Listing_Info","bindings":{}}
]
},
"FormSubform_Unbound_Cust_Listing_Info": {
"layout":"grid",
"caption":["Key Customers"],
"sort":["vitem_cnt"],
"sqlselect":"select cust.cust_id,cust_name,count(item_id) item_cnt from cust left outer join item on item.cust_id=cust.cust_id where %%%SQLWHERE%%% %%%DATALOCKS%%% %%%SEARCH%%% group by cust.cust_id order by %%%SORT%%% limit %%%ROWCOUNT%%% offset %%%ROWSTART%%%",
"fields":[
{"name":"cust_name", "caption":"Customer Name" },
{"name":"item_cnt", "caption":"# Equipment" }
]
}
}