MainAccount display and offsetAccount display based on General ledger dimensions
LedgerJournalTrans Table methods() for MainAccount display and offsetAccount display
DimensionAttributeValueCombination ledgerDimension;
LedgerJournalAC account;
//MainAccount display
if (this.LedgerDimension)
{
// If the account has not been changed, then pull the value from ledger dimension as the //master
select DisplayValue from ledgerDimension where ledgerDimension.RecId == this.LedgerDimension;
account = ledgerDimension.DisplayValue;
}
//offsetAccount display
if (this.OffsetLedgerDimension)
{// If the account has not been changed, then pull the value from ledger dimension as the //master
select DisplayValue from ledgerDimension where ledgerDimension.RecId == this.OffsetLedgerDimension;
offsetAccount = ledgerDimension.DisplayValue;
}
Comments
Post a Comment