Table of Contents

Table Cash_Payment_Orders

Entity

Entity: Finance.Payments.PaymentOrders

Each payment order contains a receivable or payable amount. Entity: Cash_Payment_Orders

Owner Tables Hierarchy

Summary

Name Type Description
Allow_Close_Not_Paid bit 1 to allow closing of payment orders, that are not fully paid
Bill_To nvarchar(1) Allowed: C, L If filled indicates which party is billed for the total amount. Possible values: 'C' = Company (means the Party_Id), 'L' = Company location (the Location_Party_Id), NULL = unidentified
Direction nvarchar(1) Allowed: I, R I for Payment issue, R for payment receipt
Document_Id uniqueidentifier The document data of the payment order itself
Due_Date datetime The due date of the payment. NULL means there is no due date
Due_Start_Date date The date at which the payment becomes executable. NULL means the payment is executable at all times.
Fiscal_Printer_Pos_Device_Id uniqueidentifier When not NULL, contains suggested fiscal printer for printing fiscal notes upon payment.
Installment_Number int Consequtive installment number. Used for identifying the payment when using payment plans. NULL means that the payment is not part of a payment plan
Invoice_Amount decimal(18, 2) The invoice amount that is specified in this payment order. (the invoice amount converted to the Total_Amount_Currency_Id must be equal to the Total_Amount)
Invoice_Amount_Currency_Id uniqueidentifier The currency of Invoice Amount
Is_Amount_With_VAT bit Is_Amount_With_VAT=1 if the requested amount includes VAT
Is_Released bit Readonly True if the document is not void and its state is released or greater. Deprecated
Is_Single_Execution bit Readonly Specifies whether the document is a single execution of its order document.
Location_Party_Id uniqueidentifier Location or sub-party of the Party_Id in the order
Notes nvarchar(254)
Party_Id uniqueidentifier The party which is to pay or receive the amount
Payment_Account_Id uniqueidentifier When not NULL, specifies the payment account that is expected or will be used by the payment transaction
Payment_Order_Id uniqueidentifier PK
Payment_Type_Id uniqueidentifier Expected payment type. Null when there is no expectation. Can also specify default payment account.
Ref_Document_Date datetime The date of the original document. NULL means that it is unknown
Ref_Document_Id uniqueidentifier The document which has created the payment order and is the basis for the payment. If this column is filled then Ref_Document_Type_Id, Ref_Document_No and Ref_Document_Date must be equal to the type, number and date of the specified document.
Ref_Document_No nvarchar(20) The number of the document which has created the payment order and is the basis for the payment
Ref_Document_Type_Id uniqueidentifier The type of the document which has created the payment order and is the basis for the payment
Ref_Invoice_Apply_Date datetime The apply date of the related invoice. Not specified when the payment order isn't related to any invoice or the apply date is unknown.
Ref_Invoice_Document_Date datetime The date of the related invoice. NULL means that the payment order isn't related to any invoice or the date is unknown.
Ref_Invoice_Document_Id uniqueidentifier The invoice document which has created or is related to the payment order and is the basis for the payment. NULL means that the payment order isn't created or related to any invoice or the invoice isn't present in the database. If this column is filled then Ref_Invoice_Document_Type_Id, Ref_Invoice_Document_No and Ref_Invoice_Document_Date must be equal to the type, number and date of the specified invoice document.
Ref_Invoice_Document_No nvarchar(20) The number of the invoice which has created or is related to the payment order and is the basis for the payment. NULL means that the payment order isn't created or related to any invoice.
Ref_Invoice_Document_Type_Id uniqueidentifier The document type of the invoice which has created or is related to the payment order and is the basis for the payment. NULL means that the payment order isn't created or related to any invoice.
Row_Version timestamp
Total_Amount decimal(18, 2) Total amount that should be payed
Total_Amount_Currency_Id uniqueidentifier The currency of Total Amount.

Columns

Allow_Close_Not_Paid

1 to allow closing of payment orders, that are not fully paid

Property Value
Auto Complete no
Data Filter no
Default Value False
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type bit
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Allow_Close_Not_Paid - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Bill_To

If filled indicates which party is billed for the total amount. Possible values: 'C' = Company (means the Party_Id), 'L' = Company location (the Location_Party_Id), NULL = unidentified

Property Value
Allowed Values C, L
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(1) (Allows NULL)
UI Memo Editor no
UI Width Short
User Login no
Visible no

Bill_To - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Direction

I for Payment issue, R for payment receipt

Property Value
Allowed Values I, R
Auto Complete no
Data Filter no
Default Value I
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 1
Order 10
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(1)
UI Memo Editor no
UI Width Short
User Login no
Visible yes

Direction - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Document_Id

The document data of the payment order itself

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference yes
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Documents
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Document_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Due_Date

The due date of the payment. NULL means there is no due date

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 9
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type datetime (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Due_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes yes
GreaterThanOrLessThan None yes no

Due_Start_Date

The date at which the payment becomes executable. NULL means the payment is executable at all times.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable yes
Summary Type None
Supports EQUALS_IN no
Type date (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Due_Start_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes yes
GreaterThanOrLessThan None no no

Fiscal_Printer_Pos_Device_Id

When not NULL, contains suggested fiscal printer for printing fiscal notes upon payment.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Pos_Devices
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Fiscal_Printer_Pos_Device_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Installment_Number

Consequtive installment number. Used for identifying the payment when using payment plans. NULL means that the payment is not part of a payment plan

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type int (Allows NULL)
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Installment_Number - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes yes

Invoice_Amount

The invoice amount that is specified in this payment order. (the invoice amount converted to the Total_Amount_Currency_Id must be equal to the Total_Amount)

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 13
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type decimal(18, 2) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Invoice_Amount_Currency_Id

The currency of Invoice Amount

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 14
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Currencies
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Short
User Login no
Visible no

Invoice_Amount_Currency_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes yes

Is_Amount_With_VAT

Is_Amount_With_VAT=1 if the requested amount includes VAT

Property Value
Auto Complete no
Data Filter no
Default Value True
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type bit
UI Memo Editor no
UI Width Short
User Login no
Visible yes

Is_Amount_With_VAT - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Is_Released

True if the document is not void and its state is released or greater. Deprecated

Property Value
Auto Complete no
Data Filter no
Default Value False
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly yes
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type bit
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Is_Released - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Is_Single_Execution

Specifies whether the document is a single execution of its order document.

Property Value
Auto Complete no
Data Filter no
Default Value False
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly yes
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type bit
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Is_Single_Execution - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Location_Party_Id

Location or sub-party of the Party_Id in the order

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Parties
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Location_Party_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Notes

Property Value
Attributes IsLongString
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 254
Order 15
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(254) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Party_Id

The party which is to pay or receive the amount

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 8
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Parties
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Party_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Payment_Account_Id

When not NULL, specifies the payment account that is expected or will be used by the payment transaction

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Cash_Payment_Accounts
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Payment_Account_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes yes

Payment_Order_Id

Property Value
Auto Complete no
Data Filter no
Default Value NewGuid
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key yes (order: 1)
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Payment_Order_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Payment_Type_Id

Expected payment type. Null when there is no expectation. Can also specify default payment account.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Cash_Payment_Types
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Payment_Type_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Ref_Document_Date

The date of the original document. NULL means that it is unknown

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 3
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type datetime (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Ref_Document_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes yes
GreaterThanOrLessThan None no no

Ref_Document_Id

The document which has created the payment order and is the basis for the payment. If this column is filled then Ref_Document_Type_Id, Ref_Document_No and Ref_Document_Date must be equal to the type, number and date of the specified document.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 0
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Documents
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Long
User Login no
Visible yes

Ref_Document_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Ref_Document_No

The number of the document which has created the payment order and is the basis for the payment

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Format 0
Ignore for Insert Order no
Is Entity Name no
Max Length 20
Order 2
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(20)
UI Memo Editor no
UI Width Short
User Login no
Visible yes

Ref_Document_No - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Ref_Document_Type_Id

The type of the document which has created the payment order and is the basis for the payment

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 1
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Document_Types
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Long
User Login no
Visible yes

Ref_Document_Type_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Ref_Invoice_Apply_Date

The apply date of the related invoice. Not specified when the payment order isn't related to any invoice or the apply date is unknown.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type datetime (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Ref_Invoice_Apply_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no
GreaterThanOrLessThan None yes no

Ref_Invoice_Document_Date

The date of the related invoice. NULL means that the payment order isn't related to any invoice or the date is unknown.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 7
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type datetime (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Ref_Invoice_Document_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes yes
GreaterThanOrLessThan None yes yes

Ref_Invoice_Document_Id

The invoice document which has created or is related to the payment order and is the basis for the payment. NULL means that the payment order isn't created or related to any invoice or the invoice isn't present in the database. If this column is filled then Ref_Invoice_Document_Type_Id, Ref_Invoice_Document_No and Ref_Invoice_Document_Date must be equal to the type, number and date of the specified invoice document.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 4
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Documents
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Long
User Login no
Visible no

Ref_Invoice_Document_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Ref_Invoice_Document_No

The number of the invoice which has created or is related to the payment order and is the basis for the payment. NULL means that the payment order isn't created or related to any invoice.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Format 0
Ignore for Insert Order no
Is Entity Name no
Max Length 20
Order 6
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(20) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Ref_Invoice_Document_No - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Ref_Invoice_Document_Type_Id

The document type of the invoice which has created or is related to the payment order and is the basis for the payment. NULL means that the payment order isn't created or related to any invoice.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 5
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Document_Types
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Ref_Invoice_Document_Type_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Row_Version

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type timestamp
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Total_Amount

Total amount that should be payed

Property Value
Auto Complete no
Data Filter no
Default Value 0
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 11
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type decimal(18, 2)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Total_Amount - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes
GreaterThanOrLessThan None yes no

Total_Amount_Currency_Id

The currency of Total Amount.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 12
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Currencies
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Short
User Login no
Visible yes

Total_Amount_Currency_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes