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 ?
0
Answers
thanks for he heads-up. AFAIK there are some posting preview related fixes in CU4. There is no change to CU19, though.
with best regards
Jens
with best regards
Hans