Hi. I am referring to NAV 2016. My customer facing a problem whereby when click Preview Posting button in Sales Invoice, error prompt: G/L - Item Ledger Relation already exists. G/L Entry No.=0, Value Entry No.=1027." I have checked the G/L - Item Ledger Relation table & Value Entry, the Entry No. does not exist. However, when I click Post button, no error prompt, the Invoice posted successfully.
I have no idea how is this error prompt, and where else should I check. Kindly advise. Thank you.
0
Answers
//IF NOT GenJnlPostPreview.IsStarted THEN BEGIN
GLReg."To VAT Entry No." := NextVATEntryNo - 1;
IF GLReg."To Entry No." = 0 THEN BEGIN
GLReg."To Entry No." := GlobalGLEntry."Entry No.";
GLReg.INSERT;
END ELSE BEGIN
GLReg."To Entry No." := GlobalGLEntry."Entry No.";
GLReg.MODIFY;
END;
//END;
Seems like it involves coding part to solve the issue. Is it considered as a standard bug?