I need to lookup on all unsettlement invoices related to customer on header table .
when I add amount of invoice in lookup its appear as trans date not amount so what's wrong ?
Hi, For unsettled invoices, you can try using CustTransOpen as main datasource, add CustTrans table and use relations(true) instead of addLink.
Hi Menna,
If you are adding the relation between tables using addLink you must set qbds4.relation(false) instead of true.
Also try adding only AmountCur as the lookup field and check what its returning..
If it doesn't work create a view for that query you used and use that view in the lookup query.
Thanks,
Girish S.
André Arnaud de Cal...
292,160
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156