Editar

Partilhar via


UpdatePropagation Property

Version: Available or changed with runtime version 1.0.

Sets a value that specifies what happens when a main page with a subpage is updated. The UpdatePropagation property is available on part controls and has two options; Subpage and Both. If UpdatePropagation is set to Subpage, an update action will update the subpage only. If UpdatePropagation is set to Both, an update action will update both the main page and the subpage. This is useful if a value on the subpage changes, and you want a main page total to be refreshed automatically.

Applies to

  • Page Part
  • Page System Part
  • Page Chart Part

Property value

Value Available or changed with Description
SubPart runtime version 1.0 An update action will update the subpage only
Both runtime version 1.0 An update action will update both the main page and the subpage

Syntax

 UpdatePropagation = Both;

Remarks

Use the UpdatePropagation property to update a main page total, when the amount on the subpage lines is updated. Add a CurrPage.Update(); call, for example, in the OnValidate trigger on the subpage to have the UpdatePropagation property take effect.

Properties