Inserting a new field in Item Ledger Entry table

niimodinniimodin Member Posts: 142
Hello,
I have added a field to the Item Ledger entry table and wants to update it when posting a sales invoice. I have been using the "code coverage" to track where to put the code but have not been successfull. Can someone help

Comments

  • ssinglassingla Member Posts: 2,973
    niimodin wrote:
    Hello,
    I have added a field to the Item Ledger entry table and wants to update it when posting a sales invoice. I have been using the "code coverage" to track where to put the code but have not been successfull. Can someone help

    Create the field in table 83 Item Journal Line and then assign the value in function "PostItemJnlLine" in CU 80 to item journal line table. Then in CU 22 the value can be assigned to table item ledger entry.

    In case you don't have expertise in working with NAV technicals then take help.
    CA Sandeep Singla
    http://ssdynamics.co.in
  • bbrownbbrown Member Posts: 3,268
    You don't mention which localization you are workign with. If using the North Americam version, you should modify codeunit 10203 "Transfer Custom Fields".
    There are no bugs - only undocumented features.
Sign In or Register to comment.