OnDatabaseInsert Trigger

pferreirapferreira Member Posts: 22
edited 2012-11-13 in NAV Three Tier
Hi,
I've been doing some things with the CRM connector and I see that the OnDatabaseInsert trigger is now activated to track data on the NAV Side.

But it seems that it only tracks changes on the webservices tables:
pict2.png

I would like to enable for Cust. Ledger Entry and for Vendor Ledger Entry, because I would like to simulate an update on the Customer and Vendor tables.
This is because of flowfields, they (obviously) don't trigger any changes and I would like to update CRM when values from flowfields change.

Is there a way to enable for the 2 Ledger Entry tables? Thank you.

Comments

  • kinekine Member Posts: 12,562
    Look into Codeunit 5150, function UpdateParentIntegrationRecord. When updating Sles Line, it updates the Sales Header etc. You can be inspired with this...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • pferreirapferreira Member Posts: 22
    I had seen that.
    I did this a different way. Had to do some code on COD12, something simple but effective. This is solved! ;)
Sign In or Register to comment.