CustDirectDebitMandate::defaultAndDisplayMandate Method
Defaults the primary mandate for the customer and sets the mandate field's editing options.
Syntax
client server public static CustDirectDebitMandateRecId defaultAndDisplayMandate(
CustAccount _custAccount,
PaymMode _paymMode,
CustDirectDebitMandateRecId _existingMandateRecId,
boolean _overwriteExistingMandate,
FormDataSource _formDataSource,
FieldId _fieldNum)
Run On
Called
Parameters
- _custAccount
Type: CustAccount Extended Data Type
The customer account number.
- _paymMode
Type: PaymMode Extended Data Type
The method of payment on the transaction.
- _existingMandateRecId
Type: CustDirectDebitMandateRecId Extended Data Type
The existing mandate on the transaction.
- _overwriteExistingMandate
Type: boolean
true if the default mandate should overwrite the existing mandate; otherwise false.
- _formDataSource
Type: FormDataSource Class
The form datasource where the mandate is provided.
- _fieldNum
Type: FieldId Extended Data Type
The field number of the mandate in the form datasource.
Return Value
Type: CustDirectDebitMandateRecId Extended Data Type
The primary mandate for the customer when dealing with a SEPA transaction; otherwise the existing mandate value.
Remarks
If defaulting logic is not required, callers should ignore the return value.