Share via


MCRCustPaymTable::validatePaymMode Method

Validates the specified method of payment for use on a customer payment.

The method of payment must: * exist * be configured as 'active' for use for customer payments * have an associated payment type

Syntax

client server public static boolean validatePaymMode(
    RetailTenderTypeId _retailTenderTypeId, 
   [boolean _allowBlank, 
    boolean _showErrors, 
    AccountNum _custAccount])

Run On

Called

Parameters

  • _allowBlank
    Type: boolean
    Boolean that determines whether or not to allow blanks; optional.
  • _showErrors
    Type: boolean
    Boolean that determines whether or not to show errors; optional.

Return Value

Type: boolean
true if the record is valid and ready to be written to the database; otherwise false.

See Also

Reference

MCRCustPaymTable Table