on 2023 Jan 12 10:22 AM
Hi,
We have a requirement to add a child item in the provider contract via API.
Currently, we are using method CL_CRM_ISX_PROV_ORDER_API_PRXY=>CONTRACT_CHANGE for our processes. For adding the new child item, we are passing the process type ISTA and BTMF process NEW_CHANGEORDER and tables ORDERADM_I (including parent item number) and SCHEDLINE are passed in the process attributes of the API. It is creating a follow up order but the new item is not getting added.
Is it possible to achieve the requirement using this API or how to correctly pass the new item data to this API?
Thank you.
Request clarification before answering.
Hi,
The NEW_CHANGEORDER process does not accept container attributes and it is not meant to be executed via the API. It is meant to be used via the UI.
Currently there is no standard change process that supports the addition of a sub item to an existing Subscription Contract via the Subscription Contract Change Process SOAP API (SubscriptionContractChangeProcessRequest_In) (within which the class you have mentioned is used in).
There is a change process ADD_SUBITEM which was built to support the addition of sub items via the Change Quotation API (OData service API_BUS_SOLUTION_QUOTATION_SRV).
If you need to add a sub item using the SOAP API then you would have to build a custom change process which accepts container attributes such as product, quantity, parent item, price etc. and then using these container attributes the sub item data is to be prepared and passed into the order_maintain in either the START or FINISH of the custom process.
Thanks,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
3 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.