
Hi all,
I'm trying to pass value to Newly Added Field to ILE table , when the time of posting Purchase Receipt Lines.
so from the details i found to achieve this i need to do modifications on Code Unit 22 Item Journal Post and Code Unit 90 Purchase-Post.
I've already added that field in to ILE, Item Journal Lines , Purchase Receipt Lines.
But i'm clue less what to do as next step , really appreciate if some one can help me , since i'm new to CAL.
Thanks & Regards,
Amith Prasanna
is this new field on the Item Card or on the Purchase Line?
If it is on the Purchase Line then you need to add the code or subscribe to the event of the CopyFromPurchLine function in the table Item Journal Line and then add the code in the InsertItemLedgEntry function or subscriber to the event in that function called OnBeforeInsertItemLedgEntry and pass the value from ItemJnlLine to Item Ledger Entry.