Share via


VendOutPaymRecord_PaymTransfer_Local_LT.getPaymentPriorityCode Method [AX 2012]

Converts a PaymentPriority_LT enum value to the corresponding integer value.

Syntax

public int getPaymentPriorityCode(PaymentPriority_LT _paymentPriority)

Run On

Server

Parameters

Return Value

Type: int
1 if the passed value is PaymentPriority_LT::Standard; 2 if the value is PaymentPriority_LT::Urgent; otherwise, an exception is thrown.

Exceptions

Exception Condition
Error

The enum value is not PaymentPriority_LT::Standard or PaymentPriority_LT::Urgent.

See Also

Reference

VendOutPaymRecord_PaymTransfer_Local_LT Class