Hi all
I would like to add few extra fields and fill them with sales invoice/creditmemo when they are posted.
I searched the Code Unit Sales Post Code Unit (80) and couldn't find a place add my code.
Can some one guide me on the right direction with few lines of code.
The fields are already created and information is captured at Sales Order and Credit Memo level.
We just "Ship & Invoice" from the Orders form
Thank you
Maluwa
"A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."
0
Comments
The Sales Post Codeunit will create a Item Jnl Line for inventory posting and then use the Item Jnl Line Post routine.
Have a look there.
T
I actually forgot to mention that these fields to added to Item Ledger Entry table.
Will Item Journal Post will create a Item Legder Entry ?
Thanks again
But replace G/L Journal and G/L Entry with Item Journal and Item Ledger Entry.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
So all you would have to do to add any custom fields to the Item Jnl. Line Table and Item Ledger Entry Table and then update the ItemJnlLineToItemLedgEntry function with code to copy your fields. Should be a cake walk.
The one problem is that this appears to be in a regional object number range, so it may not be in all databases (but it seems like such an obvious task that any region would require).
Epimatic Corp.
http://www.epimatic.com
http://www.mibuso.com/forum/viewtopic.php?t=23299
http://www.BiloBeauty.com
http://www.autismspeaks.org