Compartilhar via


CustLedgerAccounts::writeOffLedgerDimension Method

Finds the write-off account in the posting profile by using the parameters.

Syntax

server public static LedgerDimensionDefaultAccount writeOffLedgerDimension(CustAccount _custAccount, CustPostingProfile _custPostingProfile)

Run On

Server

Parameters

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
The write-off ledger dimension.

Exceptions

Exception Condition
Error

The profile ID parameter is blank and no post profile is available in the accounts receivable parameters.

Remarks

When the posting profile ID parameter is blank, the posting profile in the account receivable parameters table will be used to find the write off account.When the customer account number parameter is blank, this method will only look for the all record in the posting profile.

See Also

Reference

CustLedgerAccounts Table