Table of Contents

Table Scm_Purchase_Invoice_Lines

Entity

Entity: Logistics.Procurement.PurchaseInvoiceLines

Contains detail lines for purchase invoice documents. Entity: Scm_Purchase_Invoice_Lines

Owner Tables Hierarchy

Summary

Name Type Description
Delivery_Terms_Code nvarchar(3) Allowed: EXW, FCA, FAS, FOB, CFR, CIF, CPT, CIP, DAP, DAT, DDP, DPU Mode of delivery, like CIF, FOB, etc. Used also in Intrastat reporting
Intrastat_Apply_Date datetime Specifies in which period for Intrastat declaration must be included the current operation. Used only when the invoice is issued in different period than the one, that the operation must be included. If not set the document date is used.
Intrastat_Destination_Region_Id uniqueidentifier Region, which is the final destination of the goods. Used for Intrastat reporting.
Intrastat_Transaction_Nature_Code nvarchar(2) Allowed: 11, 12, 13, 14, 19, 21, 22, 23, 29, 60, 70, 80, 91, 99, 30, 41, 42, 51, 52 Transaction nature; used for Intrastat reporting
Intrastat_Transport_Country_Id uniqueidentifier Country of origin of the transport company; used for Intrastat reporting
Intrastat_Transport_Mode_Code nvarchar(1) Allowed: 1, 2, 3, 4, 5, 7, 8, 9 Transport mode; used for Intrastat reporting
Line_Amount decimal(14, 2) The total invoiced amount for this line in the document currency of the invoice.
Line_Cost_Center_Id uniqueidentifier Cost center for which the amount from this row will be accounted.
Line_Deal_Type_Id uniqueidentifier Deal type for this line. If deal type in the line is different from deal type in the header another VAT entry is created.
Line_No int Consecutive line number within the invoice.
Notes nvarchar(254)
Origin_Country_Id uniqueidentifier The country of origin of the invoiced product. Should be non-NULL only when this is different from the country of origin from the product definition.
Product_Id uniqueidentifier The invoiced product.
Product_Name nvarchar(254) ML The name of the invoiced product, initially copied from the name in the product definition. The field can be edited by the user.
Purchase_Invoice_Id uniqueidentifier
Purchase_Invoice_Line_Id uniqueidentifier PK
Quantity decimal(12, 3) The invoiced quantity.
Quantity_Base decimal(12, 3) The equivalence of Quantity in the base measurement category of the product.
Quantity_Unit_Id uniqueidentifier The measurement unit of Quantity.
Receiving_Order_Line_Id uniqueidentifier The receiving order line, which is invoiced by the current line. NULL means that this line is not directly related to receiving order line.
Row_Version timestamp
Sale_Line_Deal_Type_Id uniqueidentifier Sale deal type for this line. If sale deal type in the line is different from sale deal type in the header another Sales VAT entry is created.
Standard_Quantity_Base decimal(12, 3) Readonly The theoretical quantity in base measurement unit according to the current measurement dimensions for the product. Used to measure the execution.
Unit_Price decimal(14, 5) The unit price of the invoiced item in the document currency of the invoice.

Columns

Delivery_Terms_Code

Mode of delivery, like CIF, FOB, etc. Used also in Intrastat reporting

Property Value
Allowed Values EXW, FCA, FAS, FOB, CFR, CIF, CPT, CIP, DAP, DAT, DDP, DPU
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 3
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(3) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Intrastat_Apply_Date

Specifies in which period for Intrastat declaration must be included the current operation. Used only when the invoice is issued in different period than the one, that the operation must be included. If not set the document date is used.

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 21
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

Intrastat_Apply_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
GreaterThanOrLessThan None no no

Intrastat_Destination_Region_Id

Region, which is the final destination of the goods. Used for Intrastat reporting.

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 19
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Administrative_Regions
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

Intrastat_Destination_Region_Id - Supported Filters

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

Intrastat_Transaction_Nature_Code

Transaction nature; used for Intrastat reporting

Property Value
Allowed Values 11, 12, 13, 14, 19, 21, 22, 23, 29, 60, 70, 80, 91, 99, 30, 41, 42, 51, 52
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 2
Order 16
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(2) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Intrastat_Transport_Country_Id

Country of origin of the transport company; used for Intrastat reporting

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 18
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Countries
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

Intrastat_Transport_Country_Id - Supported Filters

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

Intrastat_Transport_Mode_Code

Transport mode; used for Intrastat reporting

Property Value
Allowed Values 1, 2, 3, 4, 5, 7, 8, 9
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 17
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 Medium
User Login no
Visible no

Line_Amount

The total invoiced amount for this line in the document currency of the invoice.

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 5
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(14, 2)
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Line_Cost_Center_Id

Cost center for which the amount from this row will be accounted.

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 10
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Acc_Cost_Centers
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

Line_Cost_Center_Id - Supported Filters

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

Line_Deal_Type_Id

Deal type for this line. If deal type in the line is different from deal type in the header another VAT entry is created.

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 9
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table VAT_Deal_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

Line_Deal_Type_Id - Supported Filters

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

Line_No

Consecutive line number within the invoice.

Property Value
Auto Complete no
Autoincrement 10
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
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type int
UI Memo Editor no
UI Width 100
User Login no
Visible yes

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 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 nvarchar(254) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Origin_Country_Id

The country of origin of the invoiced product. Should be non-NULL only when this is different from the country of origin from the product definition.

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 20
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Countries
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

Origin_Country_Id - Supported Filters

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

Product_Id

The invoiced product.

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_Products
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Product_Id - Supported Filters

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

Product_Name

The name of the invoiced product, initially copied from the name in the product definition. The field can be edited by the user.

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 254
Order 8
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) (MultiLanguage)
UI Memo Editor no
UI Width 100
User Login no
Visible no

Purchase_Invoice_Id

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 yes
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Scm_Purchase_Invoices
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Purchase_Invoice_Id - Supported Filters

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

Purchase_Invoice_Line_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 6
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

Purchase_Invoice_Line_Id - Supported Filters

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

Quantity

The invoiced quantity.

Property Value
Auto Complete no
Data Filter no
Default Value 1
Enter Stop yes
Format N3
Ignore for Insert Order no
Is Entity Name no
Max Length -1
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 decimal(12, 3)
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Quantity_Base

The equivalence of Quantity in the base measurement category of the product.

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 14
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(12, 3)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Quantity_Unit_Id

The measurement unit of Quantity.

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
Referenced Table Gen_Measurement_Units
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Quantity_Unit_Id - Supported Filters

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

Receiving_Order_Line_Id

The receiving order line, which is invoiced by the current line. NULL means that this line is not directly related to receiving order line.

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 12
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Scm_Receiving_Order_Lines
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

Receiving_Order_Line_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 22
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

Sale_Line_Deal_Type_Id

Sale deal type for this line. If sale deal type in the line is different from sale deal type in the header another Sales VAT entry is created.

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 11
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table VAT_Deal_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

Sale_Line_Deal_Type_Id - Supported Filters

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

Standard_Quantity_Base

The theoretical quantity in base measurement unit according to the current measurement dimensions for the product. Used to measure the execution.

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 23
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly yes
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type decimal(12, 3)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Unit_Price

The unit price of the invoiced item in the document currency of the invoice.

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 4
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(14, 5)
UI Memo Editor no
UI Width 100
User Login no
Visible yes