Newly created doc with “Formulas inherit values from selected document”, is not inheriting field values.
SCENARIO:
The user clicks an action button which closes one document and creates another.
The newly created document has the following option clicked: “Formulas inherit values from selected document”.
Below is the code that closes the first document and creates the second:
@do(
@PostedCommand([Compose];"formname");
@PostedCommand([FileCloseWindow])
)
This code is located in an action button.
RESULTS:
-works fine in versions 5,6,7.
-works fine in version 8.0.1 Basic.
-However, it is inconsistent in version 8.0.1 standard.
For 1 user with 8.0.1 Standard, the field values are always inherited.
For 2 users with 8.0.1 Standard, the field values are never inherited.
When I remove the @PostedCommand([FileCloseWindow]), the code works for all users (works meaning the field values are inherited by the newly created document.)
I don’t know why it works for 1 user with 8.0.1 Standard but not for the others.
Are there any known problems with inheritance in version 8.0.1?
Is there a change in the execution order of the @PostedCommand?
Is there information about how this option actually works? Does this option depend on certain drivers or require certain permissions? It all happens behind the scene, so there is no real way to debug.
Is there something else, something that I have failed to consider?
Any help would be greatly appreciated.
Thank You
Tony