Data Structure
This table specifies the data structure of the Generate Reference Number Finland business function:
Name |
Description |
Req/Opt (Required/Optional) |
I/O/Both |
---|---|---|---|
szCompany |
Company |
Opt (optional) |
Input |
mnAddressNumber |
Customer number |
Opt |
Input |
MnDocVoucherInvoiceE |
Invoice number |
Opt |
Input |
xzReferenseNumber |
Reference number |
Req (required) |
Output |
mnLengthCompanyNumber |
Length of company number (1–3 characters) |
Opt |
Input |
mnLengthAddressNumber |
Length of customer number (1–8 characters) |
Opt |
Input |
mnLengthInvoiceNumber |
Length of invoice number (1–8 characters) |
Opt |
Input |
szErrorMessage |
Error text |
Req |
Output |
DocumentPosInRefNumber |
Position of company number in the reference number |
Opt |
Input |
AddressPosInRefNumber |
Position of customer number in the reference number |
Opt |
Input |
InvoicePosInRefNumber |
Position of the invoice number in the reference number |
Opt |
Input |
-
Company
Customer number
-
Invoice number