Hi Guys,
Below is the code to get the Vendor Account as Ledger Dimension.....
static void getNonLedgerAccounts(Args _args)
{
LedgerDimensionAccount ledgerDim;
ledgerDim = DimensionStorage::getDynamicAccount("VendorAccount", LedgerJournalACType::Vend);
info(strFmt("%1 -%2", ledgerDim, DimensionAttributeValueCombination::find(ledgerDim).DisplayValue));
}
Below is the code to get the Vendor Account as Ledger Dimension.....
static void getNonLedgerAccounts(Args _args)
{
LedgerDimensionAccount ledgerDim;
ledgerDim = DimensionStorage::getDynamicAccount("VendorAccount", LedgerJournalACType::Vend);
info(strFmt("%1 -%2", ledgerDim, DimensionAttributeValueCombination::find(ledgerDim).DisplayValue));
}
No comments:
Post a Comment