Configurator Selections
This function is used to generate a product selection window with the possibility:
To select, enter the quantities, calculate the costs ...
To activate or de-activate the previously created filters.
The product selection windows can be used in autonomous mode from the entry of the quotes and orders, inserted in a script, but also used directly from the FUNCFGS function within product inquiries.
Prerequisite
Refer to documentation Implementation
Screen management
A single tab - "Parameters" is used in the setup of a configurator selection.
Header
Product selection field: Name of the selection using 5 characters plus a title of up to 30 characters.
Autonomous mode: If yes, the selection window can be used from the sales module (quote, order); If no, its use is linked to one or more scripts.
Product line: This is used to display the configurator fields with their specific titles.
field SELNUM |
|
field SELAXX |
Stand-alone mode (field SELMOD) |
Tick if the selection has to be executed in autonomous mode (without script) and, in that case, the function will generate a responses entry window. |
Product line (field CFGLIN) |
A product line is used to:
|
field CFGLINAXX |
Active (field ENAFLG) |
Use this field to activate or deactivate a transaction. |
Tab Parameter Definitions
Classification: Classification of the products to be displayed by:
Product number
Product description
Search key
Product line
Document number
Number of lines: Maximum number of lines displayed in the selection windows.
Initial procedure: Necessary when operating in the autonomous mode, the procedure groups together the questions and variable calculations linked to the selection window.
Selection code: This field indicates whether it is possible to exit the selection window with the data and in what manner. When used in a script it is possible to modify this setup.
Quantity column: This field is used to make a quantity column appear in either sales or stock units.
Price column: This field is used to make a price column appear in the display. The origin of the displayed price is determined among the following choices:
No calculation
Formula (the formula field must contain the price calculation formula)
Base price
Standard price
Revised standard price
Last price
Budget
Cost formula: Enter, select or create with the formula editor, a price calculation expression in ADONIX format. A warning message is displayed if reference is made to tables not generally used by the configurator or to unknown variables.
Principal filter: This field is used to define an expression that will filter the first extraction from the product table. This filter, which can be defined with the help of a calculation formula, must be coherent with the classification previously chosen in order to avoid prolonged processing times.
Window grid
This grid is used to define the columns that should appear in the final selection screen.
Table: This field is used to choose the fields to be viewed from the following tables:
Product master
Product stock totals
Product site
Product-sales
Secondary filter grid
It is possible to define up to 12 secondary filters for a selection. These filters can be de-activated during the use of the selection in order to increase the selectable products field in them.
If no more than 4 secondary filters are set up, it will be possible during the selection to modify the "and/or" links defined by the setup between these filters. Where 5 or more secondary filters this possibility is no longer active.
Title: This field is used to enter a text with a maximum of 30 characters. If instead of the text the question name prefixed with "S_" is entered, the text displayed will be the question title + the response when displaying.
And/Or: This field is used to express a logic link with the previous field (except for the first secondary filter)
Active: This field indicates if the defined filters must be active from the 1st display.
Formula: This field is used to enter an expression for each secondary filter. This expression can be defined with the help of the formula editor.
Finally, during the selection window execution, a fifth filter is proposed to the user, in which a calculation formula can be directly entered in order to improve the filter on the product population that is proposed. The formula editor is accessible from this field.
Image display
It is possible to display an image corresponding to the selected products displayed . A field from the product record must be reserved to contain the image name (configurator field or another). The name of the field is given by the general setup CFGPICFLD. See also the help on the Image field in the symbol setup.
Block number 1
Classification (field SELKEY) |
Select the classification (the most appropriate). |
Number of lines (field SELLINNBR) |
Enter the maximum number of lines that the selected products grid has to contain. |
Selection code (field SELMUL) |
Once the window is displayed, the user can select lines. |
Initial procedure (field MACNUM) |
Enter the procedure number. |
Column quantity (field SELQTY) |
Select if a quantity column needs to be added to the selection grid. |
Quantity formula (field QTYFOR) |
Price column (field SELPRI) |
Select if a "price" column needs to be added to the selection grid. |
Cost formula (field PRIFOR) |
Enter, select or create with the formula editor, a price calculation expression in ADONIX format. |
Main filter (field SELFIL) |
Enter, select or create with the formula editor an expression of the main filter in Adonix format. |
Grid Window
Table (field SELTBL) |
Select the table of the field to display in the selction grid. |
Description (field SELTBLTXT) |
Fields (field SELFLD) |
Enter or select the field of the grid to display in the selection grid. |
Description (field SELFLDTXT) |
Grid Secondary filters
Filter title (field SELINT) |
Enter the title of the secondary filter. |
And / or (field SELBOO) |
Select the logical operation between the current and the previous filters: |
Active (field SELSTR) |
Tick if the secondary filter has to be active when first calling the selection. |
Filter formula (field SELFOR) |
Enter, select, or use the formula editor to create a filter expression in the Sage X3 language. An error message is displayed if you refer to tables which are not generally used by the configurator, or to unknown variables. |
Reports
By default, the following reports are associated with this function :
PRTSCR : Screen print
This can be changed using a different setup.
Menu Bar
Symbol |
Used to access the configurator symbols. |
Calculation Table |
This is used to access the configurator calculation tables. |
Validation |
Used to confirm the selection. |
Window |
This is used to view the created selection window after validation, as well as any window displaying the questions prior to the execution of the selection. |
Copy |
This is used to copy the calculator to another folder. When a copy is made to another folder the selection is copied along with the symbols, calculation tables, procedures, shapes and patterns and the product lines if these are not present in the destination folder. Similarly, a control is carried out beforehand on the product lines, symbols and calculation tables. If these items do not have the same characteristics in both folders, the copy is not carried out. The anomalies can be identified in the log file displayed during the copy. The product lines, selections, shapes/patterns and symbols created in destination folder will be validated. |
Error messages
In addition to the generic error messages, the following messages can appear during the entry :
Several questions are assigned to a single line in the same section!This message appears during script validation if several questions are assigned to a single line in the same section.
Deletion of the selection prohibited because present in a script!The message appears if the procedure is used in a script.
The modification of this process leads to the revalidation of the scripts that use it!This message appears after the modification of a selection present in a script.
Enter the sequence numbers in ascending order!The sequence numbers can only be entered in ascending order.