LedgerInterCompany.getCashDiscPostOptions Method
Retrieves either the customer or vendor cash discount posting options for the specified parameters.
Syntax
public CustVendSettleCompanyPostOption getCashDiscPostOptions(SysModule _module)
Run On
Called
Parameters
- _module
Type: SysModule Enumeration
The module that is used to determine the correct posting option to retrieve.
Return Value
Type: CustVendSettleCompanyPostOption Enumeration
The CustVendSettleCompanyPostOption enumeration value for the cash discount posting.
Remarks
Returns the CustCashDiscPostOption field if the module is a customer module; otherwise, returns the VendCashDiscPostOption field.