Codeunit 1630 "Office Management"
Base Application · Microsoft.CRM.Outlook
Across versions
- BC23present
- BC241 procedures removed
- BC25-26unchanged
- BC271 procedures added
- BC28-30unchanged
Neighbourhood 68 connected objects and pages
Base Application · Microsoft.CRM.Outlook · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnGetExternalHandlerCodeunit(OfficeAddinContext: Record "Office Add-in Context"; HostType: Text; var HandlerCodeunit: Integer)(integration)
Event subscriptions
- OnDeleteContact subscribes to Table “Contact” OnAfterDeleteEvent
- OnChangeCompany subscribes to Codeunit “System Action Triggers” ChangeCompany
- OnBeforeDownloadPdfAttachment subscribes to Codeunit “Mail Management” OnBeforeDownloadPdfAttachment
Procedures
InitializeHost(NewOfficeHost: DotNet OfficeHost; NewHostType: Text)InitializeContext(TempNewOfficeAddinContext: Record "Office Add-in Context" temporary)AddRecipient(Name: Text[100]; Email: Text[80])AttachAvailable(): BooleanAttachDocument(AttachmentStream: Instream; AttachmentName: Text; BodyText: Text; Subject: Text)− BC24AttachDocument(BodyText: Text; Subject: Text)− BC24ChangeCompany(NewCompany: Text)ChangeCompanyWithPrompt(NewCompany: Text; Prompt: Text): BooleanCheckForExistingInvoice(CustNo: Code[20]): BooleanCloseEnginePage()DisplayOCRUploadSuccessMessage(UploadedDocumentCount: Integer)DisplayIncomingDocumentUploadSuccessMessage(UploadedDocumentCount: Integer)DisplayAttachmentUploadSuccessMessage(UploadedDocumentCount: Integer)DisplaySuccessMessage(var ExchangeObject: Record "Exchange Object")GetContact(var Contact: Record Contact; LinkToNo: Code[20]): BooleanGetContext(var TempOfficeAddinContext: Record "Office Add-in Context" temporary)GetEmailBody(OfficeAddinContext: Record "Office Add-in Context"): TextGetFinancialsDocument(): TextEmailHasAttachments(): BooleanInitiateSendToOCR(VendorNumber: Code[20])InitiateSendToIncomingDocumentsWithPurchaseHeaderLink(PurchaseHeader: Record "Purchase Header"; VendorNumber: Code[20])InitiateSendToIncomingDocuments(VendorNumber: Code[20])InitiateSendToAttachments(RecRef: RecordRef)InitiateSendApprovalRequest(VendorNumber: Code[20])IsAvailable(): BooleanIsOutlookMobileApp(): BooleanIsPopOut(): BooleanOCRAvailable(): BooleanSelectAndChangeCompany(): TextSendApprovalRequest(var IncomingDocument: Record "Incoming Document")SendToIncomingDocument(var TempExchangeObject: Record "Exchange Object" temporary; var IncomingDocument: Record "Incoming Document"; var IncomingDocAttachment: Record "Incoming Document Attachment"): BooleanSendToAttachments(var TempExchangeObject: Record "Exchange Object" temporary): BooleanSendToOCR(var IncomingDocument: Record "Incoming Document")StoreValue(Name: Text; Value: Text)GetOfficeAddinTelemetryCategory(): TextSaveEmailBodyHTML(OutputFileName: Text; HTMLText: Text)
Plus 7 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 1631 “Office Host Management” (18 calls:
CloseEnginePage → CloseCurrentPage,EmailHasAttachments → EmailHasAttachments,GetContext → GetTempOfficeAddinContext, …) - Codeunit 1629 “Office Attachment Manager” (6 calls:
AttachDocument → Add,AttachDocument → Done,AttachDocument → GetBody, …) - Codeunit 419 “File Management” (3 calls:
AttachDocument → GetExtension,AttachDocument → ServerTempFileName,GetContent → BLOBImportFromServerFile) - Page 1626 “Office OCR Incoming Documents” (3 calls:
InitiateSendApprovalRequest → (object),InitiateSendToIncomingDocuments → (object),InitiateSendToOCR → (object)) - Codeunit 1535 “Approvals Mgmt.” (2 calls:
SendApprovalRequest → CheckIncomingDocApprovalsWorkflowEnabled,SendApprovalRequest → OnSendIncomingDocForApproval) - Codeunit 10 “Type Helper” (1 call:
InitializeContext → NewLine) - Codeunit 134 “Import Attachment - Inc. Doc.” (1 call:
SendToIncomingDocument → ImportAttachment) - Codeunit 1638 “Office Jobs Handler” (1 call:
GetHandlerCodeunit → IsJobsHostType) - Codeunit 1640 “Add-in Deployment Helper” (1 call:
InitializeContext → CheckVersion) - Codeunit 4100 “Temp Blob” (1 call:
GetContent → CreateInStream) - Codeunit 4110 “Base64 Convert” (1 call:
GetContent → ToBase64) - Codeunit 50 “SaaS Log In Management” (1 call:
ChangeCompanyWithPrompt → ShouldShowTermsAndConditions) - Codeunit 500 “Enum Assignment Management” (1 call:
InitiateSendToIncomingDocumentsWithPurchaseHeaderLink → GetPurchIncomingDocumentType) - Page 1604 “Office New Contact Dlg” (1 call:
OnDeleteContact → (object)) - Page 2021 “Office Attachments” (1 call:
InitiateSendToAttachments → (object))
Called by
- Codeunit 1637 “Office Document Handler” (15 calls:
DisableSuggestedLinesOnDisableMessage → GetOfficeAddinTelemetryCategory,GenerateLinesForDocument → GetContext,GenerateLinesForDocument → GetEmailBody, …) - Codeunit 1636 “Office Contact Handler” (5 calls:
ChangeCompanyAndShowContact → ChangeCompanyWithPrompt,OnContactSelected → AddRecipient,OnContactSelected → GetContext, …) - Page 1173 “Document Attachment Details” (4 calls:
InitiateAttachFromEmail → InitiateSendToAttachments,OnAfterGetCurrRecord → IsAvailable,OnAfterGetCurrRecord → IsPopOut, …) - Page 1178 “Doc. Attachment List Factbox” (4 calls:
InitiateAttachFromEmail → InitiateSendToAttachments,OnInit → IsAvailable,UpdateActionsVisibility → IsAvailable, …) - Page 1600 “Outlook Mail Engine” (4 calls:
OnOpenPage → CloseEnginePage,OnOpenPage → InitializeContext,OnOpenPage → InitializeHost, …) - Page 1626 “Office OCR Incoming Documents” (4 calls:
onSave → DisplaySuccessMessage,onSave → SendApprovalRequest,onSave → SendToIncomingDocument, …) - Page 26 “Vendor Card” (4 calls:
ActivateFields → IsAvailable,ActivateIncomingDocumentsFields → EmailHasAttachments,ActivateIncomingDocumentsFields → OCRAvailable, …) - Page 51 “Purchase Invoice” (4 calls:
OnOpenPage → IsAvailable,OnOpenPage → IsOutlookMobileApp,OnOpenPage → OCRAvailable, …) - Table 60 “Document Sending Profile” (4 calls:
LookupProfile → AttachAvailable,LookupProfile → IsAvailable,LookUpProfileVendor → AttachAvailable, …) - Codeunit 1639 “Office Line Generation” (3 calls:
CreateLineItemsOnCloseSuggestedLineItems → GetOfficeAddinTelemetryCategory,CreateLinesBasedOnItemReferences → GetOfficeAddinTelemetryCategory,CreateLinesBasedOnQuantityReferences → GetOfficeAddinTelemetryCategory) - Codeunit 1016 “Jobs-Send” (2 calls:
ConfirmSend → AttachAvailable,ConfirmSend → IsAvailable) - Codeunit 1017 “Job Tasks-Send” (2 calls:
ConfirmSend → AttachAvailable,ConfirmSend → IsAvailable) - Codeunit 260 “Document-Mailing” (2 calls:
EmailFileInternal → AttachAvailable,EmailFileInternal → AttachDocument) - Codeunit 79 “Sales-Post and Send” (2 calls:
ConfirmPostAndSend → AttachAvailable,ConfirmPostAndSend → IsAvailable) - Page 1832 “Outlook Individual Deployment” (2 calls:
OnOpenPage → GetOfficeAddinTelemetryCategory,SendEmail → GetOfficeAddinTelemetryCategory) - Page 2021 “Office Attachments” (2 calls:
onSave → DisplaySuccessMessage,onSave → SendToAttachments) - Page 43 “Sales Invoice” (2 calls:
OnOpenPage → CheckForExistingInvoice,PostDocument → IsAvailable) - Table 5050 “Contact” (2 calls:
ShowResultForCustomer → IsAvailable,ShowResultForVendor → IsAvailable) - Codeunit 1034 “Job Planning Line - Calendar” (1 call:
CreateAndSend → GetOfficeAddinTelemetryCategory) - Codeunit 1294 “OCR Service Mgt.” (1 call:
UploadFile → IsAvailable) - Codeunit 1304 “Sales-Quote to Invoice Yes/No” (1 call:
OnRun → AttachAvailable) - Codeunit 5922 “Serv-Quote to Order (Yes/No)” (1 call:
ShowCreatedOrder → AttachAvailable) - Codeunit 763 “Aged Acc. Receivable” (1 call:
UpdateStatusText → IsAvailable) - Codeunit 80 “Sales-Post” (1 call:
SendPostedDocumentRecord → IsAvailable) - Codeunit 83 “Sales-Quote to Order (Yes/No)” (1 call:
ShowCreatedOrder → AttachAvailable) - Page 132 “Posted Sales Invoice” (1 call:
OnOpenPage → IsAvailable) - Page 134 “Posted Sales Credit Memo” (1 call:
OnOpenPage → IsAvailable) - Page 138 “Posted Purchase Invoice” (1 call:
OnOpenPage → IsAvailable) - Page 140 “Posted Purchase Credit Memo” (1 call:
OnOpenPage → IsAvailable) - Page 142 “Posted Sales Shipments” (1 call:
OnOpenPage → IsAvailable) - Page 143 “Posted Sales Invoices” (1 call:
OnOpenPage → IsAvailable) - Page 144 “Posted Sales Credit Memos” (1 call:
OnOpenPage → IsAvailable) - Page 145 “Posted Purchase Receipts” (1 call:
OnOpenPage → IsAvailable) - Page 146 “Posted Purchase Invoices” (1 call:
OnOpenPage → IsAvailable) - Page 147 “Posted Purchase Credit Memos” (1 call:
OnOpenPage → IsAvailable) - Page 1604 “Office New Contact Dlg” (1 call:
OnOpenPage → GetContext) - Page 21 “Customer Card” (1 call:
OnOpenPageFunc → IsAvailable) - Page 22 “Customer List” (1 call:
OnOpenPage → IsAvailable) - Page 233 “Apply Vendor Entries” (1 call:
OnOpenPage → IsAvailable) - Page 234 “Apply Employee Entries” (1 call:
OnOpenPage → IsAvailable) - Page 41 “Sales Quote” (1 call:
OnOpenPage → IsAvailable) - Page 42 “Sales Order” (1 call:
OnOpenPage → IsAvailable) - Page 434 “Reminder” (1 call:
OnOpenPage → IsAvailable) - Page 44 “Sales Credit Memo” (1 call:
PostDocument → IsAvailable) - Page 5050 “Contact Card” (1 call:
OnOpenPage → IsAvailable) - Page 52 “Purchase Credit Memo” (1 call:
OnOpenPage → IsAvailable) - Page 9300 “Sales Quotes” (1 call:
OnOpenPage → IsAvailable) - Page 9305 “Sales Order List” (1 call:
OnOpenPage → IsAvailable) - Page 9309 “Purchase Credit Memos” (1 call:
OnOpenPage → IsAvailable) - Report 190 “Issue Reminders” (1 call:
OnInitReport → IsAvailable) - and 6 more: data/code/graph/29/calls.json
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Office Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.