Skip to main content
Solved

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

  • March 16, 2021
  • 3 replies
  • 257 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.

 

 

This topic has been closed for replies.

3 replies

Mohamed Infaz
Hero (Employee)
Forum|alt.badge.img+10
  • Hero (Employee)
  • March 16, 2021

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)
  • March 17, 2021

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
  • June 4, 2021

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