Friday, August 10, 2018

LS NAV - Get Data from an Infocode

LOCAL GetInfocodeValue(ICode : Text;Store : Text;Terminal : Text;Trx : Integer)
TIC.SETFILTER(Infocode,ICode);
TIC.SETFILTER("Store No.",Store);
TIC.SETFILTER("POS Terminal No.",Terminal);
TIC.SETFILTER("Transaction No.",Trx);
IF TIC.FINDFIRST THEN
  EXIT(TIC.Information);

No comments:

Post a Comment