Skip to main content
The Order Document Definition includes the following preconfigured fields.

Order fields

FieldDescription
OrderNumberThe number of the purchase order.
OrderDateThe date when the purchase order was created.
BU (group of fields): BUId, Street, City, Country, VATID, Name, State, IBAN, BankCode, BankAccount, Address, PostalCodeThe company that sells the goods (i.e. the recipient of the purchase order).

You can use a database of business units. To do this, associate your database of business units with the data set named “BusinessUnits”.

When no database is used, only the Name and Address fields are captured.
Issuer (group of fields): IssuerId, Name, Street, PostalCode, City, Address, IBAN, BankCode, BankAccount, VATID, Country, StateThe entity or individual that ordered the goods (i.e. the creator of the purchase order).

You can use a database of buyers. To do this, associate your database of buyers with the data set named “Variants”.

When no database is used, only the Name and Address fields are captured.
ShipTo (group of fields): Name, AddressThe delivery address.
BillTo (group of fields): Name, AddressThe address to which to send an invoice.
LineItemsA repeating group of line items. For its fields, see LineItems fields.
TotalThe total amount payable for the entire purchase order. Unlike invoices, this field is not required on purchase orders.
CurrencyThe currency of the total amount. If no total amount is indicated on a purchase order, the Currency field remains empty.
DeliveryDateThe date when the goods should be delivered.
AdditionalCostAdditional amounts charged besides the order amount.
Amounts (group of fields): TotalTaxAmount, TotalNetAmount, NetAmount, TaxAmount, TaxRate, Additional Tax GroupsThis group of fields is used for detecting taxes. By default, these fields are disabled in the Order Document Definition. To enable them, see Enable the tax fields.
If only one delivery date is stated on a purchase order, this date is extracted into the DeliveryDate field. If a delivery date is indicated for each line item, these dates are extracted as columns in the LineItems table.

LineItems fields

The LineItems repeating field group contains the following fields.
FieldDescription
PositionThe number of a line item.
ArticleNumberThe article number in the buyer’s database.
ArticleNumberBUThe article number in the business unit’s database.
DescriptionA description of the goods.
QuantityThe quantity of the ordered goods.
UnitOfMeasurementThe unit used for counting, weighing, etc. the goods.
UnitPriceThe price charged for a unit of goods.
UnitPriceDenominationThe number or amount of goods in each unit. If the goods are priced per package or per crate, for example, the unit price denominator indicates the weight of the package, the number of bottles in the crate, etc.
DiscountPercentageThe applicable discount (stated as a percentage).
DiscountValueThe applicable discount (stated as an amount in the currency of the purchase order).
TotalPriceNettoTotal amount payable without tax.
TotalPriceBruttoTotal amount payable with tax.
CurrencyThe currency used in the line items.
DeliveryDateThe date when the goods should be delivered.

Enable the tax fields

The Amounts fields are used for detecting taxes and are disabled by default. To enable them, turn on the Taxes option:
1

Open Document Definition Properties

In the Document Definition Editor, click Document Definition → Document Definition Properties….
2

Open Additional Fields and Features

In the dialog box that opens, click the Document Definition Settings tab and then click the Edit… button in the Additional Fields and Features group.

Add custom fields

You can also add your own custom fields to the Order Document Definition. Before the program can capture data from a custom field, you must train the program to capture this field or create a separate FlexiLayout for this field. For more information, see Custom fields.