Table 18122323 EOS004 EAN128 Buffer
Table 18122323 EOS004 EAN128 Buffer
Fields
Sequence (10)
Integer
AI Code (20)
Code[4]
Decimal Places (200)
Integer
Encoded Value (305)
Text[1024]
Methods
Fnc1Token
procedure Fnc1Token(): Text
Gets the string token to be used for the FNC1 character.
Parameters / Return Value
- Returns Text[]
Fnc1Token
procedure Fnc1Token(NewValue: Text)
Sets the string token to be used for the FNC1 character.
Parameters / Return Value
- NewValue - Text[]- The new value. 
AddNew
procedure AddNew(AICode: Code[4])
Adds a new record to the buffer for the specified application identifier.
Parameters / Return Value
- AICode - Code[4]- The application identifier code. 
AddNew
procedure AddNew(AICode: Code[4]; NewValue: Variant)
Adds a new record to the buffer for the specified application identifier and sets the value.
Parameters / Return Value
- AICode - Code[4]- The application identifier code. 
- NewValue - Variant- The new value. 
SetValue
procedure SetValue(VariantValue: Variant)
Sets the value of the current record.
Parameters / Return Value
- VariantValue - Variant- The new value. 
SetValue
procedure SetValue(DecimalValue: Decimal)
Sets the value of the current record from a decimal. This will set the value with zero decimal places.
Parameters / Return Value
- DecimalValue - Decimal- The decimal value. 
SetValue
procedure SetValue(DecimalValue: Decimal; DecimalPlaces: Integer)
Sets the value of the current record from a decimal.
Parameters / Return Value
- DecimalValue - Decimal- The decimal value. 
- DecimalPlaces - Integer- The number of decimal places to store. 
SetValue
procedure SetValue(DecimalValue: Decimal; DecimalPlaces: Integer; CurrencyCode: Code[10])
Sets the value of the current record from a decimal and a currency code.
Parameters / Return Value
- DecimalValue - Decimal- The decimal value. 
- DecimalPlaces - Integer- The number of decimal places to store. 
- CurrencyCode - Code[10]- If specified, the ISO code of the given currency code is added to the value. 
SetValue
procedure SetValue(DecimalValue: Decimal; DecimalPlaces: Integer; CurrencyIsoCode: Integer)
Sets the value of the current record from a decimal and a currency ISO code.
Parameters / Return Value
- DecimalValue - Decimal- The decimal value. 
- DecimalPlaces - Integer- The number of decimal places to store. 
- CurrencyIsoCode - Integer- If this is not zero, the ISO code is added to the value. 
SetValue
procedure SetValue(IntegerValue: Integer)
Sets the value of the current record from an integer without any decimal places.
Parameters / Return Value
- IntegerValue - Integer- The integer value. 
SetValue
procedure SetValue(DateValue: Date)
Sets the value of the current record from a date in the GS1-128 format YYMMDD.
Parameters / Return Value
- DateValue - Date- The date value. 
SetRawValue
procedure SetRawValue(NewValue: Text)
Sets the value of the current record from a raw text value. This will perform no data validation (aside from the maximum length of the value).
Parameters / Return Value
- NewValue - Text[]- The new value. 
SetValue
procedure SetValue(TextValue: Text)
Sets the value of the current record from a text value. If the data type is numeric, the text value must also be numeric.
Parameters / Return Value
- TextValue - Text[]- The text value. 
Encode
procedure Encode(): Text
Encodes the current instance to a EAN128 string that can be passed to the barcode library for rendering.
Parameters / Return Value
- Returns Text[]
Encode
procedure Encode(HumanReadable: Boolean): Text
Encodes the current instance to a EAN128 string that can be passed to the barcode library for rendering.
Parameters / Return Value
- HumanReadable - Boolean- If true is specified, the string will be human-readable. A human-readable barcode can not be rendered by the barcode library. This is usually printed below the actual barcode. 
- Returns - Text[]
GetValueAsText
procedure GetValueAsText(): Text
Returns the value of the current record as a string.
Parameters / Return Value
- Returns Text[]
DataType
procedure DataType(): enum EOS004_EAN128DataType
Indiciates whether the value of the current record is supposed to be a date (according to the application identifier’s data type)
Parameters / Return Value
- Returns enum "EOS004_EAN128DataType"
GetValueAsDate
procedure GetValueAsDate(): Date
Returns the value of the current record as a date.
Parameters / Return Value
- Returns Date
TryGetValueAsDate
procedure TryGetValueAsDate(var DateValue: Date)
Returns the value of the current record as a date. This is a TryFunction
Parameters / Return Value
- DateValue - Date- The resulting date value. 
GetValueAsDecimal
procedure GetValueAsDecimal(): Decimal
Returns the value of the current record as a decimal.
Parameters / Return Value
- Returns Decimal
TryGetValueAsDecimal
procedure TryGetValueAsDecimal(var DecimalValue: Decimal)
Returns the value of the current record as a decimal. This is a TryFunction
Parameters / Return Value
- DecimalValue - Decimal- The resulting decimal value. 
GetValueAsInteger
procedure GetValueAsInteger(): Integer
Returns the value of the current record as an integer.
Parameters / Return Value
- Returns Integer
TryGetValueAsInteger
procedure TryGetValueAsInteger(var IntValue: Integer)
Returns the value of the current record as an integer. This is a TryFunction
Parameters / Return Value
- IntValue - Integer- The resulting integer value. 
GetRawValue
procedure GetRawValue(): Text
Returns the raw EAN128-Encoded value.
Parameters / Return Value
- Returns Text[]
HasValue
procedure HasValue(): Boolean
Specifies if the current record has a value.
Parameters / Return Value
- Returns Boolean
Decode
procedure Decode(Ean128String: Text)
Parameters / Return Value
- Ean128String Text[]
GetByAICode
procedure GetByAICode(AiCode: Code[4])
Parameters / Return Value
- AiCode Code[4]
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.