CALSTOSPR: Available stock calculation

This entry point is used to calculate the available stock.

Context and operating mode

Transaction

There is no transaction in progress.

Log file
There is no open log file.
Different call cases

This entry point is called once in the processing of the display of the grid in screen CONSSPR2.

(for instance, it can be used in the event of a specific heading added in masks CRITSPR and CONSSPR1)

Available variables and masks

 

Variable or mask

Definition

CONSSPR2 [SPR2]

CONSSPR1 [SPR1]

Display grid

Header

Open tables

In the table below, the significant content flag indicates that the content is coherent with the context (...).

Tables

Significant content

Table Title

ITMMASTER [ITM]

YES

Product

ITMFACILIT [ITF]  

YES

Product-site

ITMMVT ITV]

TABUNIT [TUN]                                    

YES

YES

Product-site totals

Stock product unit