Codeunit "Booking Manager"

ID 6721
Namespace: Microsoft.Booking

Methods

GetAppointmentConnectionName

procedure GetAppointmentConnectionName(): Text

Returns

Type Description
Text

GetBookingItems

procedure GetBookingItems(var TempBookingItem: Record "Booking Item" temporary)

Parameters

Name Type Description
TempBookingItem Table Microsoft.Booking."Booking Item"

GetBookingMailboxes

procedure GetBookingMailboxes(var TempBookingMailbox: Record "Booking Mailbox" temporary)

Parameters

Name Type Description
TempBookingMailbox Table Microsoft.Booking."Booking Mailbox"

GetBookingServiceForBooking

procedure GetBookingServiceForBooking(var TempBookingItem: Record "Booking Item" temporary, var TempBookingService: Record "Booking Service" temporary)

Parameters

Name Type Description
TempBookingItem Table Microsoft.Booking."Booking Item"
TempBookingService Table Microsoft.Booking."Booking Service"

InvoiceBookingItems

procedure InvoiceBookingItems()

RegisterAppointmentConnection

procedure RegisterAppointmentConnection()

SetBookingItemInvoiced

procedure SetBookingItemInvoiced(InvoicedBookingItem: Record "Invoiced Booking Item")

Parameters

Name Type Description
InvoicedBookingItem Table Microsoft.Booking."Invoiced Booking Item"

Synchronize

procedure Synchronize(var BookingItem: Record "Booking Item")

Parameters

Name Type Description
BookingItem Table Microsoft.Booking."Booking Item"

CreateSalesLine

procedure CreateSalesLine(var SalesHeader: Record "Sales Header", var BookingItem: Record "Booking Item")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
BookingItem Table Microsoft.Booking."Booking Item"

InvoiceItemsForCustomer

procedure InvoiceItemsForCustomer(var BookingItemSource: Record "Booking Item", var TempBookingItem: Record "Booking Item" temporary, var SalesHeader: Record "Sales Header"): Boolean

Parameters

Name Type Description
BookingItemSource Table Microsoft.Booking."Booking Item"
TempBookingItem Table Microsoft.Booking."Booking Item"
SalesHeader Table Microsoft.Sales.Document."Sales Header"

Returns

Type Description
Boolean

Events

OnGetBookingMailboxes

[IntegrationEvent(False,False)]
local procedure OnGetBookingMailboxes(var TempBookingMailbox: Record "Booking Mailbox" temporary)

Parameters

Name Type Description
TempBookingMailbox Table Microsoft.Booking."Booking Mailbox"

OnGetBookingServiceForBooking

[IntegrationEvent(False,False)]
local procedure OnGetBookingServiceForBooking(var TempBookingItem: Record "Booking Item" temporary, var TempBookingService: Record "Booking Service" temporary)

Parameters

Name Type Description
TempBookingItem Table Microsoft.Booking."Booking Item"
TempBookingService Table Microsoft.Booking."Booking Service"

OnRegisterAppointmentConnection

[IntegrationEvent(False,False)]
local procedure OnRegisterAppointmentConnection()

OnSetBookingItemInvoiced

[IntegrationEvent(False,False)]
local procedure OnSetBookingItemInvoiced(var InvoicedBookingItem: Record "Invoiced Booking Item")

Parameters

Name Type Description
InvoicedBookingItem Table Microsoft.Booking."Invoiced Booking Item"

OnSynchronize

[IntegrationEvent(False,False)]
local procedure OnSynchronize(var BookingItem: Record "Booking Item")

Parameters

Name Type Description
BookingItem Table Microsoft.Booking."Booking Item"

See also