Skip to content

KVSMEDFastEntryMaskLib#

Procedures#

CreateSalesOrders(Record KVSMEDFastEntryMask) :#

Summary: Generates sales orders based on KVSMEDFastEntryMask. Please note that the routine displays confirms, opens windows, and executes commits.

procedure CreateSalesOrders(var KVSMEDFastEntryMask: Record "KVSMEDFastEntryMask"): 

Parameters:

  • KVSMEDFastEntryMask:

CreateDirectSalesOrdersBatch(Record KVSMEDFastEntryMask) : Code[20]#

procedure CreateDirectSalesOrdersBatch(var KVSMEDFastEntryMask: Record "KVSMEDFastEntryMask"): Code[20]

Events#

OnCreateSalesHeaderOnBeforeModifySalesHeader(Record Sales Header, Record KVSMEDFastEntryMask) :#

[IntegrationEvent(false, false)]
local procedure OnCreateSalesHeaderOnBeforeModifySalesHeader(var SalesHeader: Record "Sales Header"; KVSMEDFastEntryMask: Record "KVSMEDFastEntryMask"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDFastEntryMaskLib", 'OnCreateSalesHeaderOnBeforeModifySalesHeader', '', false, false)]
local procedure DoSomethingOnCreateSalesHeaderOnBeforeModifySalesHeader(var SalesHeader: Record "Sales Header"; KVSMEDFastEntryMask: Record "KVSMEDFastEntryMask")
begin
end;

OnCreateSalesLineOnAfterModifySalesLine(Record Sales Line, Record KVSMEDFastEntryMaskLine) :#

[IntegrationEvent(false, false)]
local procedure OnCreateSalesLineOnAfterModifySalesLine(var SalesLine: Record "Sales Line"; KVSMEDFastEntryMaskLine: Record "KVSMEDFastEntryMaskLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDFastEntryMaskLib", 'OnCreateSalesLineOnAfterModifySalesLine', '', false, false)]
local procedure DoSomethingOnCreateSalesLineOnAfterModifySalesLine(var SalesLine: Record "Sales Line"; KVSMEDFastEntryMaskLine: Record "KVSMEDFastEntryMaskLine")
begin
end;

OnCallFastEntryLineToDeliveryScheduleOnAfterDeliveryScheduleLineFound(Record KVSMEDFastEntryMaskLine, Record KVSMEDDeliveryScheduleLine) :#

[IntegrationEvent(false, false)]
local procedure OnCallFastEntryLineToDeliveryScheduleOnAfterDeliveryScheduleLineFound(KVSMEDFastEntryMaskLine: Record "KVSMEDFastEntryMaskLine"; var KVSMEDDeliveryScheduleLine: Record "KVSMEDDeliveryScheduleLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDFastEntryMaskLib", 'OnCallFastEntryLineToDeliveryScheduleOnAfterDeliveryScheduleLineFound', '', false, false)]
local procedure DoSomethingOnCallFastEntryLineToDeliveryScheduleOnAfterDeliveryScheduleLineFound(KVSMEDFastEntryMaskLine: Record "KVSMEDFastEntryMaskLine"; var KVSMEDDeliveryScheduleLine: Record "KVSMEDDeliveryScheduleLine")
begin
end;

OnCreateNewProcessOnBeforeModifyProcessPeriod(Record KVSMEDProcessPeriod, Record KVSMEDFastEntryMask, Boolean) :#

Summary: This integration event is triggered before the ProcessPeriod will be modified. It allows the subscriber to modify the Process Perdion and the FastEntryMask.

[IntegrationEvent(false, false)]
local procedure OnCreateNewProcessOnBeforeModifyProcessPeriod(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var KVSMEDFastEntryMask: Record "KVSMEDFastEntryMask"; var ProcessPeriodModifyNecessary: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDFastEntryMaskLib", 'OnCreateNewProcessOnBeforeModifyProcessPeriod', '', false, false)]
local procedure DoSomethingOnCreateNewProcessOnBeforeModifyProcessPeriod(var KVSMEDProcessPeriod: Record "KVSMEDProcessPeriod"; var KVSMEDFastEntryMask: Record "KVSMEDFastEntryMask"; var ProcessPeriodModifyNecessary: Boolean)
begin
end;

Parameters:

  • KVSMEDProcessPeriod:
  • KVSMEDFastEntryMask:
  • ProcessPeriodModifyNecessary: