Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Generate PNM accounting file

Schedule fields

NamePossible value or definition (if apply)Default valueMandatory
01/01/2023 00:00-No
30/06/2023 00:00-No
Line types

Sales, VAT, Payments, Analytic, Sales Compensation, Payments Compensation

Sales, VAT and PaymentsYes
Email recipient(s)name@secutix.com-No
OrderingFields by which to order accounting lines in file created, separated by ,
No
Amount formatting

0.00

0,00

0.00Yes

.

,

.Yes
Computed fieldsFormulas to calculate values for each file column pasted one after another. Max capacity of the box 4.000 characters (Following custom parameter box format). See details below. (Default CSV formula or PNM formula, specified below)-No

Yes
Only order idsGenerate a file with only the specified orders-No
The file will be created with the especific header

Yes

, only

Only for PNM

With headersThe file will be created with headersMarked

Yes

, only

Only for CSV

EncodingUTF-8UTF-8

No

, only

Only for CSV

End of lineUnix / WindowsUnix

No

, only

Only for CSV

Field separatorSeparator of the values, example: ' ' space, '     ' tabulationtabulation

No

, only

Only for CSV

File to uploadIgnore


How to write Formulas for "Computed fields"

NameSyntax

Explanation

Constant"Constant text"

returns any text contained within " "

**to include brackets () as part of constant text, each bracket must be preceeded by preceded by - , e.g. " -(part á "&FORMAT(_vat_rate;0.00)&"% -)"

**& symbol should be avoided as literal text wherever possible

Variable_field_valuereturns value of field_value 
MandatoryMANDATORY(_field_value) field_value is mandatory and if no value given in raw data, file is not created and error is logged
FormatFORMAT(field;format)

value of field will be formatted according to format

Available Formats (for FORMAT() formula)

0.00

az09 → abcdefghijklmnopqrstuvwxyz1234567890 

dd.mm.yyyy

ddmmyyyy

mm.aaaa

IfIF(logical_test;value_if_true;else) if logical_test returns true, value_if_true will be returned (and analysed if it is a formula), otherwise else will be returned (and analysed if it is a formula)
If errorIFERROR(value;value_if_error)returns value if possible, and if not, value_if_error
OrOR(value_1;value_2;…;value_n);true_value;false_valueif any of the conditions (value_1value_2, etc.) return true, returns true_value; if all of the conditions return false, returns false_value 
Concatenatevalue_1&value_2&value_nconcatenates value_1 with value_2, etc
Equalvalue_a=value_breturns true if value_a is equal to value_b, else returns false

...