Jump to content

Triggers to child objects (SODOCUMENTENTRY)


 Share

Recommended Posts

Hi, I'm putting together a proof of concept and investigating duplicate some of the data locally.

I have implemented a trigger on the SODOCUMENT object to duplicate data, which POSTs our useful data into our onsite database. I want to also do this for the SalesOrderLines (as we internally call them or  - SODOCUMENTENTRY) However there is not a regular trigger to do this? Would SmartEvents be better suited for this?

 

Thank you

 

Miles

Link to comment
Share on other sites

  • Members

If your goal is to retrieve any changes to line items, to me it would make sense to trigger on updates to the SODOCUMENT header and then query all related lines externally that being said there are trigger capabilities on the SODOCUMENTENTRY and smart events.

  • Like 1
Link to comment
Share on other sites

Thank Louis, good idea.

 

I did find the object in the Sage UI object browser, and add a trigger there. We will probably look to doing periodic compare and update if there are any inconsistencies. However I think your suggestion we will investigate further.

Our integration with out operation system is quiet involved with a handful of finance users logging directly into Sage, This is required in the rare case where the finance team do make changes in the Sage UI, they are reflected in near real time as possible. So far the triggers are working great.

Thanks again

 

Miles

  • Thanks 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...