Question

posting the contract through perform_review_and_post_contract MPM

  • 9 December 2022
  • 1 reply
  • 24 views

Badge +3

We are facing issue while trying to trigger a BR. The BR is triggering on Contract table and based on some requirement we are posting the contract through perform_review_and_post_contract MPM.


1 reply

Badge +3

Xml To post contract:

<perform_review_and_post_contract>

  <parameters>

    <contract_id>@contract_id</contract_id>

    <contract_version>@contract_version</contract_version>

    <review_and_post_result_out></review_and_post_result_out>

    <mm_id_out></mm_id_out>

  </parameters>

</perform_review_and_post_contract>

 

Testing:

Run the integration payload to create warranty contract

Add a product line (the contract gets posted automatically)

Update the contract end date – multiple times

(The contract should get posted automatically)

 

Issue: The contract is not getting posted each time the contract end date is updated

Analysed the issue in server log:

Constraint for contract_status changed is getting failed at some instances

Constraint for contract_status  equal to POSTEDEDIT, REVIEWED is getting failed at some instances

The BR is working for some instances

Reply