MAJDELTA: Used to intervene in the commitment amounts to be updated

This entry point, located in the FUNUTICMM Commitment resynchronization process, generates an action "MAJDELTA".

The goal of this action is to give the possibility to intervene on the commitment or pre-commitment amounts to be updated by taking into account, for example, the non recoverable VAT amounts.

Context and operating method

Transaction

There is no transaction in process.

Log file

There is an open log file.

Different call cases

The call is also made upon commitments and pre-commitments resynchronization.

This call is made immediately before comparing the amount already committed and the amount of the element (order or purchase request)

Available variables and classes

The following variables are loaded at the time of the call to the "MAJDELTA" action.

WTYPMAJ

Code that is used to identify the context

10 = Pre-commitments resynchronization

           The [F :PSD] file class is loaded and available

           WTOTCUR: Pre-commitment amount already recorded in the document currency[F :PSD]CUR

           WMONTANT : Amount of the element in the document currency[F :PSD]CUR

This is the amount of the element that needs to be modified in order to impact the pre-commitment difference

Note: the difference will then be determined by subtracting these two amounts

WDELTACUR: WMONTANT - WTOTCUR  

11 = Commitments resynchronization
           The file classes [F :POP] and [F :POQ] are loaded and available.

           WTOTCUR: Commitment amount already recorded in the document currency[F :POH]CUR

           WCUMMONTANT: Amount of the element in the document currency[F :POH]CUR

This is the amount of the element that needs to be modified in order to impact the commitment difference

Note: the difference will then be determined by subtracting these two amounts

WDELTACUR: WCUMMONTANT - WTOTCUR  

  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

PORDER

 Yes

Purchase order headers

PORDERP

 Yes

Purchase order line prices

PORDERQ

 Yes

Purchase order line quantities

PREQUIS

 Yes

Purchase request headers

PREQUISD

 Yes

Purchase request lines