CreatePaymentTerminalPayment Procedure

  • 2 minutes to read

Codeunit CFL Payment Terminal Mgt

Create a Payment for a given record

Overloads

Name Description
CreatePaymentTerminalPayment(integer; guid; code[20]; decimal; code[20]; code[20]): record "CFL Terminal Payment" Create a Payment for a given record
CreatePaymentTerminalPayment(integer; guid; code[20]; decimal; code[20]; enum "Gen. Journal Account Type"; code[20]; list of [enum "Gen. Journal Document Type"]; list of [code[20]]; list of [Decimal]): record "CFL Terminal Payment" Create a Payment for a given record
CreatePaymentTerminalPayment(integer; guid; code[20]; decimal; code[20]; integer): record "CFL Terminal Payment" Create a Payment for a given record

CreatePaymentTerminalPayment(integer; guid; code[20]; decimal; code[20]; code[20]) Procedure

Create a Payment for a given record

Signature

CreatePaymentTerminalPayment(TableNo: integer; SystemID: guid; DocumentNo: code[20]; AmountLV: decimal; Terminal: code[20]; CustomerNo: code[20]) CFLTerminalPayment: record "CFL Terminal Payment"

Parameters

TableNo integer

The table number

SystemID guid

The system ID of the record

DocumentNo code[20]

The document number

AmountLV decimal

The amount to pay

Terminal code[20]

The payment terminal code

CustomerNo code[20]

The customer number

Returns

record "CFL Terminal Payment"

CreatePaymentTerminalPayment(integer; guid; code[20]; decimal; code[20]; enum "Gen. Journal Account Type"; code[20]; list of [enum "Gen. Journal Document Type"]; list of [code[20]]; list of [Decimal]) Procedure

Create a Payment for a given record

Signature

CreatePaymentTerminalPayment(TableNo: integer; SystemID: guid; DocumentNo: code[20]; AmountLV: decimal; Terminal: code[20]; AccountType: enum "Gen. Journal Account Type"; AccountNo: code[20]; AppliesToTypes: list of [enum "Gen. Journal Document Type"]; AppliesToDocNos: list of [code[20]]; AmountsToApply: list of [Decimal]) CFLTerminalPayment: record "CFL Terminal Payment"

Parameters

TableNo integer

The table number

SystemID guid

The system ID of the record

DocumentNo code[20]

The document number

AmountLV decimal

The amount to pay

Terminal code[20]

The payment terminal code

AccountType enum "Gen. Journal Account Type"

AccountNo code[20]

AppliesToTypes list of [enum "Gen. Journal Document Type"]

The document types to apply the payment to

AppliesToDocNos list of [code[20]]

The document numbers to apply the payment to

AmountsToApply list of [Decimal]

The amounts to apply to the documents

Returns

record "CFL Terminal Payment"

Returns the created Terminal Payment record

CreatePaymentTerminalPayment(integer; guid; code[20]; decimal; code[20]; integer) Procedure

Create a Payment for a given record

Signature

CreatePaymentTerminalPayment(TableNo: integer; SystemID: guid; DocumentNo: code[20]; AmountLV: decimal; Terminal: code[20]; AppliesToCLE: integer) CFLTerminalPayment: record "CFL Terminal Payment"

Parameters

TableNo integer

The table number

SystemID guid

The system ID of the record

DocumentNo code[20]

The document number

AmountLV decimal

The amount to pay

Terminal code[20]

The payment terminal code

AppliesToCLE integer

The customer ledger entry to apply the payment to

Returns

record "CFL Terminal Payment"