Skip to content

KVSMEDBillingScheduleLib#

Procedures#

OnRun#

procedure OnRun(Rec: Record "#437dbf0e84ff417a965ded2bb9650972#Job Queue Entry")

ReleaseBillingScheduleLine(Record KVSMEDBillingScheduleLine) :#

Summary: Handles the process of releasing billing schedule lines. It performs a series of validations and updates before changing the status to 'Released'. If the KVSMEDBillingScheduleLine.Status is Invoice, the procedure will be exited early. If invoice lines cannot be created, the status is set back to 'Open'.

procedure ReleaseBillingScheduleLine(KVSMEDBillingScheduleLine: Record "KVSMEDBillingScheduleLine"): 

Parameters:

  • KVSMEDBillingScheduleLine:

Events#

OnCreateShipmentCallInsertBillingScheduleCall(Record KVSMEDBillingScheduleLine, Record KVSMEDDeliveryScheduleCall, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCreateShipmentCallInsertBillingScheduleCall(BillingScheduleLine: Record "KVSMEDBillingScheduleLine"; DeliveryScheduleCall: Record "KVSMEDDeliveryScheduleCall"; IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDBillingScheduleLib", 'OnCreateShipmentCallInsertBillingScheduleCall', '', false, false)]
local procedure DoSomethingOnCreateShipmentCallInsertBillingScheduleCall(BillingScheduleLine: Record "KVSMEDBillingScheduleLine"; DeliveryScheduleCall: Record "KVSMEDDeliveryScheduleCall"; IsHandled: Boolean)
begin
end;