Skip to main content

We are trying to creat customer order lines using workflow but encoutouring the following error : 

 

IFS should provide the LineNo as a result of that call, why the LineNo is asked as a mandatory field?

 

I hava attached a simple workflow but some variable should be adapted for your system if needed (define a local part and customer order and contract)

 

 

I’m not sure about the domain here. But did you try with a LineNo ?. When you do the same using the UI, the LineNo is auto generated?

 


@Chanaka Perera , we are trying to creat a new customer order line  on ann existing customer order.

The line No is generated populating the line with a sales part then saving it

 

Regards

 


@kamnlk any thought on this matter please?


@IFSRUNINNOVAL 

I think in here the CustomerOrderLine has LineNo, RelNo, OrderNo, LineItemNo attributes defined as keys. So the workflow requires these values to be defined. You can see this defined in the projections metadata as well

url:

<hostname>/main/ifsapplications/projection/v1/CustomerOrderHandling.svc/$metadata

 

 

 


@kamnlk thank you for the response.

I agree, but i can’t figure out if there is a solution to not pass those fields and IFS attribut the LineNo.. automatcly.

Currently, using IFS REST API, the LineNo is generated automaticly. that’s why perhaps there is a way to no pass the LineNo


@IFSRUNINNOVAL 

have you tried using CustomerOrderLineSet for this purpose?

 I think that should be able to do what you are trying to do 

 


thank you ​@kamnlk  i’ll try it.


Reply