0 votes

Hello,

Is there a way to use FiledModified method to know if field like PRICE has been changed on relation prod_oppo?

Thank you in advance for your help.

Best Regards.

asked in WorkFlow / Serverscript by (559 points)

1 Answer

0 votes
Best answer

There is no API method to know if a detail field was changed, only the method DetailModified will indicate you if anything was changed at all to the complete detail dataset. Typically, this should be sufficient.

If it's really important to detect it, in the BeforeCommitOppo even, you can query the database and compare the previous state (=SQL) with the current state (getDetailDataSet) field by field.

answered by (6.8k points)
selected by
Hello Kristof,

I thought so also, but i wanted to make sure there's no other way to do it :)

Thank you a lot for your help and advise.
1,165 questions
1,423 answers
1,713 comments
325 users