Announcements
Hi,
I'm want to check if record/get a record from the Purchase Lines table via the Document number.
The SQL table shows these 2 records on the Purchase Lines:
I want to find the record with Document Number form the Purchase Line: PCT00049
But it can't find the record..
Not sure if this has something to do with the trigger that is created as a page extension on the Commodity Receipt screen, where the Document number is linked with the action of the trigger
Commodity Receipt Header
Kind Regards
Jaco
hi,
Welcome
Pls verify the answered. if useful.
Hi Amit, thanks
Got it
It is getting this record:
Hi,
Rec.Setrange("Document No.",'PCT00049');
if Rec.FindFirst then begin
Message(Format(Rec.RecordID.getRecord()))
Message('Order Found');
end;
Regards
Amit Sharma
press yes if info is useful.
André Arnaud de Cal...
294,017
Super User 2025 Season 1
Martin Dráb
232,852
Most Valuable Professional
nmaenpaa
101,158
Moderator