Legislation (selection filter)
Use this parameter to link a legislation code to this user.
Legislation filter principle
Some data (for example, parameters) are linked to a legislation code. Use this code, if not blank, so the data are only used on the documents of companies that match the legislation code.
This parameter is defined at user level. Use it to link a legislation code to this user and automatically filter data based on this legislation code. Only those records with a Legislation field that is empty or that matches this legislation are then displayed. This filter is automatically applied solely in the selection panel and in the selection lists on the fields. If the user enters the key of a record associated with another legislation code, they can still access this record.
If there is no legislation code linked to this user, no filter is applied to the legislation. All the records are listed in the selection panel and in the various selection lists.
Operating principle of an import template
- If the parameter is not entered, the Legislation field is not populated: the imported record is a multi-legislation record.
- If the parameter is entered, the legislation code entered for this parameter populates the Legislation field. The record will be associated with this legislation.
The relevant import templates are:
- TPT - Payment terms
- TPV - Supplier invoice types
- TRE - Sales return types
- TSC - Statistical rule
- TSD - Delivery types
- TSO - Sales order types
- TSV - Customer invoice types
- TVB - BP tax rule
- TVI - Tax level
Level of localization/Global variable
This parameter is defined at the level User. It belongs to Chapter SUP (Supervisor) and the Group INT (User interface), The following parameters are also associated with this chapter and group :
- AUTOSEL (Automatic selection)
- CALNBRDEC (Calculate number of decimals)
- CONFABD (Confirm abandon)
- CONFDUP (Confirm copy)
- CTLTEL (Telephone number control)
- CTY (Nonexistent city alert)
- HISTCALC (Calculator history)
- MAPDSP (URL)
- NBRREQ (Number of query lines)
- NBRREQBLK (Bulk mode number of lines)
- PARTRABTC (Parameters in batch trace)
- POSCOD (Nonexistent postal code alert)
- POSCODCPY (Multi-country post codes)
- SOCDEF (Default company)
- STYLE (Presentation style)
Its values are defined by the function Data.
The global variable GLEGFIL is associated with it.
Functions impacted
The following functions are associated with this parameter :
Declarations > Intrastat > Others > Setup > Movement rules and natures
Common data > BP tables > Early discounts/Late charges
Declarations > Intrastat > Others > Setup > Transaction nature
Common data > BP tables > Payment terms
Setup > General parameters > Invoice types > Supplier
Setup > Sales > Document types > Return types
Declarations > Intrastat > Others > Setup > Statistical rule
Setup > Sales > Document types > Delivery types
Setup > Sales > Document types > Order types
Setup > General parameters > Invoice types > Customer
Common data > Common tables > Taxes > Tax determination
Common data > Common tables > Taxes > Tax rates