Delivery Notes

Note Type:

0 — Receipt note (r/n)
1 — Return from customer (rfc)
4 — Delivery note (d/n)
5 — Return to supplier (rts)
8 — Collation statement (c/s)
10 — Processing note (p/n)
11 — Internal transfer (i/t)
12 — Complectation (c)
13 — Decomplectation (d/c)

Note Types Mask

To determine which types of invoices were selected in the filter, the method shown below is used. In this example, we write all the selected types to the FDocTypestring variable; <ExpFifoFilter. "GDoc_TypeMask"> is a field containing a note types mask:
if (<ExpFifoFilter."GDoc_TypeMask"> and 1) = 1 then FDocType := FDocType + 'r/n';
if (<ExpFifoFilter."GDoc_TypeMask"> and 2) = 2 then FDocType := FDocType + IIF(FDocType='','rfc',', rfc');
if (<ExpFifoFilter."GDoc_TypeMask"> and 16) = 16 then FDocType := FDocType + IIF(FDocType='','d/n',', d/n');
if (<ExpFifoFilter."GDoc_TypeMask"> and 32) = 32 then FDocType := FDocType + IIF(FDocType='','rts',', rts');
if (<ExpFifoFilter."GDoc_TypeMask"> and 256) = 256 then FDocType := FDocType + IIF(FDocType='','c/s',', c/s');
if (<ExpFifoFilter."GDoc_TypeMask"> and 1024) = 1024 then FDocType := FDocType + IIF(FDocType='','p/n',', p/n');
if (<ExpFifoFilter."GDoc_TypeMask"> and 2048) = 2048 then FDocType := FDocType + IIF(FDocType='','i/t',', i/t');
if (<ExpFifoFilter."GDoc_TypeMask"> and 4096) = 4096 then FDocType := FDocType + IIF(FDocType='','c',', c');
if (<ExpFifoFilter."GDoc_TypeMask"> and 8192) = 8192 then FDocType := FDocType + IIF(FDocType='','d/c',', d/c');

Request Type

0 — Internal (the internal request can be a child)
1 — External
2 — Return

Payment Document Type

0 — Payment receipt document (rpd)
1 — Payment expenditure document (dpd)

Agreement Type

0 — With the supplier (supp)
1 — With the customer (cust)

Order Type

0 — Purchase

Payment Day of Week and Planned Period Date Day of Week

1 — Monday
2 — Tuesday
3 — Wednesday
4 — Thursday
5 — Friday
6 — Saturday
0 — Sunday

Goods Properties (by OR)

1 — calculate food energy
2 — use the scales for inventory
4 — alcoholic beverages
8 — certified goods
16 — do not start the movement to create an alcohol declaration
32 — start the movement to create an alcohol declaration
64 — a set is required

Correspondents

Correspondent — Type 1

0 — sales
1 — losses
2 — internal counterparty
3 — external counterparty

Correspondent — Alc. Declaration (Subtype)

0 — undefined
1 — alcohol producer
2 — alcohol importer
3 — alcohol supplier

Correspondent — Type 2

0 — legal entity
1 — individual
2 — special correspondent

Plan Header — Calculate "Order"

0 — up to zero
1 — up to min. stock
2 — up to max. stock

Filters

Combine Data filter

0 — do not group
1 — by departments
2 — by legal entities
3 — by enterprises

Group Filter (Grouping 1)

0 — do not group
1 — by goods groups
2 — by categories
3 — by acc. categories
4 — by types of alc. products

Group Filter (Grouping 2)

0 — do not group
1 — by sale locations

Balance Amount Filter

0 — any
1 — > 0
2 — = 0
3 — < of min. margin
4 — >= min. margin
5 — <= max. margin
6 — > of max. margin
7 — acc. margin rules
8 — not acc. margin rules

Object Type Filter

0 — created, modified, deleted
1 — created for the period
2 — deleted for the period



  • No labels