Posts Tagged “MS Navision - Post Line Codeunit”

Welcome to Kaizenlog.com If you're new here, you may want to subscribe to my RSS feed , Twitter You can contact us by using the contact form or submitting a comment. Thanks for visiting!

MS Navision - Post Line Codeunit

Responsible for writing the journal line table to the ledger.
Post one journal at a time and does not look at previous/upcoming records.

Codeunit skips any empty lines by exiting.
This ensures that empty lines are not inserted into the ledger.

If line is not empty, call Check Line to verify that all journal fields are correct.
Codeunit then checks table relations.

Post Line then writes to the register.

Codeunit then takes the next empty number and values and puts them in ledger record.

It then calls DimensionManagement codeunit that copies dimensions from the temporary Journal Line Dimension table to real Ledger Entry Dimension table.

Entry number is passed into the function to keep the dimension records associated with the ledger entry.
It then increments the variable that holds next entry number by 1.

When Post Line codeunit is done, one journal line has been processed, but more than one ledger record may have been inserted into more than one ledger.





Listen to this podcast Listen to this podcast

Comments No Comments »