can you show a screen shot (or two) of the layout mode for both that shows the context?
It will show:
Layout: (and the drop down with the layout name), a pencil/edit icon, Table: (and the name of the Table Occurrence on your relationship graph)
If Beverly hadn't already asked, I would have asked the same.
Тhe script does not work when there is a change in fields in layout Phone.
Just to check on something. That sounds like you have script triggers that perform this script when data is altered. Otherwise, I don't see how the script can track any changes anywhere.
As triggers have to be set on each layout where you want them, did you set the same triggers on both layouts?
What triggers did you set up?
And by what methods do you modify data in this table? Manually editing data or via a script?
I found my problem. In Script Triggers. I have check “OnRecordCommit”. But only for Powermeters layout. While reading your comments I realized where my error. I open the layout Phone and set check “OnRecordCommit” and set the script.
Thank you all.