CALC_QUO: Modification of the quote value

This entry point is used to insert additional logic at the end of each quote line in order to modify the value of the quote total as a function of the special features of the line. This entry point responds to a specific requirement and does not lead to the modification of the value of orders, shipments and invoices.  

Context and operating method

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Call context

This entry point is called for each line of the quote.

Available variables and masks

The quote header screen classes are filled:

[M:SQH0], [M:SQH1] and [M:SQH3]

The quote line screen class is on-line:

            [M:SQH2]      It is indexed by the NLIG variable that corresponds to nolign-1 .

Open tables

In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...).

Table

Significant content

Table Title

SQUOTE

No

Quote header

SQUOTED

No

Quote line

BPARTNER

Yes

Business Partner

BPCUSTOMER

Yes

Customer

BPDLVCUST

Yes

Ship-to customer

BPCUSMVT

Yes

Customer movements

ITMMASTER

Yes

Product

ITMSALES 

Yes

Sales product

ITMBPC

Yes

Products - Customers