web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Error when creating work order product using JS

(0) ShareShare
ReportReport
Posted on by 587

Hi,

I am getting below error when creating work order product via JS. I have set product as Inventory in field service. Still getting this issue? Any Idea?

The product can only be a product with the Field Service product type of Inventory or Non Inventory.

Regards

Samira

I have the same question (0)
  • Suggested answer
    Thomas David Dayman Profile Picture
    11,323 on at
    RE: Error when creating work order product using JS

    If you go directly to Product record you that you are trying to use on the Work Order Product, you will find a field called 'Field Service Product Type'. To use Work Order Products in Field Service then the Product will need to be of type 'Inventory' or 'Non Inventory'.

  • Community Member Profile Picture
    on at
    RE: Error when creating work order product using JS

    Hi Samira Mirza,

    Could you provide the JS code?

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 46 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 40

#3
CU23101130-0 Profile Picture

CU23101130-0 17

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans