Microsoft Dataverse - Learn how to effectively manage your sales order by utilizing this template designed for fulfilling sales orders as either partial or complete

Microsoft Dataverse - A Template to Fulfilled Sales Order as PARTIAL or COMPLETE

Learn how to effectively manage your sales order by utilizing this template designed for fulfilling sales orders as either partial or complete. By leveraging this template, you can accurately handle the fulfillment of your sales orders.

Fulfillment of sales orders as Complete
  1. <?xml version="1.0" encoding="utf-16"?>
  2. <Parameters>
  3. <RestConnection>Dataverse</RestConnection>
  4. <Method>POST</Method>
  5. <Url>/salesorders/Microsoft.Dynamics.CRM.FulfillSalesOrder</Url>
  6. <ContentType>application/json</ContentType>
  7. <IsBodyFile>False</IsBodyFile>
  8. <Body>
  9. <![CDATA[{
  10.   "OrderClose": {
  11.     "@odata.type": "#Microsoft.Dynamics.CRM.orderclose",
  12.     "salesorderid@odata.bind": "/salesorders([salesorderId])",
  13.     "description": null,
  14.     "ownerid_orderclose@odata.bind": "/systemusers([ownerId]])",
  15.     "statecode":"3"
  16.   },
  17.   "Status": 100001
  18. }]]>
  19. </Body>
  20. <Transform>function transform(content) { return content; }</Transform>
  21. <IsResultFile>False</IsResultFile>
  22. <IsErrorResultFile>False</IsErrorResultFile>
  23. <Retry>False</Retry>
  24. <Condition>function transform(result) { return false; }</Condition>
  25. <Pause>10</Pause>
  26. <MaxRetries>1000</MaxRetries>
  27. </Parameters>
Fulfillment of sales orders as Partial
  1. <?xml version="1.0" encoding="utf-16"?>
  2. <Parameters>
  3. <RestConnection>Dataverse</RestConnection>
  4. <Method>POST</Method>
  5. <Url>/salesorders/Microsoft.Dynamics.CRM.FulfillSalesOrder</Url>
  6. <ContentType>application/json</ContentType>
  7. <IsBodyFile>False</IsBodyFile>
  8. <Body>
  9. <![CDATA[{
  10.   "OrderClose": {
  11.     "@odata.type": "#Microsoft.Dynamics.CRM.orderclose",
  12.     "salesorderid@odata.bind": "/salesorders([salesorderId])",
  13.     "description": null,
  14.     "ownerid_orderclose@odata.bind": "/systemusers([ownerId]])",
  15.     "statecode":"3"
  16.   },
  17.   "Status": 100002
  18. }]]>
  19. </Body>
  20. <Transform>function transform(content) { return content; }</Transform>
  21. <IsResultFile>False</IsResultFile>
  22. <IsErrorResultFile>False</IsErrorResultFile>
  23. <Retry>False</Retry>
  24. <Condition>function transform(result) { return false; }</Condition>
  25. <Pause>10</Pause>
  26. <MaxRetries>1000</MaxRetries>
  27. </Parameters>





    Book a Presales Call


    Are you new to COZYROC and evaluating our solutions? 
    Book a Presales Call with us now and get 5% off SSIS+.