Create a new class that contains the display method:
[Using 'SysClientCacheDataMethodAttribute' attribute in the
display method declaration, the display method will be automatically cached on any form where it’s
used]
1 2 3 4 5 6 7 8 9 10 | public static class VendTransOpen_Extension { [SysClientCacheDataMethodAttribute(true)] Public static display amountMst displayAmountMstReverse(VendTransOpen _vendTransOpen) { Return _vendTRansOpen.amountMst * -1; } } |
On the form extension, create a new field with ‘Data Method’ property like:
VendTransOpen_Extension: displayAmountMstReverse.
Set on the field the property ‘Cache Data Method’: yes if
you don’t want to use the Attribute above
No hay comentarios:
Publicar un comentario