Posting Preview Error forces uncomplete Posting

nampiconampico Member Posts: 2
edited 2016-02-15 in NAV Three Tier
try this:
1.) Insert Gen. Jnl. Line with wrong sign, e.g. Cust. Invoice with neg. Amount
2.) Start "Posting Preview" ==>>> an Error will be shown
3.) correct sign
4.) post the Line immediatly (without "Posting Preview")
The result is:
- Message ("Nothing to post")
- Gen. Jnl. Line still exists
- Entries have been generated: G/L Entries, Vat Entry, Customer Entry, Det. Customer Entry, ...
- There is no "G/L Register" ! ! !
- Next try of Posting the Line results to an Error (Customer Invoice already exists)

The reason is: In case of Preview-Error CU 19 gets no "End of Preview"-Information. But how can I fix it?


I fixed CU 81 91 226 227 231 980 5636 5981
e.g. CU 321:
//IF GETLASTERRORTEXT <> GenJnlPostPreview.GetPreviewModeErrMessage THEN
// ERROR(GETLASTERRORTEXT);
IF GETLASTERRORTEXT <> GenJnlPostPreview.GetPreviewModeErrMessage THEN BEGIN
GenJnlPostPreview.Finish;
ERROR(GETLASTERRORTEXT);
END;


but i'm not shure, does that fix all problems ?

Best Answer

Answers

  • nampiconampico Member Posts: 2
    Thank you. I tested NAV2016CU4 - "Posting Preview"-ERROR has been fixed.

    with best regards
    Hans
Sign In or Register to comment.