Commission

CommissionX is a plugin that defines the contracted / expected commission in cases where the supplier is not able to send it via integration.

CommissionX

Goals

CommissionX is a plugin that defines the contracted / expected commission in cases where the supplier is not able to send it via integration. These commissions are defined through the plugin so as not to lose the options in which we do not know the type of price sent, since this information is established at contract level between client-supplier. Different commissions can be applied according to the different rules depending on the format that we will described next. The commission that is loaded in the FTP is interpreted like a Gross commission, that is, the commission or profit is included in the price.

Files needed to use this plugin

  • Sequential Commission file format (Mandatory). If the columns chainCodes,destinationCodes are informed then it is mandatory to upload group file.

  • Group file format (Optional)

    • This file will be necessary in case you want to apply rules depending on a grouping of codes that depend on a context. For this case, it is necessary that you pass with the entity.

Observation

Although the group file is optional if this file is informed before the commission file the values will be used from the group file.

How we make it

We read sequentially the commission file if the columns chainCodes,destinationCodes are informed then it is mandatory to upload group file to be able to read these values from the group file.

Possible values entity filename

Entity chainCodes destinationCodes hotelCodes
hotel Yes Yes No
destination Yes No Yes

Execution example

It is not necessary to specify it in Query (Settings->Plugins)


Comments