Creating Customer/Vendor Ledger Dimension

/// <summary>
/// To get the Ledger Dimension Value [RecId] for all listed items in LedgerJournalACType
/// </summary>
/// <param name=”_CustVendAccountId”>
/// Must provide the CustID or VendID
/// </param>
/// <param name=”_accountType”>
/// Must define the Ledger Journal Account Type
/// </param>
/// <returns>
/// Record ID
/// </returns>
/// <remarks>
///
/// </remarks>

public static LedgerDimensionAccount getDynamicLedgerDimension(str _CustVendAccountId, LedgerJournalACType _accountType)
{
LedgerDimensionAccount _ledgerDim;

_ledgerDim = DimensionStorage::getDynamicAccount(_CustVendAccountId, _accountType);

return _ledgerDim;
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s