[Event Request] Table 5065 Interacion Log Entry
We need a new Event in table 5065 "Interaction Log Entry":
LOCAL [IntegrationEvent] OnAfterShowDocument(InteractionLogEntry : Record "Interaction Log Entry")
called at end of function:
[External] ShowDocument() CASE "Document Type" OF "Document Type"::"Sales Qte.": IF "Version No." <> 0 THEN BEGIN SalesHeaderArchive.GET( SalesHeaderArchive."Document Type"::Quote,"Document No.", "Doc. No. Occurrence","Version No."); SalesHeaderArchive.SETRANGE("Document Type",SalesHeaderArchive."Document ote",ServiceContractHeader); ............................................... .................................. ...................................... END; "Document Type"::"Service Quote": BEGIN ServHeader.GET(ServHeader."Document Type"::Quote,"Document No."); PAGE.RUN(PAGE::"Service Quote",ServHeader); END; END;
//Init call --------------------------------- OnAfterShowDocument(Rec); //End call ---------------------------------