Skip to main content

Hey!
 

We receive customer sales orders via external EDI integration. The inbound JSON payload is correctly processed by IFS, and the sales order is successfully created in the system. The item EAN (GTIN) is included in the JSON and is correctly matched to the internal part using the Sales Part Cross Reference setup.

Problem:
Although the matching of the part using the EAN works as expected, the system does not apply the quantity or price conversion factor defined in the Sales Part Cross Reference (conversion factor field). As a result, the ordered quantity and unit price are not converted accordingly when the order is created.

Question:
Is there a specific field, tag, or switch that must be included in the inbound JSON for IFS to apply the defined conversion factor from the Sales Cross Reference? Or is there any setting or configuration that needs to be enabled to allow this automatic conversion?

Goal:
We want the conversion factor to be dynamically applied from the Sales Cross Part Reference, instead of hardcoding quantity or price transformation in the integration layer (e.g., in the transformer).

Above is JSON content.

@kacperifs Based on the message example, it doesn't look like you’re using GTIN - solely the customer part no.

If you use just the customer part no and there is a corresponding row in the Sales Part Cross Reference, then the CustomerSalesQty should get multiplied against the ConvFactor on the Sales Part Cross Reference row.  

There aren’t any additional value that are required to be sent to my knowledge.  


Hi ​@astfarazt 

Thank you for your reply. Do you have a link or file with documentation for this endpoint? I can't find it myself.


Hi ​@kacperifs The only documentation I’m aware of is from the API Explorer.

If you navigate to API Explorer (Solution Manager/Integration/API Explorer) and search for API Name SalesMessageService.  You can select that row and choose the Documentation Command group then select API Doc.  


Reply