I've been creating Purchase Order for a certain project in FO. When adding a PO line for this item with a Service Product type this error occurs
Unable to write data to entity msdyn_purchaseorderproducts.Writes to PurchPurchaseOrderLineCDSEntity failed with error message Request failed with status code BadRequest and CDS error code : 0x80040265 response message: A product can only be a product with the Field Service product type of /Inventory/ or /Non Inventory./. Activity ID for troubleshooting {BCD391FD-0627-469C-AE82-879D3F0703F1}.
Do I have to change the Field Service Product type of this item? If so, do you have an idea how to do it?
I have followed the steps how to create PO for non-stocked/service items but I bumped into this error so I can not proceed with the PO.
Is there a problem with the configuration of the items in released products? Here is the set-up of the item? Do I have to set this up as Item?
This error comes from a dual-write action. Can you check the details of this product in Dynamics 365 Field Service if it meets the requirement as being validated in the error?
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.