AutoFormat... properties allow you to control presentation from a triggers in Codeunit 1 (AutoFormatTranslate). It not only allows you to change the presentation of many similar fields at once, but also allows you to control it from data and it allows you to change presentation based on parameters.
e.g. amounts show the number of digits after the decimal point based on the currency code and settings in the general ledger setup.
The two properties are not alternatives. Rather AutoFormatExpression is intended to be used as a parameter to functions determined by AutoFormatType. The function then returns a format in the same form as used by the Format property.
(The current implementation does not actually use separate functions but rather sections in a CASE statement.)
AutoFormat... properties allow you to control presentation from a triggers in Codeunit 1 (AutoFormatTranslate). It not only allows you to change the presentation of many similar fields at once, but also allows you to control it from data and it allows you to change presentation based on parameters.
e.g. amounts show the number of digits after the decimal point based on the currency code and settings in the general ledger setup.
The two properties are not alternatives. Rather AutoFormatExpression is intended to be used as a parameter to functions determined by AutoFormatType. The function then returns a format in the same form as used by the Format property.
(The current implementation does not actually use separate functions but rather sections in a CASE statement.)
AutoFormat... properties allow you to control presentation from a triggers in Codeunit 1 (AutoFormatTranslate). It not only allows you to change the presentation of many similar fields at once, but also allows you to control it from data and it allows you to change presentation based on parameters.
e.g. amounts show the number of digits after the decimal point based on the currency code and settings in the general ledger setup.
The two properties are not alternatives. Rather AutoFormatExpression is intended to be used as a parameter to functions determined by AutoFormatType. The function then returns a format in the same form as used by the Format property.
(The current implementation does not actually use separate functions but rather sections in a CASE statement.)
Answers
AutoFormat... properties allow you to control presentation from a triggers in Codeunit 1 (AutoFormatTranslate). It not only allows you to change the presentation of many similar fields at once, but also allows you to control it from data and it allows you to change presentation based on parameters.
e.g. amounts show the number of digits after the decimal point based on the currency code and settings in the general ledger setup.
The two properties are not alternatives. Rather AutoFormatExpression is intended to be used as a parameter to functions determined by AutoFormatType. The function then returns a format in the same form as used by the Format property.
(The current implementation does not actually use separate functions but rather sections in a CASE statement.)
Thank you, I understand it now.