Codeunit 18123041 EOS EDoc. Page Handler
Gather all functions that handles user request from pages
procedure OpenXMLFileFromInbDocHeader(RecRef: RecordRef; UseTemplate: Boolean)
This function is used by Inb. Pages in order to open the XML
RecRef RecordRef
The Record where the blob is saved
UseTemplate Boolean
If true ask the user which template to use
procedure OpenXMLFromPurchDocOutbList(RecRef: RecordRef; useTemplate: Boolean)
RecRef RecordRef
useTemplate Boolean
procedure OpenXMLFromOutbList(RecRef: RecordRef; useTemplate: Boolean)
RecRef RecordRef
useTemplate Boolean
procedure OpenXMLFromInbList(RecRef: RecordRef; useTemplate: Boolean)
RecRef RecordRef
useTemplate Boolean
procedure OpenXMLFileFromOutbDocHeader(RecRef: RecordRef; UseTemplate: Boolean)
This function is used by Outb. Pages in order to open the XML
RecRef RecordRef
The Record where the blob is saved
UseTemplate Boolean
If true ask the user which template to use
procedure OpenXMLFileFromPurchOutbDocHeader(RecRef: RecordRef; UseTemplate: Boolean)
RecRef RecordRef
UseTemplate Boolean
procedure ShowMessageLog(RecRef: RecordRef)
Used to open the dialog containing the Errors encountered during the creation of the XML
RecRef RecordRef
RecordRef
procedure SetStatusStyle(RecRef: RecordRef) StyleCtrl: Text[30]
Sets the style for the records in the Inbound Pages
RecRef RecordRef
The record to which add the style
Returns Text[30]
It can be: Strong,Unfavorable,Attention,Favorable
procedure SaveEDocFromCard(RecRef: RecordRef)
It start creating the XML and Saving it
RecRef RecordRef
The header of the document (sales/service Invoice/Cr. Memo)
procedure SaveEDocFromList(var RecRef: RecordRef)
It start creating the XML and Saving it. It can process multiple records
RecRef RecordRef
The header of the document (sales/service Invoice/Cr. Memo)
procedure SendEDocFromCard(RecRef: RecordRef)
From a Document Card create the XML, save it and send it to IXFE
RecRef RecordRef
The header of the document (sales/service Invoice/Cr. Memo)
procedure SendEDocFromList(var RecRef: RecordRef)
From a Document List create the XML, save it and send it to IXFE. Handle multiple records
RecRef RecordRef
The header of the document (sales/service Invoice/Cr. Memo)
procedure SetPreviewLineStyle(ElectronicDocPreviewLine: Record "EOS Inb. EDoc. Preview Line") StyleCtrl: Text[30]
Sets the style for the records in the Inbound Preview Pages
ElectronicDocPreviewLine Record "EOS Inb. EDoc. Preview Line"
The record to which add the style
Returns Text[30]
It can be: Strong,Unfavorable,Attention,Favorable
procedure SetRatingStyle(RatingValue: Integer; VendorNo: Code[20]) StyleCtrl: Text[30]
Set the style of the rating
RatingValue Integer
Integer
VendorNo Code[20]
The no of the Vendor
Returns Text[30]
It can be Attention,Favorable or None
procedure OpenPostedDoc(TableID: Integer; DocumentNo: Code[20])
TableID Integer
DocumentNo Code[20]
procedure OpenOrderDoc(TableID: Integer; DocumentNo: Code[20])
TableID Integer
DocumentNo Code[20]
procedure GetInbElectrDocData(DocVariant: variant; ElectDocEntryNo: Integer; VAR EDocWarnings: Text; VAR EDocFileName: Text; VAR EDocAttachments: Integer)
DocVariant variant
ElectDocEntryNo Integer
EDocWarnings Text[]
EDocFileName Text[]
EDocAttachments Integer
procedure GetInbNoOfWarnings(RecRef: RecordRef; SeverityMessageType: Option; OpenPage: Boolean; UseContext: Boolean) MsgStr: Text[80]
RecRef RecordRef
SeverityMessageType Option
OpenPage Boolean
UseContext Boolean
Returns Text[80]
PROCEDURE DrillDownInbEDocData(DocVariant: variant; ElectDocEntryNo: Integer; inFieldNo: Integer)
DocVariant variant
ElectDocEntryNo Integer
inFieldNo Integer
procedure DrillDownInbEDocPreviewData(SourceEntryNo: Integer)
Integer
procedure DrillDownElectrDocPreviewAtt(SourceEntryNo: Integer)
Integer
procedure SetPreviewLineStyleTotals(ElectronicDocPreviewHeader: Record "EOS Inb. EDoc. Preview Header"; var StyleCtrl1: Text[30]; var StyleCtrl2: Text[30]; var StyleCtrl3: Text[30])
ElectronicDocPreviewHeader Record "EOS Inb. EDoc. Preview Header"
StyleCtrl1 Text[30]
StyleCtrl2 Text[30]
StyleCtrl3 Text[30]
procedure ApplyFilterByMsgCode(FilterByMsgCode: Code[10]; var ElectronicDocPreviewLine: Record "EOS Inb. EDoc. Preview Line")
FilterByMsgCode Code[10]
ElectronicDocPreviewLine Record "EOS Inb. EDoc. Preview Line"
procedure OpenInbNAVTempDocument(ElectronicDocPreviewHeader: Record "EOS Inb. EDoc. Preview Header")
Record "EOS Inb. EDoc. Preview Header"
procedure OpenElectronicDocument(IncomingElectrDocHeader: Record "EOS Inb. EDoc. Header")
Record "EOS Inb. EDoc. Header"
procedure OpenReconcile(ElectronicDocPreviewHeader: Record "EOS Inb. EDoc. Preview Header")
Record "EOS Inb. EDoc. Preview Header"
procedure DrillDownEDocStatus(RecRef: RecordRef)
RecordRef
procedure OpenDocAttachment(EOSInbEDocAttachments: Record "EOS Inb. EDoc. Attachments")
Record "EOS Inb. EDoc. Attachments"
local procedure OnBeforeAskXMLTemplateInboundDocument(var TextChoice: text; var Ask: Boolean; var DefaultSelection: Integer; var Selection: Integer)
Raised when opening an inbound XML document from a purchase document or FTE inboud pages
TextChoice text[]
Text that will be used in STRMENU function to ask user the format to use
Ask Boolean
If true ask the user which template to use
DefaultSelection Integer
Specifies default value in STRMENU function
Selection Integer
Specifies return value in STRMENU function if you want to avoid user interface
local procedure OnBeforeAskXMLTemplateDocHeaderList(var TextChoice: text; var Ask: Boolean; var DefaultSelection: Integer; var Selection: Integer)
Raised when downloading an XML document from posteddocuments list
TextChoice text[]
Text that will be used in STRMENU function to ask user the format to use
Ask Boolean
If true ask the user which template to use
DefaultSelection Integer
Specifies default value in STRMENU function
Selection Integer
Specifies return value in STRMENU function if you want to avoid user interface
local procedure OnBeforeAskXMLTemplateOutbDocHeader(var TextChoice: text; var Ask: Boolean; var DefaultSelection: Integer; var Selection: Integer)
Raised when opening an outbound XML document from a posted purchase document
TextChoice text[]
Text that will be used in STRMENU function to ask user the format to use
Ask Boolean
If true ask the user which template to use
DefaultSelection Integer
Specifies default value in STRMENU function
Selection Integer
Specifies return value in STRMENU function if you want to avoid user interface
local procedure OnBeforeAskXMLTemplatePurchOutbDocHeader(var TextChoice: text; var Ask: Boolean; var DefaultSelection: Integer; var Selection: Integer)
Raised when opening an outbound XML document from a posted purchase document
TextChoice text[]
Text that will be used in STRMENU function to ask user the format to use
Ask Boolean
If true ask the user which template to use
DefaultSelection Integer
Specifies default value in STRMENU function
Selection Integer
Specifies return value in STRMENU function if you want to avoid user interface
local procedure OnAfterOpenXMLFromOutbList(RecRef: RecordRef; useTemplate: Boolean)
This event is raised at the end of OpenXMLFromOutbList method, after invoking DownloadFromStream method
RecRef RecordRef
Selected records
useTemplate Boolean
Template Applied or not
local procedure OnAfterOpenXMLFromPurchDocOutbList(RecRef: RecordRef; useTemplate: Boolean)
This event is raised at the end of OpenXMLFromPurchDocOutbList method, after invoking DownloadFromStream method
RecRef RecordRef
Selected records
useTemplate Boolean
Template Applied or not
local procedure OnAfterOpenXMLFromInbList(RecRef: RecordRef; useTemplate: Boolean)
This event is raised at the end of OpenXMLFromInbList method, after invoking DownloadFromStream method
RecRef RecordRef
Selected records
useTemplate Boolean
Template Applied or not
local procedure OnBeforeMergeXMLandTemplate(RecRef: RecordRef; var EDocBlob: Codeunit "Temp Blob")
This event is raised before xml merge with template. You can apply changes to EDocBlob. All changes are not applyed to original document blob
RecRef RecordRef
Current Document
EDocBlob Codeunit "Temp Blob"
Elecronic XML document
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.