Process SUBBOL: Component Replacement
Script LINE_SDD: Filter SDELIVERYD lines to be added to the details grid
This entry point is used to insert logic in the re-write of the link to the replaced BOM in order to modify certain fields or to manage specific/custom fields.
Context and operating method
Transaction
There is no transaction in progress.
Log file
No trace file is open.
Code context
The entry point is called in the subroutine GEN_SUMM_LINES of the SUBBOL script.
For customer packing slip types, it reads the SDELIVERYD (Delivery detail) table to create or update lines in the [M:BOL1] (Bill of lading detail) mask. This entry point filters records from the SDELIVERYD table to be added to the details grid.
Available variables and masks
Variable | Description |
---|---|
[M:BOL0] | Mask used in the process |
[M:BOL1] | Mask used in the process |
[M:BOL2] | Mask used in the process |
NOLB | Index of the loop based on [M:BOL2]NBLIGC |
GPE | Global integer set to 1 to exclude a line |
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 |
---|---|---|
SDELIVERY | Yes | Delivery header |
SDELIVERYD | Yes | Delivery detail |
ITMFACILIT | No | Products-sites |
FRTCLS | No | Freight class |
FRTCOMCOD | No |
Freight commodity code |
Script LINE_SPD: Filter SPACKD lines to be added to the details grid
Context and operating method
Transaction
There is no transaction in progress.
Log file
No trace file is open.
Code context
The entry point is called in the subroutine GEN_SUMM_LINES of the SUBBOL script.
For customer packing slip types, it reads the SPACKD (Delivery package detail) table to create or update lines in the [M:BOL1] (Bill of lading detail) mask. This entry point filters records from the SPACKD table to be added to the details grid.
Available variables and masks
Variable | Description |
---|---|
[M:BOL0] | Mask used in the process |
[M:BOL1] | Mask used in the process |
[M:BOL2] | Mask used in the process |
NOLB | Index of the loop based on [M:BOL2]NBLIGC |
GPE | Global integer set to 1 to exclude a line |
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 |
---|---|---|
SDELIVERY | Yes | Delivery header |
SPACKD | Yes | Delivery package detail |
ITMFACILIT | No | Products-sites |
FRTCLS | No | Freight class |
FRTCOMCOD | No | Freight commodity code |
Script LINE_PND: Filter PRETURND lines to be added to the details grid
Context and operating method
Transaction
There is no transaction in progress.
Log file
No trace file is open.
Code context
The entry point is called in the subroutine GEN_SUMM_LINES of the SUBBOL script.
For customer packing slip types, it reads the PRETURND (Detail return) table to create or update lines in the [M:BOL1] (Bill of lading detail) mask. This entry point filters records from the PRETURND table to be added to the details grid.
Available variables and masks
Variable | Description |
---|---|
[M:BOL0] | Mask used in the process |
[M:BOL1] | Mask used in the process |
[M:BOL2] | Mask used in the process |
NOLB | Index of the loop based on [M:BOL2]NBLIGC |
GPE | Global integer set to 1 to exclude a line |
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 |
---|---|---|
PRETURN | Yes | Returns |
PRETURND | Yes | Detail return |
ITMFACILIT | No | Products-sites |
FRTCLS | No | Freight class |
FRTCOMCOD | No | Freight commodity code |