Dear all,
For some reason, I need to develop a function which can check the General Journal Batch is in balance before system execute the "Post" function...
I know all the check in code unit which behind the Post function and I did try to figure out which one is doing the amount check, but it truly difficult for me to understand this code.
I know how to check the balance of the batch... but just don't know if this batch has many Document number, then the checking rule should by document number... then how can I filter out the document number and check the amount in certain batch. :?
Any kind of idea, I'm appreciated.
0
Comments
"// Check balance" (about 100 lines of code in 4,03).
GenJnlTemplate."Force Doc. Balance"