STJ_ENM: Transfer of data from a STOJOU record to the stock receipt movement mod

Use this entry point to transfer data from a stock movement record (STOJOU) to the stock receipt movement modification screen (STOENTM).

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases - Significant variables

This entry point is located in the CHARG_LIGNE_STOENTM label of the TRTSTOENMA processing.

It is called when modifying the stock receipt movements of a document line, when loading the entry screen STOENTM, from the stock movements for this line (STOJOU records).

It is therefore used to complete the loading of the STOENTM [M :ENM] screen with the data contained in the STOJOU records.

The indexes to be used in the screen tables are:

LLIG   = Index in STOENTM  [M :ENM]

Caution:

This entry point is only designed to manage new fields.

The standard content of the STOENTM screen must not 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

STOENTM

Yes for the LLIG index

Modification of receipt movements

 

Table

Significant content

Table title

STOJOU

Yes

Stock movements

ITMCATEG

Yes

Product category

ITMMASTER

Yes

Products

ITMFACILIT

Yes

Products sites

STOCK

Yes if [L]WSTOCOU<>0

Stock

 

CHG_STOENTM: Loading of the stock setups in the receipt modification screen

Use this entry point to intervene in the stock information specified by the context (in the STOENTM screen) when accessing receipt movement modification.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases - Significant variables

This entry point is located in the CHARG_PARAM_STOENTM label of the TRTSTOENMA processing.

It is called when accessing stock receipt movement modification after the information about the stocks linked to the context is loaded (document responsible for the receipt: receipt, production declaration, etc.) in the STOENTM entry screen.

It is therefore used to complete (or modify) the loading of the STOENTM [M :ENM] screen with the data contained in the screens of the source document.

The document at the origin of this receipt entry is defined in the LTYP variable.

The possible values as well as the screens corresponding to the document are:

LTYP

Condition

Source document

Source screens

File on line

 6

 

 Receipt

PTH0, PTH1

[F :PTH], [F :PYD], [F :PTR]

 12

 

 Stock reintegration

MTK0, MTK3

[F :MTS]

 13

LABR= "SRH1"

 Customer return

SRH1

 

 13

LABR= "SRL1"

 Loan return

SRL1

 

 15

 

 Production reporting

MTK0, MTK2

[F :MTS]

 18

 

 Credit memo

SIH0, SIH1, SIH4

 

 19

 

 Miscellaneous receipt

SMR0, SMR1

[F :SRT]

 31

 

 Assembly

BBY0

 

 32

 

 Disassembly

DBY0, DBY1

 

The index to be used in the table for the product lines in the source screen is: LLIGDOC

 

Open tables

In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…).

Screen

Significant content

Screen title

STOENTM

Yes for the sections 1 and 3

Modification of the receipt data

 

Table

Significant content

Table title

ITMCATEG

No

Product category

ITMMASTER

No

Products

ITMFACILIT

No

Products sites

TABSTORUL

No

Management rules

 

BEF_MAJ_DOC: Before modification of the documents

This entry point is used to perform specific/custom modifications to the documents before the standard modifications.

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases - Significant variables

This entry point is located in the MAJ_MODIFICATION8LIGNE label of the TRTSTOENMA processing.

It is called when accessing stock receipt document modification after the information about the stocks linked to the context is loaded (document responsible for the receipt: receipt, production declaration, etc.) in the STOWORK work screen.

The document at the origin of this receipt entry is defined in the LTYP variable.

The possible values as well as the screens corresponding to the document are:

LTYP

Condition

Source document

Source screens

File on line

 6

 

 Receipt

PTH0, PTH1

[F :PTH], [F :PYD], [F :PTR]

 12

 

 Stock reintegration

MTK0, MTK3

[F :MTS]

 13

LABR= "SRH1"

 Customer return

SRH1

 

 13

LABR= "SRL1"

 Loan return

SRL1

 

 15

 

 Production reporting

MTK0, MTK2

[F :MTS]

 18

 

 Credit memo

SIH0, SIH1, SIH4

 

 19

 

 Miscellaneous receipt

SMR0, SMR1

[F :SRT]

 31

 

 Assembly

BBY0

 

 32

 

 Disassembly

DBY0, DBY1

 

 

Open tables

In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…).

Screen

Significant content

Screen title

STOWORK

Yes

Modification of the receipt data

 

Table

Significant content

Table title

ITMCATEG

No

Product category

ITMMASTER

No

Products

ITMFACILIT

No

Products sites

TABSTORUL

No

Management rules

 

AFT_MAJ_DOC: After modification of the documents

This entry point is used to perform specific/custom modifications to the documents after the standard modifications.

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases - Significant variables

This entry point is located in the MAJ_MODIFICATION_LIGNE label of the TRTSTOENMA processing.

It is called when accessing stock receipt document modification after the information about the stocks linked to the context is loaded (document responsible for the receipt: receipt, production declaration, etc.) in the STOWORK work screen.

The document at the origin of this receipt entry is defined in the LTYP variable.

The possible values as well as the screens corresponding to the document are:

LTYP

Condition

Source document

Source screens

File on line

 6

 

 Receipt

PTH0, PTH1

[F :PTH], [F :PYD], [F :PTR]

 12

 

 Stock reintegration

MTK0, MTK3

[F :MTS]

 13

LABR= "SRH1"

 Customer return

SRH1

 

 13

LABR= "SRL1"

 Loan return

SRL1

 

 15

 

 Production reporting

MTK0, MTK2

[F :MTS]

 18

 

 Credit memo

SIH0, SIH1, SIH4

 

 19

 

 Miscellaneous receipt

SMR0, SMR1

[F :SRT]

 31

 

 Assembly

BBY0

 

 32

 

 Disassembly

DBY0, DBY1

 

 

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

STOWORK

Yes

Modification of the receipt data

 

Table

Significant content

Table title

ITMCATEG

No

Product category

ITMMASTER

No

Products

ITMFACILIT

No

Products sites

TABSTORUL

No

Management rules

 

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases - Significant variables

This entry point is located in the MAJ_MODIFICATION8LIGNE label of the TRTSTOENMA processing.

It is called when accessing stock receipt document modification after the information about the stocks linked to the context is loaded (document responsible for the receipt: receipt, production declaration, etc.) in the STOWORK work screen.

The document at the origin of this receipt entry is defined in the LTYP variable.

The possible values as well as the screens corresponding to the document are:

LTYP

Condition

Source document

Source screens

File on line

 6

 

 Receipt

PTH0, PTH1

[F :PTH], [F :PYD], [F :PTR]

 12

 

 Stock reintegration

MTK0, MTK3

[F :MTS]

 13

LABR= "SRH1"

 Customer return

SRH1

 

 13

LABR= "SRL1"

 Loan return

SRL1

 

 15

 

 Production reporting

MTK0, MTK2

[F :MTS]

 18

 

 Credit memo

SIH0, SIH1, SIH4

 

 19

 

 Miscellaneous receipt

SMR0, SMR1

[F :SRT]

 31

 

 Assembly

BBY0

 

 32

 

 Disassembly

DBY0, DBY1

 

 

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

STOWORK

Yes

Modification of the receipt data

 

Table

Significant content

Table title

ITMCATEG

No

Product category

ITMMASTER

No

Products

ITMFACILIT

No

Products sites

TABSTORUL

No

Management rules