Regarding G/L entry

Hi all,
I tried to insert a new field in G/L entry and tried it to get updated once a sales order is posted.But everything is working fine but the problem once i post a sales order multiple entries are created in g/l entry and my field is updated in only one field.
Can anyone suggest what is the reason for this problem.
Please Advice

v4irgi3rvp7f.png
xvefe835xiea.png

Warm regards,
Bharath

Answers

  • bharathnanbharathnan Member Posts: 92
    hrzlni8350vq.png
  • lubostlubost Member Posts: 627
    1. How is your process built?
    2. Best method is to create appropriate field in table 81 and modify codeunits 80 and 12 to transfer value from sales module into G/L Entry.
  • bharathnanbharathnan Member Posts: 92
    It is done by transfering it from sales order to G/l entry directly using the linked tables inbetween them.
    Is there any other way to resolve this issue.
  • naveenjainnaveenjain Member Posts: 7
    Make sure to write proper code in the codeunit 10201 "Transfer Custom Fields" in the GenJnlLineTOGenLedgEntry function. This should take care of transferring the values to all the related transactions to G/L.

    You will find many other functions in this codeunit which you may need to use to transfer fields in other tables in case you have custom fields in those tables as well.
  • bharathnanbharathnan Member Posts: 92
    naveenjain wrote: »
    Make sure to write proper code in the codeunit 10201 "Transfer Custom Fields" in the GenJnlLineTOGenLedgEntry function. This should take care of transferring the values to all the related transactions to G/L.

    You will find many other functions in this codeunit which you may need to use to transfer fields in other tables in case you have custom fields in those tables as well.

    Thanks for your reply but it doesn't seems to work,Any other ways to do this..
Sign In or Register to comment.