Skip to main content
Solved

Require Sales Order for Non-Stock

  • August 13, 2021
  • 1 reply
  • 142 views

It appears that a non-stock item can be added to a purchase order, received and paid for without ever being added to a sales order and invoiced to the customer. Is there a way to ensure that that the customer gets invoiced (e.g. requiring a sales order before creating a PO)?

Best answer by gprice27

Unless you can restrict  the user ability to add lines to a PO Manually using Roles etc - you might have to consider a customization.

This might be a bit heavy handed - but you could add a customization on the POLine to require a value in SOOrderNbr and SOLineNbr on the Persist/Save of the POLine - for Non-Stock Items…

This would force ALL PO lines with Non Stock items to be linked to a Sales Order - ie you could only create POs from Sales Orders - or Manually link the new line to an existing Sales Order before saving the line.

I would think pretty hard about enforcing this - as any restriction you put in here will impact all workflows that create a POLine (including any API integrations)….and sometimes the timing of when the POLine is saved/persisted vs when it is linked to the SOLine might be an issue. You would have to test this approach extensively before deploying it.

Perhaps it would be better to do the check when the PO is taken off hold - ie don’t allow the Remove Hold until all lines are linked to a Sales Order..?

Maybe someone else has another suggestion without needing a customization - or already has such a customization written?

regards

Grahame

 

View original
Did this topic help you find an answer to your question?

1 reply

gprice27
Jr Varsity I
Forum|alt.badge.img
  • Jr Varsity I
  • 25 replies
  • Answer
  • August 13, 2021

Unless you can restrict  the user ability to add lines to a PO Manually using Roles etc - you might have to consider a customization.

This might be a bit heavy handed - but you could add a customization on the POLine to require a value in SOOrderNbr and SOLineNbr on the Persist/Save of the POLine - for Non-Stock Items…

This would force ALL PO lines with Non Stock items to be linked to a Sales Order - ie you could only create POs from Sales Orders - or Manually link the new line to an existing Sales Order before saving the line.

I would think pretty hard about enforcing this - as any restriction you put in here will impact all workflows that create a POLine (including any API integrations)….and sometimes the timing of when the POLine is saved/persisted vs when it is linked to the SOLine might be an issue. You would have to test this approach extensively before deploying it.

Perhaps it would be better to do the check when the PO is taken off hold - ie don’t allow the Remove Hold until all lines are linked to a Sales Order..?

Maybe someone else has another suggestion without needing a customization - or already has such a customization written?

regards

Grahame

 


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