Codeunit 6721 Booking Manager

Base Application, Microsoft.Booking

src/Layers/W1/BaseApp/OtherCapabilities/Booking/BookingManager.Codeunit.al16 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

GetBookingItems line 29

  1. 36callsTable 6702 Booking Sync IsSetup
  2. 39callsRegisterAppointmentConnection
  3. 43callsCodeunit 3006 DotNet_DateTimeOffset ConvertToUtcDateTime
  4. 44callsTryFindAppointments
  5. 50callsTable 6707 Booking Item GetStartDate
  6. 51writesTable 6707 Booking Item Insert

GetBookingMailboxes line 55

  1. 57raisesOnGetBookingMailboxes

GetBookingServiceForBooking line 60

  1. 62raisesOnGetBookingServiceForBooking

InvoiceBookingItems line 65

  1. 69callsGetBookingItems
  2. 70runsPage 1638 Booking Items

RegisterAppointmentConnection line 73

  1. 75raisesOnRegisterAppointmentConnection

SetBookingItemInvoiced line 78

  1. 80raisesOnSetBookingItemInvoiced

Synchronize line 83

  1. 85raisesOnSynchronize

CreateSalesHeader line 116, local

  1. 121callsTable 18 Customer FindByEmail
  2. 123callsCodeunit 6721 Booking Manager Synchronize
  3. 124callsTable 18 Customer FindByEmail
  4. 129validatesTable 36 Sales Header Document Type
  5. 130validatesTable 36 Sales Header Sell-to Customer No.
  6. 131writesTable 36 Sales Header Insert(true)

CreateSalesLine line 134

  1. 144callsCodeunit 6721 Booking Manager Synchronize
  2. 159writesTable 1638 Invoiced Booking Item Insert(true)
  3. 162validatesTable 37 Sales Line Document Type
  4. 163validatesTable 37 Sales Line Document No.
  5. 164validatesTable 37 Sales Line Line No.
  6. 165validatesTable 37 Sales Line Sell-to Customer No.
  7. 166validatesTable 37 Sales Line Type
  8. 167validatesTable 37 Sales Line No.
  9. 168validatesTable 37 Sales Line Quantity
  10. 168callsTable 6707 Booking Item GetEndDate
  11. 168callsTable 6707 Booking Item GetStartDate
  12. 169validatesTable 37 Sales Line Unit Price
  13. 170validatesTable 37 Sales Line Description
  14. 170callsTable 6707 Booking Item GetStartDate
  15. 171writesTable 37 Sales Line Insert(true)
  16. 172writesTable 1638 Invoiced Booking Item Delete

InvoiceItemsForCustomer line 177

  1. 190callsCreateSalesHeader
  2. 193callsCreateSalesLine
  3. 195writesTable 6707 Booking Item Delete
  4. 198callsCodeunit 6700 O365 Sync. Management TraceCategory

OnAfterModifySalesHeader line 204, local

  1. 208callsCanHandleHeader
  2. 213callsSetBookingItemInvoiced

OnAfterInsertSalesLine line 217, local

  1. 221callsCanHandleLine
  2. 226callsSetBookingItemInvoiced

OnAfterInsertInvoicedBookingItem line 230, local

  1. 238callsSetBookingItemInvoiced

OnAfterModifySalesLine line 242, local

  1. 246callsCanHandleLine
  2. 251callsSetBookingItemInvoiced

OnAfterPostSalesDoc line 255, local

  1. 259callsCanHandleHeader
  2. 266writesTable 1638 Invoiced Booking Item ModifyAll
  3. 267writesTable 1638 Invoiced Booking Item ModifyAll
  4. 270callsSetBookingItemInvoiced

OnDeleteSalesInvoice line 274, local

  1. 278callsCanHandleHeader
  2. 283callsSetBookingItemInvoiced