[F :PAD]APPUSR
User code of the signatory (can be modified)
[F :PAD]SBSAPPUSR
User code of the delegate (can be modified)
[F :PAD] APPRUL
Signature rule (1=Purchase request line, 2=Order, 3=Contract)
[F :PAD]NUM
Number of the purchase request, order or contract
[F :PAD]LIN
Number of the purchase request line or 0 for the orders
GFONCTION
Contains the current function and helps determine the context.
The following values are possible:
- GESPSH = Purchase request management
The [F :PSH] and [F :PSD] classes are significant and must not be modified.
- GESPOH = Order management
The [F :POC] class is significant and must not be modified.
- GESPOC = Contract management
The [F :POC] class is significant and must not be modified.
- FUNPAD = Signature rule management
If it proves necessary for the entry point, the (F:PSH], [F:PSD] or F:POH] classes must be open. Then it is necessary to use [F:PAD] ]NUM and [F:PAD]LIN.
- ?????? = Various values, that is to say that they correspond to the generation of purchase requests and orders from the workbenches.
Classes [F :PSH] and [F :PSD] are significant if [F :PAD]APPRUL = 1
The [F :POH] class is significant if [F :PAD]APPRUL = 2 or 3
Open grids
In the grid below, the "significant content" flag indicates that the content is on a par with the context.
Grid | Significant content | Content of the grid |
PAPPRECORD | Yes | Signature backup |
PREQUIS |
| Purchase request headers |
PREQUISD |
| Purchase request lines |
PORDER |
| Order/contract headers |
Other comments
To find out the user codes that need to be modified, pseudo users should be created with an easily identified code (for example, starting with "XXX") and rules should be created with them.
Then, using the entry point, the appropriate code (buyer's code, etc. ) should be used as replacement.