Hi,
I have written a posting routine which serves a couple of purposes and for one it is working well. For the other I am getting an error :-
The Ledger Entry Dimension already exists.
Identification fields and values
Table ID = '25', Entry No. = '1475', Dimension Code = 'ACTIVITY'
The debugger traps this error on a COMMIT statement after my posting routines have been executed: -
PostingRoutines are here
COMMIT; //the debugger stops here
CLEAR(GenJnlPostLine);
IF PostToGL THEN BEGIN
UpdateAnalysisView.UpdateAll(0,TRUE);
COMMIT;
END;
If I remove the COMMITs then the debugger traps nothing, executes the remaining lines and I get the same error message as above when control is passed back to the NAV client.
Thanks in anticipation...
Comments
Review your code.
Read this post to see if it applies to your case....
viewtopic.php?f=23&t=30134&hilit=delayed+commit
This really got me though ](*,) . I was not aware of the behaviour.
Thanks Again!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!