Codeunit "Office Document Handler"

ID 1637
Namespace: Microsoft.CRM.Outlook

Properties

Name Value
TableNo Table Microsoft.CRM.Outlook."Office Add-in Context"

Methods

RedirectToDocument

procedure RedirectToDocument(TempOfficeAddinContext: Record "Office Add-in Context" temporary)

Parameters

Name Type Description
TempOfficeAddinContext Table Microsoft.CRM.Outlook."Office Add-in Context"

ShowDocumentSelection

procedure ShowDocumentSelection(DocSeries: Integer, DocType: Integer)

Parameters

Name Type Description
DocSeries Integer
DocType Integer

HandleSalesCommand

procedure HandleSalesCommand(Customer: Record Customer, TempOfficeAddinContext: Record "Office Add-in Context" temporary)

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer
TempOfficeAddinContext Table Microsoft.CRM.Outlook."Office Add-in Context"

HandlePurchaseCommand

procedure HandlePurchaseCommand(Vendor: Record Vendor, TempOfficeAddinContext: Record "Office Add-in Context" temporary)

Parameters

Name Type Description
Vendor Table Microsoft.Purchases.Vendor.Vendor
TempOfficeAddinContext Table Microsoft.CRM.Outlook."Office Add-in Context"

OpenIndividualDocument

procedure OpenIndividualDocument(TempOfficeAddinContext: Record "Office Add-in Context" temporary, TempOfficeDocumentSelection: Record "Office Document Selection" temporary)

Parameters

Name Type Description
TempOfficeAddinContext Table Microsoft.CRM.Outlook."Office Add-in Context"
TempOfficeDocumentSelection Table Microsoft.CRM.Outlook."Office Document Selection"

Events

OnCloseSuggestedLineItemsPage

[IntegrationEvent(False,False)]
local procedure OnCloseSuggestedLineItemsPage(var TempOfficeSuggestedLineItem: Record "Office Suggested Line Item" temporary, var HeaderRecRef: RecordRef, PageCloseAction: Action)

Parameters

Name Type Description
TempOfficeSuggestedLineItem Table Microsoft.CRM.Outlook."Office Suggested Line Item"
HeaderRecRef RecordRef
PageCloseAction Action

OnGenerateLinesFromText

[IntegrationEvent(False,False)]
local procedure OnGenerateLinesFromText(var HeaderRecRef: RecordRef, var TempOfficeSuggestedLineItem: Record "Office Suggested Line Item" temporary, EmailBody: Text)

Parameters

Name Type Description
HeaderRecRef RecordRef
TempOfficeSuggestedLineItem Table Microsoft.CRM.Outlook."Office Suggested Line Item"
EmailBody Text

OnOpenIndividualSalesDocumentOnBeforeOpenPage

[IntegrationEvent(False,False)]
local procedure OnOpenIndividualSalesDocumentOnBeforeOpenPage(var TempOfficeDocumentSelection: Record "Office Document Selection" temporary, var TempOfficeAddinContext: Record "Office Add-in Context" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
TempOfficeDocumentSelection Table Microsoft.CRM.Outlook."Office Document Selection"
TempOfficeAddinContext Table Microsoft.CRM.Outlook."Office Add-in Context"
IsHandled Boolean

OnOpenIndividualPurchaseDocumentOnBeforeOpenPage

[IntegrationEvent(False,False)]
local procedure OnOpenIndividualPurchaseDocumentOnBeforeOpenPage(var TempOfficeDocumentSelection: Record "Office Document Selection" temporary, var TempOfficeAddinContext: Record "Office Add-in Context" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
TempOfficeDocumentSelection Table Microsoft.CRM.Outlook."Office Document Selection"
TempOfficeAddinContext Table Microsoft.CRM.Outlook."Office Add-in Context"
IsHandled Boolean

See also