Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

While using cypressCypress, in order to add/modify entries in PP tables through Pricfx Pricefx APIs( instead of the gui), we just need to carry out the following steps:

  1. Add the following command to commands.js of cypressCypress

 

Cypress.Commands.add('insertDataToPPTable', (file) => {

...

c)       tableId is the id of the PP table into which the data needs to be inserted. The table id can be found using the following request in postman(refer to the screenshot below for an example):

(info) https://<urlOfTheCustomerApplication>/pricefx/automation/lookuptablemanager.fetch

...

                "lastUpdateBy": 447,

                "id": 174,

                "isPlasma": false

...