Process TRTVENCFG: Generate Configured Lines
ALIMSKSOH: Load the order lines coming from the configurator
This entry point is used, during the generation of order lines from the configurator, to take control during the loading of the fields for an order detail line.
It is thus used to load fields that are specific to the order management screens and SORDER, SORDERP, SORDERQ tables.
It is called in the order management following a call to the configurator.
Context and operating method
Transaction
There is no transaction in process.
Log file
There is no open log file.
Call context
This entry point is called in the order management, when using the configurator (Access using the "Configurator" button is carried out by right-clicking on the grid).
It is called during the generation of the order lines for the products selected or generated by the configurator.
It is called in the process loop for the lines to be generated, for each line, at the end of the loading of the [M :SOH4] screen.
Available variables and masks
The mask of object SOH (SOH0, SOH1, SOH2, SOH3, SOH4) are on the line and loaded with the order currently being processed.
The CFGWRK ([M :CFW]) mask is on line. It has been loaded by the configurator and contains the list of products to be processed. Each of these products is the object of an order line.
The order line is currently being processed. It is loaded in [M :SOH4].
[M :SOH4]NBLIG has been incremented
NLIG is loaded. It corresponds to the index for the line currently being processed in [M :SOH4].
I is loaded. It corresponds to the index for the line currently being processed in [M :CFW].
Open tables
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...). Traditionally, this is the case for the file that contains the header and not the file that contains the lines...
The open tables are the tables opened by the order object.
Table |
Significant content |
Table Title |
SORDER |
No |
Order headers |
SORDERQ |
No |
Order line quantities |
SORDERP |
No |
Order line prices |
SQUOTED |
No |
Quote - Detail |
BPARTNER |
No |
BP |
BPCUSTOMER |
No |
Customers |
BPDLVCUST |
No |
Ship-to customers |
BPCUSTMVT |
No |
Customer transactions |
ITMMASTER |
Yes |
Products |
ITMSALES |
Yes |
Products - Sales |
ITMBPC |
Yes |
Products-customer |
ITMMVT |
No |
Product - Movements |
ITMFACILIT |
Yes |
Product-site |
ITMCATEG |
No |
Product categories |
TABSOHTYP |
No |
Order types |
FACILITY |
No |
Sites |
TABCUR |
No |
Currency table |
SPRICLINK |
No |
Search sales prices (link) |
PRICSTRUCT |
No |
Price list structure |
SALESREP |
No |
Sales representatives |
TABMODELIV |
No |
Shipment method table |
TABUNIT |
No |
Unit of measure table |
BPADDRESS |
No |
Addresses |
SPRICLIST |
No |
Customer price lists |
ALIMSKSQH: Load the quote lines coming from the configurator
This entry point is used, on generating quote lines from the configurator, to take control during the loading of the fields for a quote detail line.
It is therefore used to load the fields specific to the screens for the quote management and tables SQUOTE and SQUOTED.
It is called in quote management.
Context and operating method
Transaction
There is no transaction in process.
Log file
There is no open log file.
Call context
This entry point is called in the quote management, during the use of the configurator (Access using the "Configurator" button is carried out by right-clicking on the grid).
It is called during the generation of the quote lines for the products selected or generated by the configurator.
It is called in the process loop for the lines to be generated, for each line, at the end of the loading of the [M :SOH2] screen.
Available variables and masks
The masks of object (SQH0, SQH1, SQH2, SQH3) are on the line and loaded with the quote currently being processed.
The CFGWRK ([M :CFW]) mask is on line. It has been loaded by the configurator and contains the list of products to be processed. Each of these products is the object of a quote line.
The quote line is currently being processed. It is loaded in [M :SOH2].
[M :SOH2]NBLIG has been incremented
NLIG is loaded. It corresponds to the index for the line currently being processed in [M :SOH2].
I is loaded. It corresponds to the index for the line currently being processed in [M :CFW].
Open tables
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...). Traditionally, this is the case for the file that contains the header and not the file that contains the lines...
The open tables are the tables opened by the quote object.
Table |
Significant content |
Table Title |
SQUOTE |
No |
Quote header |
SQUOTED |
No |
Quote - Detail |
BPARTNER |
No |
BP |
BPCUSTOMER |
No |
Customers |
BPDLVCUST |
No |
Ship-to customers |
BPCUSTMVT |
No |
Customer transactions |
BPADDRESS |
No |
Addresses |
ITMMASTER |
Yes |
Products |
ITMSALES |
Yes |
Products - Sales |
ITMBPC |
Yes |
Products-customer |
ITMFACILIT |
Yes |
Product-site |
BOM |
No |
BOM header |
BOMD |
No |
BOM detail |
FACILITY |
No |
Sites |
SALTRS |
No |
Transactions |
TABCUR |
No |
Currency table |
SPRICLINK |
No |
Search sales prices (link) |
PRICSTRUCT |
No |
Price list structure |
SALESREP |
No |
Sales representatives |
TABMODELIV |
No |
Shipment method table |
TABUNIT |
No |
Unit of measure table |
BEFINSLIG : Intervene before the generation of a line coming from the configurat
in the order or quote line table
It can be used to :
§ To replace the product on the current line with the product returned by the configurator instead of carrying out an insertion
§ Not process a product returned by the configurator
§ Exit the loop for the products returned by the configurator.
It is called in the order and quote management following a call to the configurator.
Context and operating method
Transaction
There is no transaction in process.
Log file
There is no open log file.
Call context
This entry point is called in the order or quote management, when using the configurator (Access using the "Configurator" button is carried out by right-clicking on the grid).
It is called during the generation of the order or quote lines for the products selected or generated by the configurator.
It is called in the process loop for the lines to be generated, for each line, just before carrying out the insertion of the line in the grid.
Available variables and masks
The masks for objects SOH (SOH0, SOH1, SOH2, SOH3, SOH4) or SQH (SQH0, SQH1, SQH2, SQH3) are on the line and they are loaded with the order or quote currently being processed.
The CFGWRK ([M :CFW]) mask is on line. It has been loaded by the configurator and contains the list of products to be processed. Each of these products is the object of an order or quote line.
The order or quote line to be processed has been controlled but it has not been inserted yet. It takes place right before the insertion of the line.
I is loaded. It corresponds to the index for the line currently being processed in [M :CFW].
GVENCFG is the variable used to identify whether in quote or order management mode.
§ GVENCFG=1 If in quote management
§ GVENCFG=2 If in order management.
GERR is the variable tested on returning from the entry point:
§ If GERR=1, then the process loop for the lines to be generated is exited
§ If GERR=2, the current product is not processed and the loop moves to the next product.
Open tables
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...). Traditionally, this is the case for the file that contains the header and not the file that contains the lines...
The open tables are the tables opened by the order object.
Table |
Quotation |
Order |
Significant content |
Table Title |
SORDER |
No |
Yes |
No |
Order headers |
SORDERQ |
No |
Yes |
No |
Order line quantities |
SORDERP |
No |
Yes |
No |
Order line prices |
SQUOTE |
Yes |
No |
No |
Quote header |
SQUOTED |
Yes |
Yes |
No |
Quote - Detail |
BPARTNER |
Yes |
Yes |
No |
BP |
BPCUSTOMER |
Yes |
Yes |
No |
Customers |
BPDLVCUST |
Yes |
Yes |
No |
Ship-to customers |
BPCUSTMVT |
Yes |
Yes |
No |
Customer transactions |
BPADDRESS |
Yes |
No |
No |
Addresses |
ITMMASTER |
Yes |
Yes |
Yes |
Products |
ITMSALES |
Yes |
Yes |
Yes |
Products - Sales |
ITMBPC |
Yes |
Yes |
Yes |
Products-customer |
ITMMVT |
No |
Yes |
No |
Product - Movements |
ITMFACILIT |
Yes |
Yes |
Yes |
Product-site |
ITMCATEG |
No |
Yes |
No |
Product category |
BOM |
Yes |
No |
No |
BOM header |
BOD |
Yes |
No |
No |
BOM detail |
TABSOHTYP |
No |
Yes |
No |
Order types |
FACILITY |
Yes |
Yes |
No |
Sites |
TABCUR |
Yes |
Yes |
No |
Currency table |
SPRICLINK |
Yes |
Yes |
No |
Search sales prices (link) |
PRICSTRUCT |
Yes |
Yes |
No |
Price list structure |
SALESREP |
Yes |
Yes |
No |
Sales representatives |
SALTRS |
Yes |
No |
No |
Transactions |
TABMODELIV |
Yes |
Yes |
No |
Shipment method table |
TABUNIT |
Yes |
Yes |
No |
Unit of measure table |
SPRICLIST |
No |
Yes |
No |
Customer price lists |