When I click the register button the form calls a codeunit and in the codeunit I have some code to insert data into a temp table I made up recWarehouseDocument.
Form=7324 , Codeunit=7303
Navision 5.0 SP1
I hate to use COMMIT as I know it can really mess up the database.
Here is the code:
//DSC-Mod 5-24-11
IF recWarehouseDocument.FINDLAST THEN BEGIN
recWarehouseDocument.WarehouseDocumentNo := WhseJnlLine.“Whse. Document No.”;
recWarehouseDocument.ReasonCode := WhseJnlLine.ReasonDescription;
recWarehouseDocument.INSERT;
END;
//DSC Mod end
Here is the error message:
Thanks in advance,
Greg