CTL_STOENT: Controls that the lines of a document can be recorded

This entry point controls that all the lines of a receipt document can be recorded.

It is called in all those documents dealing with the receipt flows.

Context and operating method

Transaction

There is one transaction in progress.

Log file

There is no open log file.

Different call cases - Significant variables

This entry point is located at the end of the CTLSTOENT sub-program for the process STKENT (after the standard controls).

It is called in all those documents dealing with the receipt flows upon the validation of the document.

Buttons "Create" or "Save"  -- > actions VERIF_CRE or VERIF_MOD except for the put-away plan: button "Validation"  

 Controls can thus be performed with the receipt storage screen STOENTW ([M :ENTW]),

 The variable containing the name of the document line entry screen is:

 LABR              = Document line entry screen under the form: XXX       

        With the value: SMR1 for miscellaneous receipts

                                     : SRH1 for returns

                                     : SRL1 for loan returns

                                     : SIH4  for credit memos

                                     : PTH1 for receipts

                                     : MTK2 for production reporting

                                     : DBY1 for disassemblies (components)

                                     : BBY0 for assemblies (parent product)

                                     : SSL1 for the put-away plan  

Error variable: LRET

         If = 1 no error

         If = 0 error