Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %Library.JournalRecordType
Private  Storage   

%Library.JournalRecordType


ODBC Type: VARCHAR

Datatype for display and validation of journal record types

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3


Summary


Methods
DisplayToLogical IsValid LogicalToDisplay Normalize
XSDToLogical


Methods


• classmethod DisplayToLogical(%typename As %String) as %Integer
Converts the input value %val, which is a string representing an integer, into a logical integer value.

Returns the logical integer value of the input string %val.

• classmethod IsValid(%Type As %RawString) as %Status
Tests if the logical value %val, which is an integer value, is valid. The validation is based on the class parameter settings used for the class attribute this data type is associated with. In this case, MAXVAL and MINVAL.
• classmethod LogicalToDisplay(%type As %Integer) as %String
Converts the value of %val, which is in logical integer format, into a display string. The formatting is based on the value of the FORMAT parameter.

Returns the formatted value of %val.