Hi,
I have a Excel file to import through Opening Balance Entity. I only have few vendor and many Customer transactions and I don't have offset accounts in my transactions.
Some customers are of different company, so I edited the method GenereateLedgerDimension in DMFLedgerBalanceEntityClass.
changeCompany(entity.company)
{
if(entity.AccountType != enum2str(LedgerJournalACType::Ledger)) { target.LedgerDimension = DMFDimensionHelper::generateDimensionDynamicDefaultAccount(entity.LedgerDimension,DMFEntityBase::string2Enum(entity.AccountType,enumNum(LedgerJournalACType)), enumNum(LedgerJournalACType), DMFEntityBase::string2Enum(entity.AccountType,enumNum(LedgerJournalACType))); } else { target.LedgerDimension = DMFDimensionHelper::generateDynamicDimension(entity.LedgerDimension, entity.Company, entity.ExecutionId, entity.DefinitionGroup, dmfEntityName); }
}
This code now runs if I start Batch with 1 Task.
If I start Batch with more than 1 task, the intecompany customer transactions doesn't gets imported?
Any idea why it works for single task batch but doesn't for multi task batch?
*This post is locked for comments