Solved

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

  • 16 March 2021
  • 3 replies
  • 217 views

Userlevel 5
Badge +14
  • Hero (Customer)
  • 275 replies

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

 

icon

Best answer by hhy38 4 June 2021, 10:39

View original

This topic has been closed for comments

3 replies

Userlevel 5
Badge +10

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.

 

Userlevel 5
Badge +9

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,

 

Userlevel 5
Badge +14

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