Hi
I am adding Save Mode record in LedgerJournalTrans using the following code. Data is getting inserted into the tables but LedgerJournalTrans record is not showing in screen whereas if i add same value using the screen it works and same gets stored in table too.
ledgerTrans.TransDate= str2Date(‘16-jun-2015’,106);
ledgerTrans.Company= curext();
ledgerTrans.AccountType=LedgerJournalACType::Ledger;
ledgerTrans.Txt=‘Test’;
ledgerTrans.JournalNum = “FIPL-01926”;
ledgerTrans.CurrencyCode=‘INR’;
ledgerTrans.ExchRate=100;
ledgerTrans.TransactionType=LedgerTransType::GeneralJournal;
ledgerTrans.CompanyLocation_IN= 52565468087;
ledgerTrans.DocumentDate=str2Date(‘16-jun-2015’,106);
ledgerTrans.Approved=1;
ledgerTrans.insert();