You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Delivery notes

Note type:

0 - Receipt note (r/n)
1 - Return from the recipient (rfr)
4 - Delivery note (d/n)
5 - Return to the supplier (rts)
8 - Collation statement (c/s)
10 - Processing report (p/r)
11 - Internal movement (i/m)
12 - Complectation (c)
13 - Decomplectation (d/c)

Note types mask

To determine which types of invoices were selected in the filter, the following method is used (in this example, write all the selected types to the string variable FDocType; <ExpFifoFilter. "GDoc_TypeMask"> - a field containing a mask of note types):
if (<ExpFifoFilter."GDoc_TypeMask"> and 1) = 1 then FDocType := FDocType + 'п/н';
if (<ExpFifoFilter."GDoc_TypeMask"> and 2) = 2 then FDocType := FDocType + IIF(FDocType='','взр',', взр');
if (<ExpFifoFilter."GDoc_TypeMask"> and 16) = 16 then FDocType := FDocType + IIF(FDocType='','р/н',', р/н');
if (<ExpFifoFilter."GDoc_TypeMask"> and 32) = 32 then FDocType := FDocType + IIF(FDocType='','взп',', взп');
if (<ExpFifoFilter."GDoc_TypeMask"> and 256) = 256 then FDocType := FDocType + IIF(FDocType='','с/в',', с/в');
if (<ExpFifoFilter."GDoc_TypeMask"> and 1024) = 1024 then FDocType := FDocType + IIF(FDocType='','а/п',', а/п');
if (<ExpFifoFilter."GDoc_TypeMask"> and 2048) = 2048 then FDocType := FDocType + IIF(FDocType='','в/п',', в/п');
if (<ExpFifoFilter."GDoc_TypeMask"> and 4096) = 4096 then FDocType := FDocType + IIF(FDocType='','к',', к');
if (<ExpFifoFilter."GDoc_TypeMask"> and 8192) = 8192 then FDocType := FDocType + IIF(FDocType='','д/к',', д/к');

Request type

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

Payment document type

0 - Receipt payment document (rpd)
1 - Delivery payment document (dpd)

Agreement type

0 - With the supplier (supp)
1 - With the buyer (buyer)

Order type

0 - Purchase

Planned period date payment day of the week

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

Goods properties (by OR)

1 - calculate the calorie content
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. Production


"Group" filter (grouping 2)

0 - do not group
1 - by sale locations

"Leftover amount" filter

0 - any
1 - > 0
2 - = 0
3 - < min. stock
4 - >= min. stock
5 - <= max. stock
6 - > max. stock>
7 - resp. to stock rules
8 - unresp. to stock rules

"Object type" filter

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



  • No labels