Skip to main content
Solved

How to insert History Log record when update allocations or operations on Shop Order?

  • Mar 16, 2021 1:55 PM UTC
  • 3 replies
  • 302 views

hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Superhero (Customer)

We want to insert log record on Shop Order when someone update allocations or operations. I wrote the plsql script but we could not find when the event will trigger? 

 

 

PLSQL Script
Event

 

Best answer by hhy38

We customized the update revision procedure. It solved our problem.

 

 

View original
This topic has been closed for replies.

3 replies

Mohamed Infaz
Hero (Employee)
Forum|alt.badge.img+10
  • Hero (Employee)
  • Mar 16, 2021 2:23 PM UTC

Hi,

if your operation updates a column value in shop order can’t you set up history logs against shop_ord_tab ? You can tick the relevant column id on a certain even which is insert, update or delete.

 


EntNadeeL
Hero (Partner)
Forum|alt.badge.img+10
  • Hero (Partner)
  • Mar 17, 2021 4:49 AM UTC

Hi @hhy38 ,

You are trying to insert a record to History tab when materials and operations are updated in Shop order.

Therefore you can trigger event on below tables.

SHOP_ORDER_OPERATION

SHOP_MATERIAL_ALLOC_TAB.

 

Regards,

 


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • Answer
  • Jun 4, 2021 8:39 AM UTC

We customized the update revision procedure. It solved our problem.