Skip to main content

I’ve created an inventory item and set-up all options/features to make the “NonStockReceiptAsService” checkbox visible in the UI.

Now, I’m trying to update this field via the PUT REST API call to no avail. If I inspect this element, it appears to be defined by the field name “NonStockReceiptAsService” but that is ignored in the PUT/update and it is not acquired/visible via the GET API call.

Hoping for more information about how to actually set this value programmatically as it only appears to be accessible via the UI (which is not ideal in an integration situation).

 

 

Added:

 

 

Have you opened your API endpoint and populated the Sales Order entity to expose this new field?  I couldn’t tell from your message if you tried this or not.   

This can be accomplished in “Web Service Endpoints” (Screen SM2070PL).  Pick the endpoint you’re working with, select sales order and click “Extend Entity” if you have not already done this.  Once that step is done, you can click the “Populate” button and use the pop-up window to find your new field and add it to the entity.  You should see something like the image attached below.  I work with a custom endpoint, so yours won’t have the name “PBC”.

 


Alrighty. I think that got me down the right path. It was just not obvious at all regarding which object that field mapped from (was definitely a bit of a searching game). Good to go.

 

Thanks!


Reply