STJ_SOM: Transfer of the stock movement data to the entry screen

This entry point is used to transfer data from stock transaction records of issues (STOJOU), from a document line to the modification screen for issues (STOSORM).

Context and operating method

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases - Significant variables

This entry point is set in the ORI_STOENTM label of the TRTSTOSOM processing.

It is called when you access the modification of the stock issues, when the entry screen STOSORM is loaded with the stock transactions of the STOJOU table.

It is used to complete the loading of the STOSORM [M :SOM] screen.

The index to be used in the tables of the [M:SOM] screen is NOL.

Caution:

This entry point is only designed to manage new fields.

At no time should the standard contents of the STOSORM screen be modified.

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…).

Screen

Significant content

Screen title

STOSORM

Yes for the NOL index

Issue data modification

 

Table

Significant content

Table Title

 STOJOU

Yes

Stock transaction

ITMCATEG

Yes

Product category

ITMMASTER

Yes

Products

ITMFACILIT

Yes

Products - Sites

STOCK

Yes if [M:SOM]STOCOU(NOL)<>0

Stock