Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > How to Understand if Write and Close or Write Button Pressed?

Forum

Search UsersRules
How to Understand if Write and Close or Write Button Pressed?
#1
Active user
Points:: 0
Joined:: Sep 16, 2011

How can I find out in Script if Write and Close button or Write Button pressed?
The case is that I have a dependent table on the object form which should be updated when the object is written. But if the form will be closed right after Write and Close this is not necessary and I would like to skip this update. How can I do that?

Profile
#2
Just came
Points:: 12
Joined:: Nov 23, 2011

In this case you can delete default buttons and ad new ones (with new scripts)

Profile
#3
Active user
Points:: 0
Joined:: Sep 16, 2011

Thank you, maxd!
I've added a save and refresh button.
It works, but if it is a common solution? Looks like I have to override the control bar buttons every time I just want to do this simple dirrefence.

Profile
#4
Just came
Points:: 12
Joined:: Nov 23, 2011

Yes, it's a common solution

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.