There is no transaction in progress.
There is no open log file.
This entry point only concerns the management of orders and web services.
This entry point is called at the start of the VERIF_CRE and VERIF_MOD actions of the object if:
dim(GWEBSERV)=1 & GWEBSERV=1
The following variables are significant:
The following screen classes are available and loaded with the order currently being created/modified:
SOH0 SOH1 SOH2 SOH3 SOH4 (lines)
The entry point is located in the read loop of the order lines in the table of the lines.
I is the index used. It is the index of the free item inserted in the table.
[M:SOH4] NBLIG contains the number of order lines. It has been incremented by 1 because the free item line has been inserted in the table.
ORI is the index of the line of the origin of the free item.
The free item line has been inserted in the table.
The open tables are the tables of the order object.
In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…). It is usually the case for the file that contains the header but not for the file that contain the lines…
Table | Significant content | Table title |
ITMMASTER | Yes | Product |
ITMSALES | Yes | Sales product |
ITMFACILIT | Yes | Product-site |
|
|
|
This entry point is used when modifying the parent product (BOM or kit) of an order line.
It allows some customers to modify specific fields created by the ALILIG entry point.
It is located at the end of the modification of the component line and is used to take control in order to complete the modification of this component line.
There is no transaction in progress.
There is no open log file.
Call contextIt is called in interactive mode from the order management every time the line of a product of BOM parent product type or kit parent product type is modified.
The [M ] classes linked to the order object are available ([M :SOH0], [M :SOH1], [M :SOH2], [M :SOH3], [M :SOH4] are open).
Order currently being modified, the entry point is called by the TRTVENBOM processing.
The NL variable contains the number of the line of the component modified in the [M:SOH1] table.
This entry point is used when entering a component (BOM or kit) of an order line.
It makes it possible for some customers to have:
For the parent product: the sum of the parent product's prices and of its components
For the components: 0
It is located at the end of the insertion of the components linked to the parent product entered.
There is no transaction in progress.
There is no open log file.
Call contextIt is called in interactive mode from the order management every time that a product of parent product BOM type or kit parent product type is inserted.
The call is made after the component lines are inserted.
The [M:SOH4] class linked to the order object is available.
Order currently being modified, the entry point is called by the TRTVENBOM processing.
The PARAM(2) variable contains the no. of the line of the parent product inserted
The PARAM(2)+1 variable contains the no. of the line of the first component inserted
The PARAM(8)-1 variable contains the no. of the line of the last parent product inserted
This entry point is used during the modification of a parent product line (BOM or kit) on a sales document (quote, order, delivery, invoice).
It is used to intervene in the different component lines linked to the parent product. It is especially used to intervene in the variable used for the recalculation of the component quantities from the quantity of the parent product.
It is called every time a component line is modified.
There is no transaction in progress.
There is no open log file.
Call contextIt is called from the management of sales documents (quotes, orders, deliveries, invoices) every time that the line of a product of BOM parent product type of kit parent product type is modified. It is called for all the component lines.
The [M] classes linked to the object (quote, order, delivery, invoice) are available (For example, [M :SOH0], [M :SOH1], [M :SOH2], [M :SOH3], [M :SOH4] are open for the orders.)
Order currently being modified, the line of the parent product has been modified and you are in the APRES_NBLIG action of this line. The component line is currently being modified.
The following variables are available:
. NL: No. of the line of the component currently being modified in the line table.
. ORI: No. of the line of the parent product currently being modified in the line table.
. FUNCTION: Function concerned (1=Quote, 2=Order, 3=Delivery, 4=Invoice)
. RAPPORT: Relation between parent product quantity and component quantity Calculated, just before the EP is called, from the parent product quantity before modification and the component quantity before modification. For example, if the link quantity is 2 in the BOM between the parent product and the component, the original quantity of the parent product=1 and the original quantity of the component=2, then RAPPORT=2 (2/1). This variable can be modified by the EP. The new quantity of the component has not been calculated yet.
Given that this entry point can be called from different functions (quote, order, delivery, invoice), it is difficult to list all the open tables. The open tables are the tables linked to the object currently being executed.
This entry point is used during the modification of a parent product line (BOM or kit) on a sales document (quote, order, delivery, invoice).
It is used to intervene in the different component lines linked to the parent product during their modification in order to modify the rounding performed on the component quantity recalculated from the quantity of the parent product.
It is located in the TRTVENBOM processing and called every time a component line is modified.
There is no transaction in progress.
There is no open log file.
Call contextIt is called from the management of sales documents (quotes, orders, deliveries, invoices) every time that the line of a product of BOM parent product type of kit parent product type is modified. It is called for all the component lines.
The [M] classes linked to the object (quote, order, delivery, invoice) are available (For example, [M :SOH0], [M :SOH1], [M :SOH2], [M :SOH3], [M :SOH4] are open for the orders.)
Order currently being modified, the line of the parent product has been modified and you are in the APRES_NBLIG action of this line. The component line is currently being modified. The quantity of the component has been recalculated.
The following variables are available:
. NL: No. of the line of the component currently being modified in the line table.
. ORI: No. of the line of the parent product currently being modified in the line table.
. FUNCTION: Function concerned (1=Quote, 2=Order, 3=Delivery, 4=Invoice)
. RAPPORT: Relation between parent product quantity and component quantity Calculated from the parent product quantity before modification and the component quantity before modification For example, if the link quantity is 2 in the BOM between the parent product and the component, the original quantity of the parent product=1 and the original quantity of the component=2, then RAPPORT=2 (2/1).
. WCPSQTY: New re-calculated quantity of the component and not yet rounded. The rounding will be performed according to the sales unit [M]SAU(NL). The EP is used to perform a specific rounding and/or short-circuit the standard rounding. The GPE variable, set to 0, must be set to 1 to prevent standard rounding. After the rounding, [M]QTY(NL) is loaded with WCPSQTY
Given that this entry point can be called from different functions (quote, order, delivery, invoice), it is difficult to list all the open tables. The open tables are the tables linked to the object currently being executed.