SQL:='select * from corrugated_plate_orders cpo JOIN customers c ON c.CUSTOMER_ID = cpo.COMPANY_ID join orders o on cpo.ORDER_ID = o.ORDER_ID where cpo.ORDER_ID = '+quotedStr(orderID);
...
...
@@ -1330,6 +1337,7 @@ var
SQL:string;
ADDRESS:TAddressItem;
begin
logger.Log(3,'TLookupService.GetWebOrder');
try
orderID:=orderInfo;
SQL:='select * from web_plate_orders wpo JOIN customers c ON c.CUSTOMER_ID = wpo.COMPANY_ID join orders o on wpo.ORDER_ID = o.ORDER_ID where wpo.ORDER_ID = '+quotedStr(orderID);
SQL:='select * from cutting_die_orders cdo JOIN customers c ON c.CUSTOMER_ID = cdo.COMPANY_ID join orders o on cdo.ORDER_ID = o.ORDER_ID where cdo.ORDER_ID = '+quotedStr(orderID);
...
...
@@ -1514,6 +1523,7 @@ var
SQL:string;
item:TItemItem;
begin
logger.Log(3,'TLookupService.GetItems');
try
params:=TStringList.Create;
params.StrictDelimiter:=true;
...
...
@@ -1573,6 +1583,7 @@ function TLookupService.GetUsers(searchOptions: string): TUserList;