Table 18122345 EOS Record Ident. Buffer
Provides easy conversions from and to a SourceType-SourceSubtype-SourceId-Pair to a RecorcRef. Also serves as a record identification buffer for function abstraction.
Language | Caption |
---|---|
da-DK | Record Identification Buffer |
de-AT | Record Identification Buffer |
de-CH | Record Identification Buffer |
de-DE | Record Identification Buffer |
en-AU | Record Identification Buffer |
en-CA | Record Identification Buffer |
en-GB | Record Identification Buffer |
en-NZ | Record Identification Buffer |
es-ES | Registro de identificación de búfer |
es-MX | Registro de identificación de búfer |
fr-BE | Record Identification Buffer |
fr-CA | Record Identification Buffer |
fr-CH | Record Identification Buffer |
fr-FR | Record Identification Buffer |
en-US | Record Identification Buffer |
it-CH | Record Identification Buffer |
it-IT | Record Identification Buffer |
nl-BE | Record Identification Buffer |
nl-NL | Record Identification Buffer |
1
)Integer
The primary key.
Language | Caption |
---|---|
da-DK | # Nr |
de-AT | Lfd. Nr. |
de-CH | Lfd. Nr. |
de-DE | Lfd. Nr. |
en-AU | Entry No. |
en-CA | Entry No. |
en-GB | Entry No. |
en-NZ | Entry No. |
es-ES | Entrada Nº |
es-MX | Entrada Nº |
fr-BE | No. d’entrée |
fr-CA | No. d’entrée |
fr-CH | No. d’entrée |
fr-FR | No. d’entrée |
en-US | Entry No. |
it-CH | Nr. movimento |
it-IT | Nr. movimento |
nl-BE | Entry No. |
nl-NL | Entry No. |
10
)Integer
The Table ID of the record.
Language | Caption |
---|---|
da-DK | Kilde Type |
de-AT | Herkunftsart |
de-CH | Herkunftsart |
de-DE | Herkunftsart |
en-AU | Source Type |
en-CA | Source Type |
en-GB | Source Type |
en-NZ | Source Type |
es-ES | Tipo de fuente |
es-MX | Tipo de fuente |
fr-BE | Type de Source |
fr-CA | Type de Source |
fr-CH | Type de Source |
fr-FR | Type de Source |
en-US | Source Type |
it-CH | Tipo origine |
it-IT | Tipo origine |
nl-BE | Bron Type |
nl-NL | Bron Type |
11
)Option
"0"
(0) , "1"
(1) , "2"
(2) , "3"
(3) , "4"
(4) , "5"
(5) , "6"
(6) , "7"
(7) , "8"
(8) , "9"
(9) , "10"
(10)
The Document Type (if applicable) of the record.
Language | Caption |
---|---|
da-DK | Kilde Undertype |
de-AT | Herkunftsunterart |
de-CH | Herkunftsunterart |
de-DE | Herkunftsunterart |
en-AU | Source Subtype |
en-CA | Source Subtype |
en-GB | Source Subtype |
en-NZ | Source Subtype |
es-ES | Subtipo fuente |
es-MX | Subtipo fuente |
fr-BE | Source Subtype |
fr-CA | Source Subtype |
fr-CH | Source Subtype |
fr-FR | Source Subtype |
en-US | Source Subtype |
it-CH | Sottotipo origine |
it-IT | Sottotipo origine |
nl-BE | Source Subtype |
nl-NL | Source Subtype |
12
)Code[20]
The ID / “No.” of the record. This contains the template name for journal line type records.
Language | Caption |
---|---|
da-DK | Kilde-ID |
de-AT | Herkunfts-ID |
de-CH | Herkunfts-ID |
de-DE | Herkunfts-ID |
en-AU | Source ID |
en-CA | Source ID |
en-GB | Source ID |
en-NZ | Source ID |
es-ES | ID de origen |
es-MX | ID de origen |
fr-BE | ID Source |
fr-CA | ID Source |
fr-CH | ID Source |
fr-FR | ID Source |
en-US | Source ID |
it-CH | ID origine |
it-IT | ID origine |
nl-BE | Bron ID |
nl-NL | Bron ID |
13
)Code[10]
The batch name of the record. Only valid for journal line type records.
Language | Caption |
---|---|
da-DK | Kilde Kladdenavn |
de-AT | Herkunftsbuch.-Blattname |
de-CH | Herkunftsbuch.-Blattname |
de-DE | Herkunftsbuch.-Blattname |
en-AU | Source Batch Name |
en-CA | Source Batch Name |
en-GB | Source Batch Name |
en-NZ | Source Batch Name |
es-ES | Fuente Nombre del lote |
es-MX | Fuente Nombre del lote |
fr-BE | Lot Nom de la source |
fr-CA | Lot Nom de la source |
fr-CH | Lot Nom de la source |
fr-FR | Lot Nom de la source |
en-US | Source Batch Name |
it-CH | Nome batch origine |
it-IT | Nome batch origine |
nl-BE | Bron batchnaam |
nl-NL | Bron batchnaam |
14
)Integer
The prod. order line no..
Language | Caption |
---|---|
da-DK | Kilde Prod. Bestil Linje |
de-AT | Herkunfts-FA-Zeile |
de-CH | Herkunfts-FA-Zeile |
de-DE | Herkunfts-FA-Zeile |
en-AU | Source Prod. Order Line |
en-CA | Source Prod. Order Line |
en-GB | Source Prod. Order Line |
en-NZ | Source Prod. Order Line |
es-ES | Prod fuente. Fila para ordenar |
es-MX | Prod fuente. Fila para ordenar |
fr-BE | Prod Source. Ligne de commande |
fr-CA | Prod Source. Ligne de commande |
fr-CH | Prod Source. Ligne de commande |
fr-FR | Prod Source. Ligne de commande |
en-US | Source Prod. Order Line |
it-CH | Riga origine ord. produz. |
it-IT | Riga origine ord. produz. |
nl-BE | Bron Prod. Bestel Line |
nl-NL | Bron Prod. Bestel Line |
15
)Integer
The source ref. no.. This will mostly be the “Line No.". For entry tables, this will contain the entry no.
Language | Caption |
---|---|
da-DK | Kilde Ref. Ingen. |
de-AT | Herkunftsref.-Nr. |
de-CH | Herkunftsref.-Nr. |
de-DE | Herkunftsref.-Nr. |
en-AU | Source Ref. No. |
en-CA | Source Ref. No. |
en-GB | Source Ref. No. |
en-NZ | Source Ref. No. |
es-ES | Ref fuente. No. |
es-MX | Ref fuente. No. |
fr-BE | Ref Source. Non. |
fr-CA | Ref Source. Non. |
fr-CH | Ref Source. Non. |
fr-FR | Ref Source. Non. |
en-US | Source Ref. No. |
it-CH | Nr. rif. origine |
it-IT | Nr. rif. origine |
nl-BE | Bron Ref. Nee. |
nl-NL | Bron Ref. Nee. |
16
)Integer
The version no., applicable only to sales / purchase archive tables.
Language | Caption |
---|---|
da-DK | Udgave nr |
de-AT | Versionsnr. |
de-CH | Versionsnr. |
de-DE | Versionsnr. |
en-AU | Version No. |
en-CA | Version No. |
en-GB | Version No. |
en-NZ | Version No. |
es-ES | Versión no |
es-MX | Versión no |
fr-BE | Version No. |
fr-CA | Version No. |
fr-CH | Version No. |
fr-FR | Version No. |
en-US | Version No. |
it-CH | Nr. versione |
it-IT | Nr. versione |
nl-BE | Versie No. |
nl-NL | Versie No. |
17
)Integer
The doc. no. occurrence, applicable only to sales / purchase archive tables.
Language | Caption |
---|---|
da-DK | Dok. No. Forekomst |
de-AT | Belegnr.-Häufigkeit |
de-CH | Belegnr.-Häufigkeit |
de-DE | Belegnr.-Häufigkeit |
en-AU | Doc. No. Occurrence |
en-CA | Doc. No. Occurrence |
en-GB | Doc. No. Occurrence |
en-NZ | Doc. No. Occurrence |
es-ES | Doc. Nº Ocurrencia |
es-MX | Doc. Nº Ocurrencia |
fr-BE | Doc. Présence n ° |
fr-CA | Doc. Présence n ° |
fr-CH | Doc. Présence n ° |
fr-FR | Doc. Présence n ° |
en-US | Doc. No. Occurrence |
it-CH | Occorrenza nr. doc. |
it-IT | Occorrenza nr. doc. |
nl-BE | Doc. Voorkomen No. |
nl-NL | Doc. Voorkomen No. |
18
)guid
The Source GUID, applicable to systemID field and other guid based field.
Language | Caption |
---|---|
da-DK | Kilde-GUID |
de-AT | Quell-GUID |
de-CH | Quell-GUID |
de-DE | Quell-GUID |
en-AU | Source GUID |
en-CA | Source GUID |
en-GB | Source GUID |
en-NZ | Source GUID |
es-ES | GUID de origen |
es-MX | GUID de origen |
fr-BE | Source GUID |
fr-CA | Source GUID |
fr-CH | Source GUID |
fr-FR | Source GUID |
en-US | Source GUID |
it-CH | GUID origine |
it-IT | GUID origine |
nl-BE | Bron-GUID |
nl-NL | Bron-GUID |
20
)RecordID
An instance of a RecordId that represents the record.
Language | Caption |
---|---|
da-DK | record ID |
de-AT | Datensatz-ID |
de-CH | Datensatz-ID |
de-DE | Datensatz-ID |
en-AU | Record ID |
en-CA | Record ID |
en-GB | Record ID |
en-NZ | Record ID |
es-ES | Identificación del registro |
es-MX | Identificación del registro |
fr-BE | ID d’enregistrement |
fr-CA | ID d’enregistrement |
fr-CH | ID d’enregistrement |
fr-FR | ID d’enregistrement |
en-US | Record ID |
it-CH | ID record |
it-IT | ID record |
nl-BE | Record ID |
nl-NL | Record ID |
21
)Text[30]
The company name of the record.
Language | Caption |
---|---|
da-DK | firmanavn |
de-AT | Mandantenname |
de-CH | Mandantenname |
de-DE | Mandantenname |
en-AU | Company Name |
en-CA | Company Name |
en-GB | Company Name |
en-NZ | Company Name |
es-ES | Nombre de empresa |
es-MX | Nombre de empresa |
fr-BE | Nom de la compagnie |
fr-CA | Nom de la compagnie |
fr-CH | Nom de la compagnie |
fr-FR | Nom de la compagnie |
en-US | Company Name |
it-CH | Nome società |
it-IT | Nome società |
nl-BE | Bedrijfsnaam |
nl-NL | Bedrijfsnaam |
procedure GetTable("Table": Variant): Boolean
Loads a given record into the buffer, decoding it into a SourceType-SourceSubtype-SourceId-Pair.
Table Variant
The record to load into the buffer. Must be a record or a recordref pointing to a table.
Returns Boolean
procedure DecodeRecord(RecordVariant: Variant): Boolean
RecordVariant Variant
Returns Boolean
procedure DecodeRecord(RecRef: RecordRef): Boolean
RecRef RecordRef
Returns Boolean
procedure CreateRecRef(var RecRef: RecordRef): Boolean
Creates an instance of a RecordRef by using the SourceType-SourceSubtype-SourceId-Pair fields on the record. Note: The targetted record must exist.
RecRef RecordRef
The resulting RecordRef.
Returns Boolean
true
if the value could be encoded and the record exists. false
otherwise.
procedure ShowCard()
Opens the default card page for the current record.
procedure IsPostedDocument(): Boolean
Indicates if the current record is a posted document.
Returns Boolean
true
if the current record points to a posted document.
procedure IsArchivedDocument(): Boolean
Indicates if the current record is an archived document.
Returns Boolean
true
if the current record points to an archived document.
procedure AddToBuffer(DocVariant: Variant)
Addes a record to the buffer. This is mostly the same as GetTable
, but this also inserts the resulting record.
DocVariant Variant
The record to load into the buffer. Must be a record or a recordref pointing to a table.
procedure AddToBufferByType(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20]; SourceBatchName: Code[10]; SourceLineNo: Integer; SourceProdOrderLineNo: Integer)
Addes a record to the buffer. See also AddToBuffer
.
SourceType Integer
The SourceSubtype.
SourceSubtype Integer
SourceNo Code[20]
The Source No.
SourceBatchName Code[10]
The Source Batch Name.
SourceLineNo Integer
The Source Line No.
SourceProdOrderLineNo Integer
The Prod. Order Line No.
procedure DecodeCopyDocumentPurchDocType(Value: Integer): Boolean
Decodes the purchase DocumentType
that is used by Copy Document Mgt.
into a source-type/subtype/id pair.
Value Integer
The document type.
Returns Boolean
true
if the document type was decoded successfully.
procedure DecodeCopyDocumentPurchDocType(Value: Integer; WithError: Boolean): Boolean
Decodes the purchase DocumentType
that is used by Copy Document Mgt.
into a source-type/subtype/id pair.
Value Integer
The document type.
WithError Boolean
If true
, a runtime error is raised if the passed document type could not be decoded.
Returns Boolean
true
if the document type was decoded successfully.
procedure DecodeCopyDocumentSalesDocType(Value: Integer): Boolean
Decodes the sales DocumentType
that is used by Copy Document Mgt.
into a source-type/subtype/id pair.
Value Integer
The document type.
Returns Boolean
true
if the document type was decoded successfully.
procedure DecodeCopyDocumentSalesDocType(Value: Integer; WithError: Boolean): Boolean
Decodes the sales DocumentType
that is used by Copy Document Mgt.
into a source-type/subtype/id pair.
Value Integer
The document type.
WithError Boolean
If true
, a runtime error is raised if the passed document type could not be decoded.
Returns Boolean
true
if the document type was decoded successfully.
procedure GetTableType(DocVariant: Variant): Enum "EOS004 Table Type"
DocVariant Variant
Returns Enum "EOS004 Table Type"
procedure GetTableType(TableID: Integer): Enum "EOS004 Table Type"
TableID Integer
Returns Enum "EOS004 Table Type"
procedure GetSubtypeFieldNo(DocVariant: Variant): Integer
DocVariant Variant
Returns Integer
procedure GetSubtypeFieldNo(TableID: Integer): Integer
TableID Integer
Returns Integer
local procedure OnGetTableType(var IsPosted: Boolean; var IsArchived: Boolean; var Handled: Boolean)
An event that checks if a table is a posted document or an archived document. If this event is not handled, both values default to false. Most common NAV tables are already handled.
IsPosted Boolean
Set this to true, if the record is a posted document.
IsArchived Boolean
Set this to true, if the record is an archived document.
Handled Boolean
Set this to true if you handled the request.
local procedure OnBeforeGetSubtypeFieldNo(var RecRef: RecordRef; TableType: Enum "EOS004 Table Type"; var Result: Integer; var Handled: Boolean)
RecRef RecordRef
TableType Enum "EOS004 Table Type"
Result Integer
Handled Boolean
local procedure OnAfterGetSubtypeFieldNo(var RecRef: RecordRef; TableType: Enum "EOS004 Table Type"; var Result: Integer)
RecRef RecordRef
TableType Enum "EOS004 Table Type"
Result Integer
local procedure OnBeforeGetTableType(var RecRef: RecordRef; var CouldBeArchive: Boolean; var TableType: Enum "EOS004 Table Type"; var Handled: Boolean)
RecRef RecordRef
CouldBeArchive Boolean
TableType Enum "EOS004 Table Type"
Handled Boolean
local procedure OnAfterGetTableType(var RecRef: RecordRef; CouldBeArchive: Boolean; var TableType: Enum "EOS004 Table Type")
RecRef RecordRef
CouldBeArchive Boolean
TableType Enum "EOS004 Table Type"
local procedure OnBeforeDecodeRecord(var RecRef: RecordRef; var Success: Boolean; var Handled: Boolean)
RecRef RecordRef
Success Boolean
Handled Boolean
local procedure OnAfterDecodeRecord(var RecRef: RecordRef; var Success: Boolean)
RecRef RecordRef
Success Boolean
local procedure OnBeforeCreateRecRef(var RecRef: RecordRef; var Success: Boolean; var IsHandled: Boolean)
RecRef RecordRef
Success Boolean
IsHandled Boolean
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.