任何人都可以从默认为行的字段中澄清事件处理程序的执行,或者让我参考来源 link
Can anyone clarify the Event handler execution from a field defaulting to row persisted or refer me to a source link
我想知道每个事件处理程序如何工作以及何时触发。
还有哪个事件最适合填充自定义的 Unbound 字段。
我一直在为 Unbound 字段使用 Rowselected 事件。
根据某些消息来源,Rowselected 仅用于 UI 控件。
那么,在什么情况下我应该使用 PXFormula 来计算和填充 Unbound 字段,而不是像 Attributes
这应该可以帮助您入门。
有关事件顺序的更多详细信息,请参阅上面 link 中的条目顺序。例如,这是来自 Sequence of Events: Update of a Data Record 的图像:
对于未绑定的字段,您应该使用 PXUnboundFormulaAttribute or the FieldSelecting or RowSelecting 事件计算值。
我想知道每个事件处理程序如何工作以及何时触发。 还有哪个事件最适合填充自定义的 Unbound 字段。 我一直在为 Unbound 字段使用 Rowselected 事件。 根据某些消息来源,Rowselected 仅用于 UI 控件。
那么,在什么情况下我应该使用 PXFormula 来计算和填充 Unbound 字段,而不是像 Attributes
这应该可以帮助您入门。
有关事件顺序的更多详细信息,请参阅上面 link 中的条目顺序。例如,这是来自 Sequence of Events: Update of a Data Record 的图像:
对于未绑定的字段,您应该使用 PXUnboundFormulaAttribute or the FieldSelecting or RowSelecting 事件计算值。