Function - Get Receipt Line

navuser1
navuser1 Member Posts: 1,334
Hi All,

Help me. I Have a problem!!!

Some cases the Function - Get Receipt Line carry Actual data (Customized Fields) from the Table 'Purch. Rcpt. Line' into the
'Purchase Line' Table and some time it carry worng data.

IF Customized fields have the same FIELD ID in Both the Tables THEN
where I have to Write Code/Check to solve the Problem.
Now or Never

Comments

  • DaveT
    DaveT Member Posts: 1,039
    Hi Navuser1,

    The function TRANSFERFIELDS copies fields with the sames Ids between two records. The get receipt lines uses codeunit 74 and code in table 121 so look in there.
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • navuser1
    navuser1 Member Posts: 1,334
    Thanks
    Now or Never
  • djswim
    djswim Member Posts: 277
    It's my understanding that in general this will carry data if the fields have the same ID, but it can't be counted on all the time. Sometimes you have to just hunker down and explicitly tell the function to bring the data in... annoying but it works.
    "OMG ALL MY DATA IS GONE"
    "Show All..."
    "Oh..."