Skip to main content
Solved

Ideal way to deactivate a part

  • November 11, 2021
  • 4 replies
  • 291 views

Forum|alt.badge.img+7

Hi Community,

When a part is deactivated from the inventory Including sales and purchasing part, system shouldn't allow transactions for the respective part, so can someone suggest the ideal way to deactivate a part from the inventory?

Best answer by Vimukthi Mahakumbura

@Malmee Amunugama I would connect a Part Status like this to the Inventory Part. 
When I try to create transactions, it stops me with an error. 

 

If not, you could also use a custom event for this. 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

Vimukthi Mahakumbura
Superhero (Customer)
Forum|alt.badge.img+19

@Malmee Amunugama I would connect a Part Status like this to the Inventory Part. 
When I try to create transactions, it stops me with an error. 

 

If not, you could also use a custom event for this. 


william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • 479 replies
  • November 12, 2021

Hi @Malmee Amunugama ,

 

If you want the sales part to disable automatically when you make an inventory part inactive you would need to create an event and action which is triggered when the inventory part state changes to inactive.  In the event action you would need to write the plsql code to change the sales part to inactive.

 

Regards,

William Klotz


Forum|alt.badge.img+7

Hi @Vimukthi Mahakumbura 

Custom event solved the issue. 

Thanks for the help!

 

Regards,

Malmee.


Forum|alt.badge.img+7

Hi William,

 

william.klotz wrote:

Hi @Malmee Amunugama ,

 

If you want the sales part to disable automatically when you make an inventory part inactive you would need to create an event and action which is triggered when the inventory part state changes to inactive.  In the event action you would need to write the plsql code to change the sales part to inactive.

 

Regards,

William Klotz

 

Thank you for the insight!

 

Best Regards,

Malmee.

 


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