Skip to main content
Solved

Purchase Component (Customer Order method) – can the CO line supply code be set to Primary Supplier Direct instead of Inventory Order?

  • October 22, 2026
  • 3 replies
  • 25 views

Forum|alt.badge.img

Hi all,

IFS Cloud 25R2. We use subcontracting with Purchase Component Method = Customer Order on the site.

Setup:

  • Purchase part JH1300 is bought from supplier A and has a purchase part structure with three components: JH1310 and JH1315 (bought from supplier B), and JH1335 (manufactured in-house).
  • All three components are also sales parts. For JH1310 and JH1315 the sales part sourcing option is Primary Supplier Direct, with supplier B as primary supplier on the purchase part. For JH1335 it is Shop Order.
  • Supplier A is also set up as a customer.

What we want: when the PO for JH1300 is released, JH1310 and JH1315 should be ordered from supplier B and delivered directly to supplier A (no stock receipt on our site), while JH1335 is manufactured by us and shipped to supplier A.

What happens: when we release the PO, a customer order is created for supplier A with lines for all three components, but the supply code on every line is Inventory Order. The sourcing option defined on the sales parts is ignored. We can change the supply code manually, but we would like it to be set automatically.

Questions:

  1. Where does the supply code on customer order lines created from a purchase component come from? Is it hard coded to Inventory Order, as it seems to be for internal customer orders created from distribution orders?
  2. Is there a standard setting or sourcing rule that makes these lines use the sales part sourcing option?
  3. If not, what is the recommended way to handle components that should be direct delivered from another supplier to the subcontractor? Custom event, a separate customer order, or something else?
  4. If we change the supply code manually to Purchase Order Direct after release, is the requisition/PO for supplier B created and Register Direct Delivery then updates the CO line as delivered?

Thanks!

Best answer by Piyal Perera

Hi ​@juhanaha 

I will answer 1st and the last question. Hope that can satisfy your requirements.

Question 1:

  • It is NOT hard-coded on the Customer Order line.
  • When the Customer Order line is generated to deliver components to the subcontractor, IFS explicitly copies the supply code and primary supplier directly from the purchase component record.

Where does 'supply code' on the purchase component come from?

  • It is Automatic generation from structure. For non-project orders, using the active Sales Part linked to that component part.
  • Manual entry in Purchase Order Line Components: If a user adds the component line manually on the purchase order, sets the client default to 'Invent Order'
  • Project-connected POs, any way restricted to 'Invent Order' or 'Project Inventory'

Question 4:
Yes, the complete end-to-end flow works seamlessly.

regards,

Piyal
 

View original

3 replies

Forum|alt.badge.img+11
  • Hero (Employee)
  • October 22, 2026

Hi ​@juhanaha  I’m not able to attach a print screen at this time.  The Sourcing Option on the Sales Part controls the Supply Code on the Customer Order Line.

 

Please test with the different Sourcing Options on the Sales Part to see if you’re getting the expected results on the Customer Order Line.  Thanks!  Jane

 

 


Piyal Perera
Hero (Partner)
Forum|alt.badge.img+12
  • Hero (Partner)
  • Answer
  • October 22, 2026

Hi ​@juhanaha 

I will answer 1st and the last question. Hope that can satisfy your requirements.

Question 1:

  • It is NOT hard-coded on the Customer Order line.
  • When the Customer Order line is generated to deliver components to the subcontractor, IFS explicitly copies the supply code and primary supplier directly from the purchase component record.

Where does 'supply code' on the purchase component come from?

  • It is Automatic generation from structure. For non-project orders, using the active Sales Part linked to that component part.
  • Manual entry in Purchase Order Line Components: If a user adds the component line manually on the purchase order, sets the client default to 'Invent Order'
  • Project-connected POs, any way restricted to 'Invent Order' or 'Project Inventory'

Question 4:
Yes, the complete end-to-end flow works seamlessly.

regards,

Piyal
 


Forum|alt.badge.img
  • Author
  • Do Gooder (Partner)
  • October 23, 2026

Hi, 

Thank you ​@Piyal Perera and ​@Jane Perry!

I had connected the purchase order to a project activity; consequently, the Customer Order Line did not inherit the Supply Option from the Sales Part’s Sourcing Option. In this case, the Supply Option is derived directly from the Purchase Components—where it appears as "Project Inventory" due to the project connection.

Therefore, I can manually change the Supply Option on the Customer Order Line and run PMRP, which will update the Purchase Requisitions and Shop Order Requisitions to reflect the correct demand code.

regards,

Juhana