Skip to main content
Question

Is there any way to restrict sales parts being used for identified customers?

  • November 29, 2022
  • 1 reply
  • 173 views

Forum|alt.badge.img+6
  • Sidekick (Partner)
  • 12 replies

Hello everyone, 

We need to restrict some sales parts for specific customers. Is there any smart way to handle this within the current application scope?

Cheers!

 

 

1 reply

Forum|alt.badge.img+16
  • Superhero (Employee)
  • 315 replies
  • November 29, 2022

Hi,

I can think of:

  1. Make ‘Customer Part No’ field mandatory in customer order line and then configure it in Sales Part Cross Reference for the customers that can use related sales parts. Error raised when trying to save order line and Customer Part No is empty would warn sales person to not use such part
  2. Create a custom field in Sales Part Cross Reference to indicate that such sales part is not usable for this customer (or either insert a ‘dummy’ Customer Part No to indicate that condition). Then, create a custom event triggered when creating new line that raises the desired error message if such custom field or Customer Part No has the value for ‘not usable’.

Both options need to use Sales Part Cross reference, as it’s the natural window to relate Sales Part with Customer, but perhaps you can establish naming conventions for ‘usable’ or ‘non usable’ sales parts that could also be used in custom event to trigger the error. This, would then imply more code in PL/SQL block of event action.

Regards,

Pilar


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