Script CNSCPPSTD: Purchase order lines inquiry

CRESPELNK: Change the link used to filter the lines

Context and operating method

Transaction

There is no transaction in progress.

Log file

No trace file is open.

Code context

This entry point is located in CNSCPPSTD script (Purchase order lines inquiry) before the loop loading the purchase order line grid, after the standard link done with PORDER PORDERQ and PORDERP, and before the filter. It allows to change the link to add a new file.

Available variables and masks

The grid line in the screen CONSCPP2 is not yet loaded. The instruction link has to be rerun in the entry point.  

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

PORDER

No Purchase order header
PORDERP No Purchase order line - price

PORDERQ

No Purchase order line - quantities
FACILITY No Site
BPARTNER No Business partner
TABCUR No Currency table

ADDCTLLIN: Add controls on the lines to display

Context and operating method

Transaction

There is no transaction in progress.

Log file

No trace file is open.

Code context

This entry point is located in the CNSCPPSTD script, at the beginning of the loop that loads the purchase order lines grid.

It is executed before each line is loaded into the grid.

It allows you to prevent a line from being displayed.

Available variables and masks
  • The grid being loaded is CONSCPP2.

  • nolign is the index of the current line.

  • The variable GPE is initialized to 1 before the entry point is called.

  • To exclude a line from the grid, set GPE to 0 within the entry point.

Variable Description
nolign Index of the current line
GPE Controls whether the line is loaded (1 = yes, 0 = no)
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
PORDER Yes Purchase order header
PORDERP Yes Purchase order line - Prices
PORDERQ Yes Purchase order line - Quantities
FACILITY Yes Sites