AVREWITC: Before re-entry of the cost

This entry point is used to modify the fields in the product-cost table or to load the specific/custom fields just before the re-entry in the case of standard or budget cost.

Context and operating method

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases

The context is the final update of the ITMCOST in the cycle of the work table ITMCOSTW.

Available variables and masks

Variable or mask

Definition

 Mask ITCUPD0 [DIA]

Entry screen for the process options

Char ERR_TRA(132)

 For an error message

Open tables

In the table below, the significant content flag indicates that the content is in phase with the context.

Table

Significant content

Table Title

ITCNAT

NO

Nature-cost detail

ITCNATW  [INWW]

NO

Natures-cost detail (temporary)

ITMCOST

YES

Product cost

ITMCOSTW [ICWW]

YES

Temporary product cost

ITMMASTER

YES

Product master

ITMFACILIT

NO

Product-site

ITMMVT

Yes, only for the standard and revised if the cost variations are interfaced.

Product totals

AVWRIITC: Before cost creation

This entry point is used to modify the fields in the product-cost table or to load the specific/custom fields just before the entry (cost creation of all types).

Context and operating method

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases

The context is the final update of the ITMCOST in the cycle of the work table ITMCOSTW.

The entry point is located in the section of the processing corresponding to the cost type, just before the Write instruction. (The entry of the standard cost record at zero responds to a technical need and is not the object of the entry point; this can happen on the calculation of the revised, budget or simulated cost before having created the corresponding standard cost).

Available variables and masks

Variable or mask

Definition

 Mask ITCUPD0 [DIA]

Entry screen for the process options

Char ERR_TRA(132)

 For an error message

Open tables

In the table below, the significant content flag indicates that the content is in phase with the context.

Table

Significant content

Table Title

ITCNAT

NO

Nature-cost detail

ITCNATW  [INWW]

NO

Natures-cost detail (temporary)

ITMCOST

YES

Product cost

ITMCOSTW [ICWW]

YES

Temporary product cost

ITMMASTER

YES

Product master

ITMFACILIT

NO

Product-site

ITMMVT

Yes, only for the standard and revised if the cost variations are interfaced.

Product totals

APMAJITC: After the cost update

This entry point is used to intervene after the update of the product-cost table whether in creation or in re-entry.

Context and operating method

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases

The context is the final update of the ITMCOST in the cycle of the work table ITMCOSTW. It is better to go by the values of the ITMCOSTW fields to access the record in the ITMCOST table that is being created or modified.

Available variables and masks

Variable or mask

Definition

 Mask ITCUPD0 [DIA]

Entry screen for the process options

Char ERR_TRA(132)

 For an error message

Open tables

In the table below, the significant content flag indicates that the content is in phase with the context.

Table

Significant content

Table Title

ITCNAT

NO

Nature-cost detail

ITCNATW  [INWW]

NO

Natures-cost detail (temporary)

ITMCOST

YES

Product cost

ITMCOSTW [ICWW]

YES

Temporary product cost

ITMMASTER

YES

Product master

ITMFACILIT

NO

Product-site

ITMMVT

Yes, only for the standard and revised if the cost variations are interfaced.

Product totals