Jump to content
  • 0

Table Changes - Seeing What Changed


jeffs88keys
 Share

Question

I have a table (Sales) where my employees enter their sales.  Occasionally  they need to modify the information in the entry (deliver date, cost, etc).  

I already have a Triggered Action that saves the original entry to a separate table (Sales_History) to maintain record of the original entry.

What I'm trying to achieve is this.....how can I see what the exact change was in the entry.....meaning...which field was changed?  Is there a method to compare the record that is in the main table (Sales) to the one that was moved to the Sales History table?

Example:  Salesperson changes the cost of the item, but all other fields remain the same.  How can I auto determine that it was the price field that changed?

Thanks !!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

It is possible with a more complex triggered action. 

The workflow varies from time to time but the basic Idea is something like this: 

First, on the table where you are saving the logs, you will need to have an extra field that will specify which change occur.

Then, you will need a block like this for every single field:
forum_sample_2.png 

I hope this helps.


 

Link to comment
Share on other sites

  • 0
13 hours ago, NiceDuck said:

It is possible with a more complex triggered action. 

The workflow varies from time to time but the basic Idea is something like this: 

First, on the table where you are saving the logs, you will need to have an extra field that will specify which change occur.

Then, you will need a block like this for every single field:
forum_sample_2.png 

I hope this helps.


 

I can see this making sense.  I'll definitely give it a shot.  Thank you !!!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...