i have a very specific question about EPOS Main form (navision form object) of LS Retail
EPOS Main form is the main form representing POS terminal interface.
What puzzles me is how much code is put on the form. And what is even more troubling is the number of COMMIT statements there.
One particular that causes problems for me is in the function
WriteMgrStatus()
//WriteMgrStatus
IF MgrKey AND (Rec."Manager Key" = "Manager Key"::Off) THEN BEGIN
Rec."Manager Key" := "Manager Key"::On;
//LS4.1-56 IF Rec."Manager ID" <> '' THEN
IF ManagerRec.ID <> '' THEN
Rec."Manager ID" := ManagerRec.ID;
MODIFY;
END;
COMMIT;
this commit splits a transaction that i need to be executed as single transaction and not as two separate transactions.
Even if the commit is necessary why is it not above the END ?
Answers
Yes the code on the form is ugly.
I would comment it out and see if you get any runmodal or if the field gets populated and test it out.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n