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)
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='','д/к',', д/к');
0 - Internal (the internal request can be a child)
1 - External
2 - Return
0 - Receipt payment document (rpd)
1 - Delivery payment document (dpd)
0 - With the supplier (supp)
1 - With the buyer (buyer)
0 - Purchase
1 - Monday
2 - Tuesday
3 - Wednesday
4 - Thursday
5 - Friday
6 - Saturday
0 - Sunday
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
0 - sales
1 - losses
2 - internal counterparty
3 - external counterparty
0 - undefined
1 - alcohol producer
2 - alcohol importer
3 - alcohol supplier
0 - legal entity
1 - individual
2 - special correspondent
0 - up to zero
1 - up to min. stock
2 - up to max. stock
0 - do not group
1 - by departments
2 - by legal entities
3 - by enterprises
0 - do not group
1 - by goods groups
2 - by categories
3 - by acc. categories
4 - by types of alc. Production
0 - do not group
1 - by sale locations
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
0 - created, modified, deleted
1 - created for the period
2 - deleted for the period