Context OdinArchive. Perceptive Software Document Composition Studio
Publicitate
Publicitate
Context OdinArchive
About the context OdinArchive
Use this context in archiving scripts.
Properties of the context OdinArchive
Parameter Description
CurrentEnvelope Current envelope, if found.
Read-only property.
Functions
GetValue
Returns the value of the given column.
GetValue
SYNTAX
ARGUMENTS
GetValue(string columnName) columnName Column name
RETURN Column value
If the data type of the database column is DATE, DATETIME or any valid date type, the date read generally returns in the format
MM/DD/YYYY hh:mm:ss.
EXAMPLE
GetObject("DateVar","MLDate")
…
StringDateVar =
CurrentEnvelope.GetValue("ODE_CREATE_AT")
;Convert date to the required format with the help of the MLDate object
IntDateVar =
DateVar.DateStringToInt64("MM/dd/yyyy hh:mm:ss", StringDateVar ) v_LETTERDATE=
DateVar.Int64ToDateString("MM.dd.yyyy hh:mm:ss
", IntDateVar)
GetFieldNameEnumerator
Returns an enumerator.
GetFieldNameEnumerator
SYNTAX GetFieldNameEnumerator()
RETURN Enumerator with the following methods.
Method Description
Current Returns the current object.
MoveNext Moves the position to the next object to be processed.
Reset Resets the enumerator to the beginning of the first element.
300
CurrentJob
CurrentStack
Current job, if found.
Read-only property.
Functions
GetValue
Returns the value of the given column.
GetValue
SYNTAX
ARGUMENTS
GetValue(string columnName) columnName Column name
RETURN Column value
If the data type of the database column is DATE, DATETIME or any valid date type, the date read generally returns in the format
MM/DD/YYYY hh:mm:ss.
EXAMPLE
GetObject("DateVar","MLDate")
…
StringDateVar =
CurrentEnvelope.GetValue("ODE_CREATE_AT")
;Convert date to the required format with the help of the MLDate object
IntDateVar =
DateVar.DateStringToInt64("MM/dd/yyyy hh:mm:ss", StringDateVar ) v_LETTERDATE=
DateVar.Int64ToDateString("MM.dd.yyyy hh:mm:ss
", IntDateVar)
GetFieldNameEnumerator
Returns an enumerator.
GetFieldNameEnumerator
SYNTAX GetFieldNameEnumerator()
RETURN Enumerator with the following methods.
Method Description
Current Returns the current object.
MoveNext Moves the position to the next object to be processed.
Reset Resets the enumerator to the beginning of the first element.
Current stack.
Read-only property.
Functions
GetValue
Returns the value of the given column.
GetValue
SYNTAX GetValue(string columnName)
301
ARGUMENTS
RETURN columnName Column name
Column value
If the data type of the database column is DATE, DATETIME or any valid date type, the date read generally returns in the format
MM/DD/YYYY hh:mm:ss.
EXAMPLE
GetObject("DateVar","MLDate")
…
StringDateVar =
CurrentEnvelope.GetValue("ODE_CREATE_AT")
;Convert date to the required format with the help of the MLDate object
IntDateVar =
DateVar.DateStringToInt64("MM/dd/yyyy hh:mm:ss", StringDateVar ) v_LETTERDATE=
DateVar.Int64ToDateString("MM.dd.yyyy hh:mm:ss
", IntDateVar)
GetFieldNameEnumerator
Returns an enumerator.
GetFieldNameEnumerator
SYNTAX GetFieldNameEnumerator()
RETURN Enumerator with the following methods.
Method Description
Current Returns the current object.
MoveNext Moves the position to the next object to be processed.
Reset Resets the enumerator to the beginning of the first element.
Functions of the Context OdinArchive
HasData
Checks whether data exists for the given type.
HasData
SYNTAX
ARGUMENTS
RETURN
HasData(OdinDataRowType dataType) dataType
Possible values
OdinDataRowType.Process
OdinDataRowType.Stack
OdinDataRowType.Envelope
OdinDataRowType.Job
OdinDataRowType.VirtualJob
TRUE = The data row specified exists.
FALSE = The data row specified does not exist.
302
303
Descarcă
Publicitate