CTLITMFCY: Preloading receipt site upon order entry

This entry point, located in the TRTACHCTL1 processing (control processing), generates a "CTLITMFCY" action after modification.

The aim of this action is to provide the possibility to intervene in the preloading of the receipt site of an order line.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases

The entry point is called upon creation of an order line after entering a product reference.

Two functions are impacted: the purchase order management function and the buyer plan function.

Available variables and masks

[M :POH0], [M :POH1], [M :POH2] and [M :POH3] if management of purchase orders

[M:POI1] if buyer plan

The following variable can be modified

WFLAG Preloading indicator of the receipt site

0 = No preloading if the order site or the default site of the operator is not a storage site.

1 = Preloading of the receipt site (standard functioning method)

This preloading is carried out as follows:

-         Order site if this site is also a storage site

-         Storage site assigned by default to the user profile

-         1st storage site found from the product and belonging to the same company as the order site

 

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

BPSUPPLIER

No

Suppliers

ITMMASTER

No

Products

ITMFACILIT

No

Product-sites

PORDER

No

Order headers

PORDERP

No

Price order lines

PORDERQ

No

Quantity order lines

Miscellaneous remarks

If the receipt site cannot be entered and is not populated, the product reference is rejected