I am doing mass upload in LedgerJournalTrans form. At that time in that AccountType field it is showing the default value as “Ledger”. Its not considering the type “Customer” which i gave in tat csv file. So kindly tel me to avoid tat default value.
don’t use the csv file account type, based on account number you can define the account type, it will work properly
Where CustTable.AccountNum == VoucherUploadLoc.Accountnum;
LedgerJournalTrans.AccountType = LedgerJournalACType::Cust;
Where CustTable.AccountNum == VoucherUploadLoc.OffsetAccount;
LedgerJournalTrans.OffsetAccountType = LedgerJournalACType::Cust;