Values from purchase header -> vendor ledger entries


I want to have a value from a custom field on Purchase Header to follow thru to Vendor Ledger Entry. (where i have created the field also)

In order to do this, I have been searching CU90 - Purchase Post for the place where Vendor Ledger Entries are inserted. Put as far as I can see, it must be done somewhere else. I have been searching in vane so far. Can anyone push me in the right direction?

BTW This is on NAV 5.00 SQL

Thanks in advance!


Hi Morten, look in CodeUnit 12…Paul

YOU are the king! :smiley:

Thanks alot!

No Problem, just remember that the posting routines (CodeUnits 80 & 90) write just about everything to a General Journal before posting it…Paul