Skip to content

KVSMEDSchedCallCockpitLib#

Procedures#

CreateDeliveryCockpitEntry() :#

Summary: Creates a new Cockpit Entry of type delivery

procedure CreateDeliveryCockpitEntry(): 

CreateBillingCockpitEntry() :#

Summary: Creates a new Cockpit Entry of type billing

procedure CreateBillingCockpitEntry(): 

ShowProcessPeriod(Record KVSMEDSchedCallCockpitLine) :#

Summary: Opens Process Period Card with filters Customer No., Process No. and Process Period No.

procedure ShowProcessPeriod(KVSMEDSchedCallCockpitLine: Record "KVSMEDSchedCallCockpitLine"): 

Parameters:

  • KVSMEDSchedCallCockpitLine:

ShowDeliverySchedule(Record KVSMEDSchedCallCockpitLine) :#

Summary: Runs Page Delivery Schedule with filters Customer No., Process No. and Process Period No.

procedure ShowDeliverySchedule(KVSMEDSchedCallCockpitLine: Record "KVSMEDSchedCallCockpitLine"): 

Parameters:

  • KVSMEDSchedCallCockpitLine:

ShowBillingSchedule(Record KVSMEDSchedCallCockpitLine) :#

Summary: Runs Page Billing Schedule with filters Customer No., Process No. and Process Period No.

procedure ShowBillingSchedule(KVSMEDSchedCallCockpitLine: Record "KVSMEDSchedCallCockpitLine"): 

Parameters:

  • KVSMEDSchedCallCockpitLine:

CreateNewCockpitEntry(Enum KVSMEDDeliveryBilling, Date) :#

Summary: Creates a new Cockpit Entry of type delivery or billing

procedure CreateNewCockpitEntry(KVSMEDDeliveryBilling: Enum "KVSMEDDeliveryBilling"; ToDate: Date): 

Parameters:

  • EntryType:
  • ToDate:

InsertDeliveryCallLine(Integer, Record KVSMEDDeliveryScheduleCall) :#

Summary: Initializes and inserts a new schedule call line

procedure InsertDeliveryCallLine(CockpitEntryNo: Integer; KVSMEDDeliveryScheduleCall: Record "KVSMEDDeliveryScheduleCall"): 

Parameters:

  • CockpitEntryNo:
  • KVSMEDDeliveryScheduleCall:

InsertBillingCallLine(Integer, Record KVSMEDBillingScheduleCall, Boolean) :#

Summary: Initializes and inserts a new billing call line

procedure InsertBillingCallLine(CockpitEntryNo: Integer; KVSMEDBillingScheduleCall: Record "KVSMEDBillingScheduleCall"; BillingBlocked: Boolean): 

Parameters:

  • CockpitEntryNo:
  • KVSMEDBillingScheduleCall:
  • BillingBlocked:

SetErrorCodes() :#

Summary: Sets the Error Codes to check from the Table KVSMEDScheduleEntryError

procedure SetErrorCodes(): 

Events#

OnBeforeCreateNewCockpitEntry(Enum KVSMEDDeliveryBilling, Boolean) :#

Summary: This event is fired before creating a new Cockpit Entry of type delivery or billing

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateNewCockpitEntry(KVSMEDDeliveryBilling: Enum "KVSMEDDeliveryBilling"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDSchedCallCockpitLib", 'OnBeforeCreateNewCockpitEntry', '', false, false)]
local procedure DoSomethingOnBeforeCreateNewCockpitEntry(KVSMEDDeliveryBilling: Enum "KVSMEDDeliveryBilling"; var IsHandled: Boolean)
begin
end;

Parameters:

  • EntryType:
  • IsHandled:

OnBeforeShowCockpitDetails(Record KVSMEDScheduleCallCockpit, Record KVSMEDSchedCallCockpitLine, Boolean) :#

Summary: This event is fired before showing Cockpit details

[IntegrationEvent(false, false)]
local procedure OnBeforeShowCockpitDetails(KVSMEDScheduleCallCockpit: Record "KVSMEDScheduleCallCockpit"; var KVSMEDSchedCallCockpitLine: Record "KVSMEDSchedCallCockpitLine"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDSchedCallCockpitLib", 'OnBeforeShowCockpitDetails', '', false, false)]
local procedure DoSomethingOnBeforeShowCockpitDetails(KVSMEDScheduleCallCockpit: Record "KVSMEDScheduleCallCockpit"; var KVSMEDSchedCallCockpitLine: Record "KVSMEDSchedCallCockpitLine"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ScheduleCallCockpit:
  • SchedCallCockpitLine:
  • IsHandled:

OnAfterInsertDeliveryCallLine(Record KVSMEDSchedCallCockpitLine) :#

Summary: This event is fired after delivery schedule call line has been inserted while creating a cockpit entry

[IntegrationEvent(false, false)]
local procedure OnAfterInsertDeliveryCallLine(var KVSMEDSchedCallCockpitLine: Record "KVSMEDSchedCallCockpitLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDSchedCallCockpitLib", 'OnAfterInsertDeliveryCallLine', '', false, false)]
local procedure DoSomethingOnAfterInsertDeliveryCallLine(var KVSMEDSchedCallCockpitLine: Record "KVSMEDSchedCallCockpitLine")
begin
end;

Parameters:

  • SchedCallCockpitLine:

OnBeforeInsertBillingCallLine(Integer, Record KVSMEDBillingScheduleCall, Boolean, Boolean) :#

Summary: This event is fired before billing schedule call line has been inserted while creating a cockpit entry

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertBillingCallLine(CockpitEntryNo: Integer; KVSMEDBillingScheduleCall: Record "KVSMEDBillingScheduleCall"; BillingBlocked: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDSchedCallCockpitLib", 'OnBeforeInsertBillingCallLine', '', false, false)]
local procedure DoSomethingOnBeforeInsertBillingCallLine(CockpitEntryNo: Integer; KVSMEDBillingScheduleCall: Record "KVSMEDBillingScheduleCall"; BillingBlocked: Boolean; var IsHandled: Boolean)
begin
end;

Parameters:

  • CockpitEntryNo:
  • BillingScheduleCall:
  • BillingBlocked:
  • IsHandled:

OnAfterInsertBillingCallLine(Record KVSMEDSchedCallCockpitLine) :#

Summary: This event is fired after billing schedule call line has been inserted while creating a cockpit entry

[IntegrationEvent(false, false)]
local procedure OnAfterInsertBillingCallLine(var KVSMEDSchedCallCockpitLine: Record "KVSMEDSchedCallCockpitLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDSchedCallCockpitLib", 'OnAfterInsertBillingCallLine', '', false, false)]
local procedure DoSomethingOnAfterInsertBillingCallLine(var KVSMEDSchedCallCockpitLine: Record "KVSMEDSchedCallCockpitLine")
begin
end;

Parameters:

  • SchedCallCockpitLine:

OnBeforeGetDeliveryScheduleCalls(Integer, Date, Boolean) :#

Summary: This event is fired before delivery schedule call line has been inserted while creating a cockpit entry

[IntegrationEvent(false, false)]
local procedure OnBeforeGetDeliveryScheduleCalls(CockpitEntryNo: Integer; ToDate: Date; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDSchedCallCockpitLib", 'OnBeforeGetDeliveryScheduleCalls', '', false, false)]
local procedure DoSomethingOnBeforeGetDeliveryScheduleCalls(CockpitEntryNo: Integer; ToDate: Date; var IsHandled: Boolean)
begin
end;

Parameters:

  • CockpitEntryNo:
  • ToDate:
  • IsHandled:

OnBeforeGetBillingScheduleCalls(Integer, Date, Boolean) :#

Summary: This event is fired before billing schedule call line has been inserted while creating a cockpit entry

[IntegrationEvent(false, false)]
local procedure OnBeforeGetBillingScheduleCalls(CockpitEntryNo: Integer; ToDate: Date; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDSchedCallCockpitLib", 'OnBeforeGetBillingScheduleCalls', '', false, false)]
local procedure DoSomethingOnBeforeGetBillingScheduleCalls(CockpitEntryNo: Integer; ToDate: Date; var IsHandled: Boolean)
begin
end;

Parameters:

  • CockpitEntryNo:
  • ToDate:
  • IsHandled: