TRTVENFACC processing: TRTVENFACC
CALECHE: Modification of the open items generated at the time of creating a sale
This entry point has been moved to the TRTVENFACDUD processing.
Context and operating mode
This entry point has been moved to the TRTVENFACDUD processing.
DATEECHE: Load open item start date before invoice creation
This entry point has been moved to the TRTVENFACDUD processing.
Context and operating mode
This entry point has been moved to the TRTVENFACDUD processing.
CALFACTURE: Modification of the invoice screens before starting the calculation
This entry point concerns the calculation of a sales invoice.
It is used to modify the data present in the invoice screen classes before starting the calculation.
This entry point is located in the TRTVENFACC processing.
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 activated in the following processings:
. Invoice Function
. Automatic invoicing of orders function
. Automatic invoicing of deliveries function
. Invoice button from the delivery function
. Invoice button from the delivery function
If this entry point is only active in a specific context (for example only for credit memos), it is necessary to test only the data in the screen classes.
Available variables and masks
Never use the values of the [F:SIH] [F:SIV] [F:SID] file classes; the invoice calculation is only carried out with the values in the [M] classes.
The [M :SIH0], [M :SIH1] and [M :SIH2] masks are loaded with the header data. The [M :SIH4] mask is loaded with the detail lines and is indexed from 0 to [M :SIH4]NBLIG-1 ([M :SIH4]NBLIG corresponds to the number of lines in the invoice).
Warning:
In the automatic invoicing functions and when using the invoice button, the invoice details are already written in the corresponding table. It is therefore not necessary to intervene on the [M :SIH4] mask fields (among others to modify the line discount interacting with the net price calculation): these fields would not be rewritten in the invoice details.
On the other hand this entry point is useful to act on the content of the invoicing elements for the [M :SIH2] mask.
Open tables
For the tables that are not used in all the processings, the names of the processings using them are given, knowing that:
. FUNAUTINVO: Automatic invoicing of orders
. FUNAUTINVD: Automatic invoicing of deliveries
. SUBSOH: Invoice button from the orders
. SUBSDH: Invoice button from the deliveries
. SUBSIH: Invoice function
Table |
Processing |
Significant content |
Table Title |
TABSIVTYP |
Invoice type table |
||
TABMODELIV |
Delivery methods table |
||
TABCUR |
SUBSIH SUBSOH SUBSDH |
Currency table |
|
TABSOHTYP |
SUBSOH |
Order type tables |
|
ACTIV |
FUNAUTINVO FUNAUTINVD |
Activity code table |
|
BPCUSTOMER |
Customers |
||
BPARTNER |
BP |
||
BPCUSTMVT |
Customer transactions |
||
BPDLVCUST |
FUNAUTINVD SUBSIH SUBSOH SUBSDH |
Ship-to customers |
|
CONTACT |
SUBSOH |
Contacts |
|
ITMMASTER |
Products |
||
ITMFACILIT |
FUNAUTINVO SUBSIH SUBSOH SUBSDH |
Product-site |
|
ITMSALES |
SUBSIH SUBSOH SUBSDH |
Product-sales |
|
ITMBPC |
SUBSIH SUBSOH SUBSDH |
Customer product |
|
ITMMVT |
SUBSIH SUBSOH SUBSDH |
Product movements |
|
FACILITY |
SUBSIH SUBSOH SUBSDH |
Sites |
|
SALESREP |
SUBSIH SUBSOH SUBSDH |
Sales reps |
|
PRICSTRUCT |
SUBSIH SUBSOH SUBSDH |
Price list structure |
|
SPRICLINK |
SUBSIH SUBSOH SUBSDH |
Price list search |
|
SORDER |
Order headers |
||
SORDERC |
SUBSDH |
Order early/late total |
|
SORDERP |
FUNAUTINVO SUBSIH SUBSOH SUBSDH |
Order price lines |
|
SORDERQ |
Order quantity lines |
||
SDELIVERY |
FUNAUTINVD SUBSIH SUBSDH |
Delivery headers |
|
SDELIVERYD |
FUNAUTINVD SUBSIH SUBSDH |
Delivery detail lines |
|
SINVOICE |
Yes |
Invoice headers |
|
SINVOICEV |
Yes |
Invoice headers |
|
SINVOICED |
Invoice detail lines |
||
SWRKINV |
FUNAUTINVO FUNAUTINVD |
Auto invoicing work file |
|
GTYPACCENT |
FUNAUTINVO FUNAUTINVD SUBSIH |
Entry type |
|
GACCCODE |
FUNAUTINVO FUNAUTINVD SUBSIH |
Accounting codes |
|
GACCCOUNT |
FUNAUTINVO FUNAUTINVD SUBSIH |
General ledger accounts |
|
STOALL |
SUBSDH |
Allocations |
CALPIEDHT: Modification of the base before tax during the calculation of the inv
This entry point concerns the calculation of footer elements of a sales invoice.
It is used to modify the base before tax before applying a percentage.
This entry point is located in the TRTVENFACC processing.
Context and operating mode
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases
Call context:
This entry point can be accessed when beginning the calculation of each element of the footer element processing loop. It is therefore necessary to test the element number. It is used to substitute the ex-tax value of the invoice footer by using for example the preceding element values.
This entry point is activated in the following processings:
. Invoice Function
. Automatic invoicing of orders function
. Automatic invoicing of deliveries function
. Invoice button from the delivery function
. Invoice button from the delivery function
If this entry point is only active in a specific context (for example only for credit memos), it is necessary to test only the data in the screen classes.
Available masks
Never use the values of the [F:SIH] [F:SIV] [F:SID] file classes; the invoice calculation is only carried out with the values in the [M] classes.
The [M :SIH0], [M :SIH1] and [M :SIH2] masks are loaded with the header data. The [M :SIH4] mask is loaded with the detail lines and is indexed from 0 to [M :SIH4]NBLIG-1 ([M :SIH4]NBLIG corresponds to the number of lines in the invoice). The [M :SIHV] mask is the valuation screen used the calculation.
Reminder of the SIHV mask contents
Field |
|
Tax grids |
|
XVSHO |
Short description for the tax |
XVNOT |
Ex-tax amount for the tax |
XVSMI |
Subject net amount (XVSMIP + XVSMIF + XVSMITP + XVSMITS) |
XVSMIP |
Subject net amount from the Ex-tax revenue |
XVSMIF |
Subject amount from the footer element |
XVSMITP |
Subject amount from additional taxes |
XVSMITS |
Subject amount from special taxes |
XVRAT |
Tax rate |
XVAMT |
Main tax amount |
XVSUP |
Total amount for additional and special taxes (subject or not) |
XVATI |
Tax incl amount |
XVTAX |
Tax code |
XVTYP |
Tax type (1=VAT, 2=additional, 3=special) |
XVCHA |
Subject extra tax (1=no, 2=yes) |
XVBAS |
Subject amount (1=ex-tax, 2=amount-1, 3=amount-2) |
Invoice footer elements grid |
|
XFSHO |
Element short description |
XFNOT |
Ex-tax amount ( XFNOTP + XFNOTL ) |
XFSMI |
Amount subject to the tax (VAT) ( XFSMIP + XFSMIL ) |
XFRAT |
Tax rate |
XFVATAMT |
Tax amount |
XFATI |
Tax incl amount |
XFNUM |
Element no. |
XFNOTL |
Ex-tax amount from the charges/discounts on the line |
XFSMIL |
Subject amount from the charges/discounts on the line |
XFNOTP |
Element ex-tax amount |
XFSMIP |
Element subject amount |
XFDTAAMT |
Value of the element: entered or by default (amount or percentage) |
XFTAX |
Tax code |
PROCOD |
Process method (1=modifiable, 2=non-modifiable) |
AMTCOD |
Amount code (1=rate, 2=amount) |
INCDCR |
Inc/dec (1=increase, 2=decrease) |
DACINV |
Element entry order |
DEFVAL |
Default value (in GSYSCUR currency) |
CLCBAS |
Calculation basis (1=ex-tax, 2=inc tax) |
CLCVACITM |
Tax level for the selections |
TSDMIN |
Minimum threshold (in GSYSCUR currency) |
TSDMAX |
Maximum threshold (in GSYSCUR currency) |
VATRUL |
Calculation rule for the tax (1=Revenue, 2=Max Rate, 3=Min Rate, 4=Fixed Rate, 5=Distribution) |
VACITM |
Tax level (used if fixed rate) |
EXCTAXRUL |
Influence on additional tax |
SPETAXRUL |
Influence on special tax |
INVFOOGRU |
Grouping element no. |
INVFOOBRD |
Distributed element no. |
XFLINCDCR |
Inc/dec (1=increase, 2=decrease) |
XFLVALTYP |
Value type (1=amount, 2=Total% , 3=serial %) |
XFLCLCRUL |
Calculation basis (1=by unit, 2=by line, 3=by document) |
XFLCOLTAR |
No. of the price list column containing the element (from 1 to 9) |
1- Tax grid
Created from the invoice lines, it must not be modified by the entry point.
2- Invoice footer elements grid
When calling the entry point in the grid indexed from 0 to [M :SIHV]NBFOOT-1, the index value is contained in the JL variable.
Warning:
In the automatic invoicing functions and when using the invoice button, the invoice details are already written in the corresponding table. It is therefore not necessary to intervene on the [M :SIH4] mask fields (among others to modify the line discount interacting with the net price calculation): these fields would not be rewritten in the invoice details.
Available variables
ZFNOTP: This variable must be specified via the entry point and must contain the element calculation basis. Upon return of the entry point, if its value is 0 (zero), the calculation basis is determined in the standard fashion. The element index being calculated is contained in the JL variable. The value of JL must not be modified, nor can the contents of the grid data that are established following the calculation.
Open tables
For the tables that are not used in all the processings, the names of the processings using them are given, knowing that:
. FUNAUTINVO: Automatic invoicing of orders
. FUNAUTINVD: Automatic invoicing of deliveries
. SUBSOH: Invoice button from the orders
. SUBSDH: Invoice button from the deliveries
. SUBSIH: Invoice function
Table |
Processing |
Significant content |
Table Title |
TABSIVTYP |
Invoice type table |
||
TABMODELIV |
Delivery methods table |
||
TABCUR |
SUBSIH SUBSOH SUBSDH |
Currency table |
|
TABSOHTYP |
SUBSOH |
Order type tables |
|
ACTIV |
FUNAUTINVO FUNAUTINVD |
Activity code table |
|
BPCUSTOMER |
Customers |
||
BPARTNER |
BP |
||
BPCUSTMVT |
Customer transactions |
||
BPDLVCUST |
FUNAUTINVD SUBSIH SUBSOH SUBSDH |
Ship-to customers |
|
CONTACT |
SUBSOH |
Contacts |
|
ITMMASTER |
Products |
||
ITMFACILIT |
FUNAUTINVO SUBSIH SUBSOH SUBSDH |
Product-site |
|
ITMSALES |
SUBSIH SUBSOH SUBSDH |
Product-sales |
|
ITMBPC |
SUBSIH SUBSOH SUBSDH |
Customer product |
|
ITMMVT |
SUBSIH SUBSOH SUBSDH |
Product movements |
|
FACILITY |
SUBSIH SUBSOH SUBSDH |
Sites |
|
SALESREP |
SUBSIH SUBSOH SUBSDH |
Sales reps |
|
PRICSTRUCT |
SUBSIH SUBSOH SUBSDH |
Price list structure |
|
SPRICLINK |
SUBSIH SUBSOH SUBSDH |
Price list search |
|
SORDER |
Order headers |
||
SORDERC |
SUBSDH |
Order early/late total |
|
SORDERP |
FUNAUTINVO SUBSIH SUBSOH SUBSDH |
Order price lines |
|
SORDERQ |
Order quantity lines |
||
SDELIVERY |
FUNAUTINVD SUBSIH SUBSDH |
Delivery headers |
|
SDELIVERYD |
FUNAUTINVD SUBSIH SUBSDH |
Delivery detail lines |
|
SINVOICE |
Yes |
Invoice headers |
|
SINVOICEV |
Yes |
Invoice headers |
|
SINVOICED |
Invoice detail lines |
||
SWRKINV |
FUNAUTINVO FUNAUTINVD |
Auto invoicing work file |
|
GTYPACCENT |
FUNAUTINVO FUNAUTINVD SUBSIH |
Entry type |
|
GACCCODE |
FUNAUTINVO FUNAUTINVD SUBSIH |
Accounting codes |
|
GACCCOUNT |
FUNAUTINVO FUNAUTINVD SUBSIH |
General ledger accounts |
|
STOALL |
SUBSDH |
Allocations |
CPLVALLIG: Modification of the valuation screen in invoice line integration
Use this entry point to intervene during the integration of an invoice line in the SIHV valuation screen used to calculate the invoice.
It is used for example to modify the tax grid according to the invoice line.
This entry point is located in the TRTVENFACC processing. It is also accessible from the TRTTAXUSA processing at the same calculation phase level.
Context and operating mode
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases
Call context:
Access is made to this entry point during the processing of each invoice line. It has been created to make it possible to load an additional column defined in the tax grid section.
Warning: At the start of the invoice, the content of the [M :SIHX] class grid sections is initialized by column; the columns defined in specific are therefore not concerned. It is therefore recommended to initialize these columns before integrating the first line.
This entry point is activated in the following processings:
. Invoice Function
. Automatic invoicing of orders function
. Automatic invoicing of deliveries function
. Invoice button from the delivery function
. Invoice button from the delivery function
If this entry point is only active in a specific context (for example only for credit memos), it is necessary to test only the data in the screen classes.
Available masks
Never use the values of the [F:SIH] [F:SIV] [F:SID] file classes; the invoice calculation is only carried out with the values in the [M] classes.
The [M :SIH0], [M :SIH1] and [M :SIH2] masks are loaded with the header data. The [M :SIH4] mask is loaded with the detail lines and is indexed from 0 to [M :SIH4]NBLIG-1 ([M :SIH4]NBLIG corresponds to the number of lines in the invoice).
For performance purposes, the valuation mask used for the SIHV calculation is open under 2 abbreviations: SIHX and SIHV. At this stage of the calculation phase, the [M:SIHX] class is used.
Reminder of the SIHV mask contents
Field |
|
Tax grids |
|
XVSHO |
Short description for the tax |
XVNOT |
Ex-tax amount for the tax |
XVSMI |
Subject net amount (XVSMIP + XVSMIF + XVSMITP + XVSMITS) |
XVSMIP |
Subject net amount from the Ex-tax revenue |
XVSMIF |
Subject amount from the footer element |
XVSMITP |
Subject amount from additional taxes |
XVSMITS |
Subject amount from special taxes |
XVRAT |
Tax rate |
XVAMT |
Main tax amount |
XVSUP |
Total amount for additional and special taxes (subject or not) |
XVATI |
Tax incl amount |
XVTAX |
Tax code |
XVTYP |
Tax type (1=VAT, 2=additional, 3=special) |
XVCHA |
Subject extra tax (1=no, 2=yes) |
XVBAS |
Subject amount (1=ex-tax, 2=amount-1, 3=amount-2) |
Invoice footer elements grid |
|
XFSHO |
Element short description |
XFNOT |
Ex-tax amount ( XFNOTP + XFNOTL ) |
XFSMI |
Amount subject to the tax (VAT) ( XFSMIP + XFSMIL ) |
XFRAT |
Tax rate |
XFVATAMT |
Tax amount |
XFATI |
Tax incl amount |
XFNUM |
Element no. |
XFNOTL |
Ex-tax amount from the charges/discounts on the line |
XFSMIL |
Subject amount from the charges/discounts on the line |
XFNOTP |
Element ex-tax amount |
XFSMIP |
Element subject amount |
XFDTAAMT |
Value of the element: entered or by default (amount or percentage) |
XFTAX |
Tax code |
PROCOD |
Process method (1=modifiable, 2=non-modifiable) |
AMTCOD |
Amount code (1=rate, 2=amount) |
INCDCR |
Inc/dec (1=increase, 2=decrease) |
DACINV |
Element entry order |
DEFVAL |
Default value (in GSYSCUR currency) |
CLCBAS |
Calculation basis (1=ex-tax, 2=inc tax) |
CLCVACITM |
Tax level for the selections |
TSDMIN |
Minimum threshold (in GSYSCUR currency) |
TSDMAX |
Maximum threshold (in GSYSCUR currency) |
VATRUL |
Calculation rule for the tax (1=Revenue, 2=Max Rate, 3=Min Rate, 4=Fixed Rate, 5=Distribution) |
VACITM |
Tax level (used if fixed rate) |
EXCTAXRUL |
Influence on additional tax |
SPETAXRUL |
Influence on special tax |
INVFOOGRU |
Grouping element no. |
INVFOOBRD |
Distributed element no. |
XFLINCDCR |
Inc/dec (1=increase, 2=decrease) |
XFLVALTYP |
Value type (1=amount, 2=Total% , 3=serial %) |
XFLCLCRUL |
Calculation basis (1=by unit, 2=by line, 3=by document) |
XFLCOLTAR |
No. of the price list column containing the element (from 1 to 9) |
1- Tax grid
It is created from the invoice lines. On calling the entry point the grid lines are already updated. For each invoice line tax code, a line in this grid is created or modified. In this entry point, the tax line should be searched based on the tax code contained in the [M:SIH4] line mask. The LIG variable contains the index of the line in update. The [M:SIH4]VAT1(LIG) field contains the main tax code; [M:SIH4]VAT2(LIG) and [M:SIH4]VAT3(LIG) are the secondary taxes.
Warning:
In the automatic invoicing functions and when using the invoice button, the invoice details are already written in the corresponding table. No action must therefore be carried out on the [M :SIH4] mask fields; they would not be rewritten in the invoice details.
Available variables
LIG: This variable contains the invoice line index; its value must not be modified.
Open tables
For the tables that are not used in all the processings, the names of the processings using them are given, knowing that:
. FUNAUTINVO: Automatic invoicing of orders
. FUNAUTINVD: Automatic invoicing of deliveries
. SUBSOH: Invoice button from the orders
. SUBSDH: Invoice button from the deliveries
. SUBSIH: Invoice function
Table |
Processing |
Significant content |
Table Title |
TABSIVTYP |
Invoice type table |
||
TABMODELIV |
Delivery methods table |
||
TABCUR |
SUBSIH SUBSOH SUBSDH |
Currency table |
|
TABSOHTYP |
SUBSOH |
Order type tables |
|
ACTIV |
FUNAUTINVO FUNAUTINVD |
Activity code table |
|
BPCUSTOMER |
Customers |
||
BPARTNER |
BP |
||
BPCUSTMVT |
Customer transactions |
||
BPDLVCUST |
FUNAUTINVD SUBSIH SUBSOH SUBSDH |
Ship-to customers |
|
CONTACT |
SUBSOH |
Contacts |
|
ITMMASTER |
Products |
||
ITMFACILIT |
FUNAUTINVO SUBSIH SUBSOH SUBSDH |
Product-site |
|
ITMSALES |
SUBSIH SUBSOH SUBSDH |
Product-sales |
|
ITMBPC |
SUBSIH SUBSOH SUBSDH |
Customer product |
|
ITMMVT |
SUBSIH SUBSOH SUBSDH |
Product movements |
|
FACILITY |
SUBSIH SUBSOH SUBSDH |
Sites |
|
SALESREP |
SUBSIH SUBSOH SUBSDH |
Sales reps |
|
PRICSTRUCT |
SUBSIH SUBSOH SUBSDH |
Price list structure |
|
SPRICLINK |
SUBSIH SUBSOH SUBSDH |
Price list search |
|
SORDER |
Order headers |
||
SORDERC |
SUBSDH |
Order early/late total |
|
SORDERP |
FUNAUTINVO SUBSIH SUBSOH SUBSDH |
Order price lines |
|
SORDERQ |
Order quantity lines |
||
SDELIVERY |
FUNAUTINVD SUBSIH SUBSDH |
Delivery headers |
|
SDELIVERYD |
FUNAUTINVD SUBSIH SUBSDH |
Delivery detail lines |
|
SINVOICE |
Yes |
Invoice headers |
|
SINVOICEV |
Yes |
Invoice headers |
|
SINVOICED |
Invoice detail lines |
||
SWRKINV |
FUNAUTINVO FUNAUTINVD |
Auto invoicing work file |
|
GTYPACCENT |
FUNAUTINVO FUNAUTINVD SUBSIH |
Entry type |
|
GACCCODE |
FUNAUTINVO FUNAUTINVD SUBSIH |
Accounting codes |
|
GACCCOUNT |
FUNAUTINVO FUNAUTINVD SUBSIH |
General ledger accounts |
|
STOALL |
SUBSDH |
Allocations |
AFFACOMPTE: Prepayment assignment to the invoice
This entry point has been moved to the TRTVENFACDUD processing.
Context and operating mode
This entry point has been moved to the TRTVENFACDUD processing.
CALTAXLIG: Tax calculation of an invoice line
This entry point concerns the creation of a sales invoice.
It is used to intervene before the calculation, when processing an invoice line.
More accurately, it is used to intervene before calculating the taxes by line and before loading the line in the SIHV valuation screen used for invoice calculation. It can for example be used to intervene on the 3 tax bases of a line.
It is located in the TRTVENFACC processing and it is called from each processing used to generate an invoice.
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 activated in the following processings:
. Invoice Function
. Automatic invoicing of orders, contracts, service requests and transfer functions
. Automatic invoicing of deliveries function
. Invoice button from the delivery function
. Invoice button from the delivery function
If this entry point is only active in a specific context (for example only for credit memos), it is necessary to test only the data in the screen classes.
Available variables and masks
Never use the values of the [F:SIH] [F:SIV] [F:SID] file classes; the invoice calculation is only carried out with the values in the [M] classes.
The [M :SIH0], [M :SIH1] and [M :SIH2] masks are loaded with the header data. The [M :SIH4] mask is loaded with the detail lines and is indexed from 0 to [M :SIH4]NBLIG-1 ([M :SIH4]NBLIG corresponds to the number of lines in the invoice).
For performance purposes, the valuation mask used for the SIHV calculation is open under 2 abbreviations: SIHX and SIHV. At this stage of the calculation phase, the [M:SIHX] class is used.
Tax grids
It is created from the invoice lines. For each invoice line tax code, a line in this grid is created or modified. Upon calling of the entry point, the tax grid is not yet updated with the taxes of the invoice line being processed.
Warning:
In the automatic invoicing functions and on using the invoice button, the invoice details are already written to the corresponding table. No action must therefore be carried out on the [M :SIH4] mask fields; they would not be rewritten in the invoice details.
LIG: This variable contains the invoice line index; its value must not be modified.
The [M:SIH4]VAT1(LIG) field contains the main tax code; [M:SIH4]VAT2(LIG) and [M:SIH4]VAT3(LIG) are the secondary taxes.
ZVAT: This field, indexed from 0 to 2, contains the 3 tax codes of the line (main tax, secondary taxes).
ZRV: This field, indexed from 0 to 2, contains the 3 tax codes of the line in the tax grid [M:SIHX]NBVAT.
ZRAT: This field, indexed from 0 to 2, contains the 3 tax rates of the line.
ZBASTAX:This field, indexed from 0 to 2, contains the 3 tax bases for the line.
The ZVAT ZRV ZRAT ZBASTAX are parameters sent to the sub-program calculating taxes by line.
This sub-program is called just after calling this entry point. It returns tax bases, calculated tax amounts, the ex-tax amount and the tax-incl. amount for the line.
The entry point is thus used to intervene on these 3 tax bases.
Open tables
For the tables that are not used in all the processings, the names of the processings using them are given, knowing that:
. FUNAUTINVO: Automatic invoicing of orders
. FUNAUTINVD: Automatic invoicing of deliveries
. SUBSOH: Invoice button from the orders
. SUBSDH: Invoice button from the deliveries
. SUBSIH: Invoice function
Table |
Processing |
Significant content |
Table Title |
TABSIVTYP |
|
|
Invoice type table |
TABMODELIV |
|
|
Delivery methods table |
TABCUR |
SUBSIH SUBSOH SUBSDH |
|
Currency table |
TABSOHTYP |
SUBSOH |
|
Order type tables |
ACTIV |
FUNAUTINVO FUNAUTINVD |
|
Activity code table |
BPCUSTOMER |
|
|
Customers |
BPARTNER |
|
|
BP |
BPCUSTMVT |
|
|
Customer transactions |
BPDLVCUST |
FUNAUTINVD SUBSIH SUBSOH SUBSDH |
|
Ship-to customers |
CONTACT |
SUBSOH |
|
Contacts |
ITMMASTER |
|
|
Products |
ITMFACILIT |
FUNAUTINVO SUBSIH SUBSOH SUBSDH |
|
Product-site |
ITMSALES |
SUBSIH SUBSOH SUBSDH |
|
Product-sales |
ITMBPC |
SUBSIH SUBSOH SUBSDH |
|
Customer product |
ITMMVT |
SUBSIH SUBSOH SUBSDH |
|
Product movements |
FACILITY |
SUBSIH SUBSOH SUBSDH |
|
Sites |
SALESREP |
SUBSIH SUBSOH SUBSDH |
|
Sales reps |
PRICSTRUCT |
SUBSIH SUBSOH SUBSDH |
|
Price list structure |
SPRICLINK |
SUBSIH SUBSOH SUBSDH |
|
Price list search |
SORDER |
|
|
Order headers |
SORDERC |
SUBSDH |
|
Order early/late total |
SORDERP |
FUNAUTINVO SUBSIH SUBSOH SUBSDH |
|
Order price lines |
SORDERQ |
|
|
Order quantity lines |
SDELIVERY |
FUNAUTINVD SUBSIH SUBSDH |
|
Delivery headers |
SDELIVERYD |
FUNAUTINVD SUBSIH SUBSDH |
|
Delivery detail lines |
SINVOICE |
|
Yes |
Invoice headers |
SINVOICEV |
|
Yes |
Invoice headers |
SINVOICED |
|
|
Invoice detail lines |
SWRKINV |
FUNAUTINVO FUNAUTINVD |
|
Auto invoicing work file |
GTYPACCENT |
FUNAUTINVO FUNAUTINVD SUBSIH |
|
Entry type |
GACCCODE |
FUNAUTINVO FUNAUTINVD SUBSIH |
|
Accounting codes |
GACCCOUNT |
FUNAUTINVO FUNAUTINVD SUBSIH |
|
General ledger accounts |
STOALL |
SUBSDH |
|
Allocations |
TAXVENARG: Regional tax calculation
This entry point concerns the calculation of a sales invoice.
It is used to intervene during the regional tax calculation and can be used at 2 levels:
. Before the loading of regional taxes into the tax grid and before the calculation to replace the loading and the standard calculation.
. After the loading and the regional tax calculation to perform modifications.
This entry point is located in the TRTVENFACC processing.