In this field you define how the CID codes are to be built up for factoring.
When this field is filled in Visma Business's CID code is filled with leading zeros. The company number comes first in the CID code. This definition is used by the @CID macro in order documents when Factoring is checked in the order document dialog box.
You can also add this value to the field in the Factoringföretag table so that the rules can be different for each company.
Looking up in the field leads to a dialog box with a selection of the macro functions which apply to order documents (see the system specification for logistics) and the macro function @Modulus ().
Field length
In the same way as with the macro functions in the Formulärelement table, you can, before the right bracket, include a vertical line (|) followed by an integer which indicates the number of characters the field is to have.
This applies regardless of whether the macro function returns numbers or text.
@Modulus ()
This macro function returns a modulus 10 check digit, or a modulus 11 check digit if 11 is entered as the parameter for the function. The check digit is calculated from that which comes earlier in the field.
Egenskap | Värde | Beskrivning |
---|---|---|
Visas som standard | Ja | Det här fältet visas som standard i tabellvyn. |
Domän | Factoring OCR-def. | Text (128) |
SQL-namn | FactCID | Databasfältets namn. |
Nummer | 7548 |