Codeunit 18059820 EOS Flat File Management
Codeunit 18059820 EOS Flat File Management
Methods
CleanPhoneNumber
procedure CleanPhoneNumber(PhoneNumber: Text): Text
Parameters / Return Value
PhoneNumber
Text
Returns
Text
CleanString
procedure CleanString(InputStr: Text) OutputStr: Text
Parameters / Return Value
InputStr
Text
Returns
Text
CopyStringEnding
procedure CopyStringEnding(InputStr: Text; Length: Integer): Text
Parameters / Return Value
InputStr
Text
Length
Integer
Returns
Text
EndFile
procedure EndFile()
DownloadFile
procedure DownloadFile(FileName: Text)
Parameters / Return Value
- FileName
Text
FormatDate
procedure FormatDate(InputDate: Date; OutputFormat: Option): Text
Parameters / Return Value
InputDate
Date
OutputFormat
Option
Returns
Text
FormatNum
procedure FormatNum(Number: Decimal; ValueFormat: Option): Text
Parameters / Return Value
Number
Decimal
ValueFormat
Option
Returns
Text
FormatPadding
procedure FormatPadding(ValueFormat: Option; Value: Text; Length: Integer): Text
Parameters / Return Value
ValueFormat
Option
Value
Text
Length
Integer
Returns
Text
GetFileCount
procedure GetFileCount(): Integer
Parameters / Return Value
- Returns
Integer
GetMaxRecordsPerFile
procedure GetMaxRecordsPerFile(): Integer
Parameters / Return Value
- Returns
Integer
GetRecordCount
procedure GetRecordCount(RecordType: Option A,B,C,D,E,G,H,L,Z): Integer
Parameters / Return Value
RecordType
Option
A
(0) ,B
(1) ,C
(2) ,D
(3) ,E
(4) ,G
(5) ,H
(6) ,L
(7) ,Z
(8)Returns
Integer
GetEstimatedNumberOfRecords
procedure GetEstimatedNumberOfRecords(): Integer
Parameters / Return Value
- Returns
Integer
GetTotalTransmissions
procedure GetTotalTransmissions(): Integer
Parameters / Return Value
- Returns
Integer
Initialize
procedure Initialize()
RecordsPerFileExceeded
procedure RecordsPerFileExceeded(Type: Option A,B,C,D,E,G,H,L,Z): Boolean
Parameters / Return Value
Type
Option
A
(0) ,B
(1) ,C
(2) ,D
(3) ,E
(4) ,G
(5) ,H
(6) ,L
(7) ,Z
(8)Returns
Boolean
SetServerFileName
procedure SetServerFileName(FileName: Text)
Parameters / Return Value
- FileName
Text
SetEstimatedNumberOfRecords
procedure SetEstimatedNumberOfRecords(NewEstimatedNumberOfRecords: Integer)
Parameters / Return Value
- NewEstimatedNumberOfRecords
Integer
SetHeaderFooterRecordCountPerFile
procedure SetHeaderFooterRecordCountPerFile(NewHeaderFooterRecordCountPerFile: Integer)
Parameters / Return Value
- NewHeaderFooterRecordCountPerFile
Integer
StartNewFile
procedure StartNewFile()
StartNewRecord
procedure StartNewRecord(Type: Option A,B,C,D,E,G,H,L,Z)
Parameters / Return Value
Type
Option
A
(0) ,B
(1) ,C
(2) ,D
(3) ,E
(4) ,G
(5) ,H
(6) ,L
(7) ,Z
(8)
WritePositionalValue
procedure WritePositionalValue(Position: Integer; Length: Integer; ValueFormat: Option; Value: Text; Truncate: Boolean)
Parameters / Return Value
Position
Integer
Length
Integer
ValueFormat
Option
Value
Text
Truncate
Boolean
WriteBlockValue
procedure WriteBlockValue("Code": Code[8]; ValueFormat: Option; Value: Text)
Parameters / Return Value
Code
Code[8]
ValueFormat
Option
Value
Text
WriteValue
procedure WriteValue(Position: Integer; Length: Integer; Value: Text)
Parameters / Return Value
Position
Integer
Length
Integer
Value
Text
GetFilePosition
procedure GetFilePosition(): Integer
Parameters / Return Value
- Returns
Integer
ChangeFileCount
procedure ChangeFileCount(pValue: Integer)
Parameters / Return Value
- pValue
Integer
GetProgModH
PROCEDURE GetProgModH(): Integer
Parameters / Return Value
- Returns
Integer
ResetProgModH
PROCEDURE ResetProgModH()
SetCurrRecordVariant
procedure SetCurrRecordVariant(RecVariant: Variant)
Parameters / Return Value
- RecVariant
Variant
Events
OnAfterWriteBlockValue
local procedure OnAfterWriteBlockValue(BlockCode: Code[8]; Value: Text)
Parameters / Return Value
BlockCode
Code[8]
Value
Text
OnAfterWritePositionalValue
local procedure OnAfterWritePositionalValue(Position: Integer; Length: Integer; Value: Text)
Parameters / Return Value
Position
Integer
Length
Integer
Value
Text
OnAfterInitialize
local procedure OnAfterInitialize()
OnAfterEndRecord
local procedure OnAfterEndRecord()
OnAfterEndFile
local procedure OnAfterEndFile()
OnBeforeDownloadFile
local procedure OnBeforeDownloadFile(var SkipDownload: Boolean)
Parameters / Return Value
- SkipDownload
Boolean
OnBeforeWritePositionalValue
local procedure OnBeforeWritePositionalValue(Position: Integer; Length: Integer; ValueFormat: Option; var Value: Text; Truncate: Boolean; var CurrRec: Variant)
Parameters / Return Value
Position
Integer
Length
Integer
ValueFormat
Option
Value
Text
Truncate
Boolean
CurrRec
Variant
OnBeforeWriteBlockValue
local procedure OnBeforeWriteBlockValue(Code: Code[8]; ValueFormat: Option; var Value: Text; var CurrRec: Variant)
Parameters / Return Value
Code
Code[8]
ValueFormat
Option
Value
Text
CurrRec
Variant
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.