Skip to main content
Question

Customer Order Line using workflow

  • January 2, 2025
  • 7 replies
  • 100 views

Forum|alt.badge.img+10

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)

 

 

7 replies

Forum|alt.badge.img+1
  • Do Gooder (Employee)
  • 6 replies
  • January 6, 2025

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?

 


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 118 replies
  • January 6, 2025

@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

 


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 118 replies
  • January 6, 2025

@kamnlk any thought on this matter please?


Forum|alt.badge.img+9
  • Hero (Employee)
  • 117 replies
  • January 7, 2025

@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

 

 

 


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 118 replies
  • January 7, 2025

@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


Forum|alt.badge.img+9
  • Hero (Employee)
  • 117 replies
  • January 8, 2025

@IFSRUNINNOVAL 

have you tried using CustomerOrderLineSet for this purpose?

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

 


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 118 replies
  • January 8, 2025

thank you ​@kamnlk  i’ll try it.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings