Skip to main content
Question

posting the contract through perform_review_and_post_contract MPM

  • December 9, 2022
  • 1 reply
  • 30 views

Forum|alt.badge.img+3
  • Do Gooder (Partner)
  • 4 replies

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

Forum|alt.badge.img+3
  • Author
  • Do Gooder (Partner)
  • 4 replies
  • December 10, 2022

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