Skip to Content
Former Member
Jan 27, 2009 at 10:59 AM

journal generate


I want to generate a journal entry by code. I have read the examples from SDK and i have implemented the code listed there and it is works.

I have one problem in the table JDT1 - the journal table - it is a column "ProfitCode" but form the code i does not know how to set that field. does anyone have any sugestion?

for example when i set the TransCode i use the code :


SAPbobsCOM.JournalEntries varJournal;

varJournal.TransactionCode = "causalevalue";


and it is work. it is something similar for "ProfitCode"?