How to pass Custom field from SalesTable to GeneralJournalAccountEntry while Posting sales Invoice

I am new in D365, can you suggest how to pass a custom field from the salesTable to GeneralJournalAccountEntry table while posting a sales invoice.

Hi,

It depends upon the field you are inserting.
If you know the values of custom field on OnInserting event handler of the GeneralJournalAccountEntry table, then you can write there.
If you dont know do a find reference of the GeneralJournalAccountEntry table by right clicking the table and click on find reference - From there you will get, find symbol results - See where the record get inserted on the table on all the find symbol results like classes.

Thanks,
Girish S.

Hi Girish,

Got it I wrote the EventHandler on GeneralJournalAccountEntry table & I got custom fields from SalesTable to GeneralJournalAccountEntry table.

If the problem is solved can you close this thread by marking solved.

Thanks,
Girish S.