Table of Contents

KVSPSAREChckPtAdvPlanEntForInv

Events

OnAfterCreateInvoiceFromAdvPlanOnBeforePost(Record KVSADVAdvance Planning Entry, Record Sales Header) :

Summary: Use this event to update fields in created invoice before posting

[IntegrationEvent(false, false)]
local procedure OnAfterCreateInvoiceFromAdvPlanOnBeforePost(var KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var SalesHeader: Record "Sales Header"): 

Parameters:

  • KVSADVAdvancePlanningEntry: Advance Planning Line
  • SalesHeader: Created Sales Header

OnBeforeCreateInvoiceFromAdvPlan(Record KVSADVAdvance Planning Entry) :

Summary: Use this event to update fields in advance planning line before creating invoice

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateInvoiceFromAdvPlan(var KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"): 

Parameters:

  • KVSADVAdvancePlanningEntry: Advance Planning Line

Protected Variables

GlobalOnlyCheckLines

Type: Boolean

GlobalSendDocuments

Type: Boolean