Available variables and masks
This entry point is called in the ADD_TOT sub-program of the SUBSIHB processing. This sub-program increments some header amounts of the invoice with amounts of the line being created/modified. Depending on the context, the call to the ADD_TOT sub-program is preceded by the call to the SUB_TOT sub-program (in the case of the modification of a line for example, the invoice amounts are decremented from the former line amounts then incremented with the new line amounts).
The various invoice management screens are on line and loaded with the invoice being created/modified.
The [M:SIH4] invoice line screen is loaded. It is indexed by the NLIG variable that therefore corresponds to nolign-1. NLIG corresponds to the index of the line being created/modified.
This entry point is called at the end of the sub-program. The different standard amounts of the invoice have been modified ([M:SIH4]PFMTOT).
This entry point can be used to update the specific amounts.
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded…). It is usually the case for the file that contains the header but not for the file that contain the lines…
Table | Significant content | Table Title |
BPARTNER | No | BP |
BPCUSTOMER | No | Customers |
BPDLVCUST | No | Ship-to customers |
BPCUSTMVT | No | Customer transactions |
FACILITY | No | Site |
ITMMASTER | No | Products |
ITMSALES | No | Sales product |
ITMBPC | No | Product-customer |
TABCUR | No | Currency table |
ITMFACILIT | No | Product-site |
ITMCATEG | No | Product category |
ITMMVT | No | Product movements |
SPRICLINK | No | Sales price list search |
PRICSTRUCT | No | Price list structure |
SALESREP | No | Sales representative |
TABUNIT | No | Unit table |
BPSUPPLIER | No | Supplier |
STOREO | No | Reorder |
STOALL | No | Allocations |
STOJOU | No | Stock journal |
STOCK | No | Stock |
STOLOT | No | Lot number |
STOSER | No | Serial number |
SPREASON | No | Sales price list reason |
TABCOUNTRY | No | Country table |
SINVOICEV | No | Invoice valuation |
SINVOICE | No | Invoice headers |
SINVOICED | No | Invoices - Detail |
TABSIVTYP | No | Invoice type |
FACGROUP | No | Site grouping |
GTYPACCENT | No | Entry type |
GACCCODE | No | Accounting codes |
GACCOUNT | No | General ledger accounts |
CONTSERV | No | Service contracts |
SRETURND | No | Return detail |
SERREQUEST | No | Service requests |
HDKTASKINV | No | Consumptions to be invoiced |
ACTIV | No | Activity codes |
GAUTACE | No | Automatic journals |
ACODNUM | No | Document sequence numbers |
TABALLRUL | No | Allocation/issue rules |
TABSTORUL | No | Stock management rules |
STOWIPW | No | Stock being processed |
SPACK | No | Packaging header |
SPACKD | No | Packaging detail |
BPCARRIER | No | Carriers |
BPADDRESS | No | Addresses |
SFOOTINV | No | Invoicing elements |
TABMODELIV | No | Delivery mode table |
TABCOUAFF | No | Sequence number assignment |
ACCES | No | Access codes |
This entry point is called in invoice management.
It is used to take over during the processing of an invoice line when calculating the different amounts of an invoice. It can be used to calculate specific amounts.
There is no transaction in progress.
There is no open log file.
This entry point is called in invoice management:
. At line end.
. On the "Price calculation" button via the Action button on a line.
. When searching for groups upon invoice creation/modification for the lines modified by the search.
Available variables and masks
This entry point is called in the SUB-TOT sub-program of the SUBSIHB processing. This sub-program decrements some header amounts of the invoice with amounts of the line being created/modified. Depending on the context, the call to the SUB_TOT sub-program is followed by the call to the ADD_TOT sub-program (in the case of the modification of a line for example, the invoice amounts are decremented from the former line amounts then incremented with the new line amounts).
The various invoice management screens are on line and loaded with the invoice being created/modified.
The [M:SIH4] invoice line screen is loaded. It is indexed by the variable NLIG that therefore corresponds to nolign-1 NLIG corresponds to the index of the line being created/modified.
This entry point is called at the end of the sub-program. The different standard amounts of the invoice have been modified ([M:SIH4]PFMTOT).
This entry point can be used to update the specific amounts.
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded…). It is usually the case for the file that contains the header but not for the file that contain the lines…
Table | Significant content | Table Title |
BPARTNER | No | BP |
BPCUSTOMER | No | Customers |
BPDLVCUST | No | Ship-to customers |
BPCUSTMVT | No | Customer transactions |
FACILITY | No | Site |
ITMMASTER | No | Products |
ITMSALES | No | Sales product |
ITMBPC | No | Product-customer |
TABCUR | No | Currency table |
ITMFACILIT | No | Product-site |
ITMCATEG | No | Product category |
ITMMVT | No | Product movements |
SPRICLINK | No | Sales price list search |
PRICSTRUCT | No | Price list structure |
SALESREP | No | Sales representative |
TABUNIT | No | Unit table |
BPSUPPLIER | No | Supplier |
STOREO | No | Reorder |
STOALL | No | Allocations |
STOJOU | No | Stock journal |
STOCK | No | Stock |
STOLOT | No | Lot number |
STOSER | No | Serial number |
SPREASON | No | Sales price list reason |
TABCOUNTRY | No | Country table |
SINVOICEV | No | Invoice valuation |
SINVOICE | No | Invoice headers |
SINVOICED | No | Invoices - Detail |
TABSIVTYP | No | Invoice type |
FACGROUP | No | Site grouping |
GTYPACCENT | No | Entry type |
GACCCODE | No | Accounting codes |
GACCOUNT | No | General ledger accounts |
CONTSERV | No | Service contracts |
SRETURND | No | Return detail |
SERREQUEST | No | Service requests |
HDKTASKINV | No | Consumptions to be invoiced |
ACTIV | No | Activity codes |
GAUTACE | No | Automatic journals |
ACODNUM | No | Document sequence numbers |
TABALLRUL | No | Allocation/issue rules |
TABSTORUL | No | Stock management rules |
STOWIPW | No | Stock being processed |
SPACK | No | Packaging header |
SPACKD | No | Packaging detail |
BPCARRIER | No | Carriers |
BPADDRESS | No | Addresses |
SFOOTINV | No | Invoicing elements |
TABMODELIV | No | Shipment method table |
TABCOUAFF | No | Sequence number assignment |
ACCES | No | Access codes |