Accounting API Developer's Reference

c2g.FormatService

global with sharing class FormatService

This is the service class that provides constants to do with formatting in Inquiry Template and action view.

Properties

Name Type Description
SCALING_DEFAULT String Constant for using default scaling.
SCALING_NEAREST_THOUSAND String Constant for scaling to the nearest thousand.
SCALING_NEAREST_MILLION String Constant for scaling to the nearest million.
NEGATIVE_NUMBER_BRACKETS String Constant for the displaying negative numbers with brackets.
NEGATIVE_NUMBER_SIGNED String Constant for the displaying negative numbers with a sign.
NEGATIVE_NUMBER_UNSIGNED String Constant for the displaying negative numbers without a sign.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_EQUALS.
CONDITION_EQUALS
String Equals condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_NOT_EQUALS.
CONDITION_NOT_EQUALS
String Not Equals condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_CONTAINS.
CONDITION_CONTAINS
String Contains condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_STARTS_WITH.
CONDITION_STARTS_WITH
String Starts with condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_EQUALS.
CONDITION_EMPTY
String Empty condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_LESS_THAN.
CONDITION_LESS_THAN
String Less than condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_GREATER_THAN.
CONDITION_MORE_THAN
String Greater than condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_LESS_THAN_OR_EQUAL_TO.
CONDITION_LESS_THAN_OR_EQUAL_TO
String Less than or equal to condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_GREATER_THAN_OR_EQUAL_TO.
CONDITION_MORE_THAN_OR_EQUAL_TO
String Greater than or equal to condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_RANGE.
CONDITION_IN_RANGE
String InRange condition for formatting.
DEPRECATED: Conditions replaced by FilterValidator Operators, use FilterValidator.FILTER_OPERATOR_NOT_EQUALS.
CONDITION_NOT_IN_RANGE
String Not in Range condition for formatting.
DEPRECATED: No longer used.
VALUE_TYPE_NOT_NUMBER
String Sets the formatting type to a String.
DEPRECATED: No longer used.
VALUE_TYPE_NUMBER
String Sets the formatting type to a Number.