KVSKBAInvProfileOffsetting#
Procedures#
CalculatePlanFromReqTracing(Record Item, Date, Date, Record Inventory Profile, Record Stockkeeping Unit) :#
procedure CalculatePlanFromReqTracing(var itemVar: Record "Item"; orderDatePar: Date; toDatePar: Date; var tempInventoryProfileVar: Record "Inventory Profile"; var sKUTempVar: Record "Stockkeeping Unit"):
CheckForecastExist(Record Production Forecast Entry, Date, Date) : Boolean#
procedure CheckForecastExist(var ForecastEntry: Record "Production Forecast Entry"; OrderDate: Date; ToDate: Date): Boolean
FindReplishmentLocation(Code[10], Record Item) : Boolean#
procedure FindReplishmentLocation(var ReplenishmentLocation: Code[10]; var Item: Record "Item"): Boolean
ForecastInitDemand(Record Inventory Profile, Record Production Forecast Entry, Code[20], Code[10], Decimal) :#
procedure ForecastInitDemand(var InventoryProfile: Record "Inventory Profile"; ProductionForecastEntry: Record "Production Forecast Entry"; ItemNo: Code[20]; LocationCode: Code[10]; TotalForecastQty: Decimal):
GetReqLines(Record Inventory Profile, Record Item, Date) :#
procedure GetReqLines(var InventoryProfileVar: Record "Inventory Profile"; var ItemVar: Record "Item"; ToDatePar: Date):
SetParm(Code[10], Date, Option) :#
procedure SetParm(Forecast: Code[10]; ExclBefore: Date; WorksheetType: Option):
Events#
OnAfterDemandToInvProfile(Record Inventory Profile, Record Item, Record Reservation Entry, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterDemandToInvProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record "Item"; var ReservEntry: Record "Reservation Entry"; var NextLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnAfterDemandToInvProfile', '', false, false)]
local procedure DoSomethingOnAfterDemandToInvProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record "Item"; var ReservEntry: Record "Reservation Entry"; var NextLineNo: Integer)
begin
end;
OnAfterFindLinesWithItemToPlan(Record Sales Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterFindLinesWithItemToPlan(var SalesLine: Record "Sales Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnAfterFindLinesWithItemToPlan', '', false, false)]
local procedure DoSomethingOnAfterFindLinesWithItemToPlan(var SalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;
OnAfterSupplyToInvProfile(Record Inventory Profile, Record Item, Date, Record Reservation Entry, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterSupplyToInvProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record "Item"; var ToDate: Date; var ReservEntry: Record "Reservation Entry"; var NextLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnAfterSupplyToInvProfile', '', false, false)]
local procedure DoSomethingOnAfterSupplyToInvProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record "Item"; var ToDate: Date; var ReservEntry: Record "Reservation Entry"; var NextLineNo: Integer)
begin
end;
OnAfterTransToChildInvProfile(Record Reservation Entry, Record Inventory Profile) :#
[IntegrationEvent(false, false)]
local procedure OnAfterTransToChildInvProfile(var ReservEntry: Record "Reservation Entry"; var ChildInvtProfile: Record "Inventory Profile"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnAfterTransToChildInvProfile', '', false, false)]
local procedure DoSomethingOnAfterTransToChildInvProfile(var ReservEntry: Record "Reservation Entry"; var ChildInvtProfile: Record "Inventory Profile")
begin
end;
OnBeforeBlanketOrderConsumpFind(Record Sales Line) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeBlanketOrderConsumpFind(var BlanketSalesLine: Record "Sales Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnBeforeBlanketOrderConsumpFind', '', false, false)]
local procedure DoSomethingOnBeforeBlanketOrderConsumpFind(var BlanketSalesLine: Record "Sales Line")
begin
end;
OnBeforeDemandToInvProfile(Record Inventory Profile, Record Item, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeDemandToInvProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record "Item"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnBeforeDemandToInvProfile', '', false, false)]
local procedure DoSomethingOnBeforeDemandToInvProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record "Item"; var IsHandled: Boolean)
begin
end;
OnBeforeForecastConsumption(Record Inventory Profile, Record Item, Date, Date, Date, Boolean, Code[10], Date, Boolean, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeForecastConsumption(var DemandInvtProfile: Record "Inventory Profile"; var Item: Record "Item"; OrderDate: Date; ToDate: Date; var UpdatedOrderDate: Date; var IsHandled: Boolean; var CurrForecast: Code[10]; var ExcludeForecastBefore: Date; var UseParm: Boolean; var LineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnBeforeForecastConsumption', '', false, false)]
local procedure DoSomethingOnBeforeForecastConsumption(var DemandInvtProfile: Record "Inventory Profile"; var Item: Record "Item"; OrderDate: Date; ToDate: Date; var UpdatedOrderDate: Date; var IsHandled: Boolean; var CurrForecast: Code[10]; var ExcludeForecastBefore: Date; var UseParm: Boolean; var LineNo: Integer)
begin
end;
OnBeforeInsertInventoryProfile(Record Requisition Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertInventoryProfile(RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnBeforeInsertInventoryProfile', '', false, false)]
local procedure DoSomethingOnBeforeInsertInventoryProfile(RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
begin
end;
OnBeforeSupplyToInvProfile(Record Inventory Profile, Record Item, Date, Record Reservation Entry, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSupplyToInvProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record "Item"; var ToDate: Date; var ReservEntry: Record "Reservation Entry"; var NextLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnBeforeSupplyToInvProfile', '', false, false)]
local procedure DoSomethingOnBeforeSupplyToInvProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record "Item"; var ToDate: Date; var ReservEntry: Record "Reservation Entry"; var NextLineNo: Integer)
begin
end;
OnBeforeTempSKUInsert(Record Stockkeeping Unit, Codeunit Planning-Get Parameters) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeTempSKUInsert(var TempSKU: Record "Stockkeeping Unit"; var PlanningGetParameters: Codeunit "Planning-Get Parameters"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnBeforeTempSKUInsert', '', false, false)]
local procedure DoSomethingOnBeforeTempSKUInsert(var TempSKU: Record "Stockkeeping Unit"; var PlanningGetParameters: Codeunit "Planning-Get Parameters")
begin
end;
OnBeforeTempTransferSKUInsert(Record Stockkeeping Unit, Record Transfer Line) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeTempTransferSKUInsert(var TempTransferSKU: Record "Stockkeeping Unit" temporary; TransferLine: Record "Transfer Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnBeforeTempTransferSKUInsert', '', false, false)]
local procedure DoSomethingOnBeforeTempTransferSKUInsert(var TempTransferSKU: Record "Stockkeeping Unit" temporary; TransferLine: Record "Transfer Line")
begin
end;
OnFindCombinationAfterAssignTempSKU(Record Stockkeeping Unit, Record Inventory Profile) :#
[IntegrationEvent(false, false)]
local procedure OnFindCombinationAfterAssignTempSKU(var TempStockkeepingUnit: Record "Stockkeeping Unit" temporary; InventoryProfile: Record "Inventory Profile"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnFindCombinationAfterAssignTempSKU', '', false, false)]
local procedure DoSomethingOnFindCombinationAfterAssignTempSKU(var TempStockkeepingUnit: Record "Stockkeeping Unit" temporary; InventoryProfile: Record "Inventory Profile")
begin
end;
OnFindNextSKUOnAfterAssignTempSKU(Record Stockkeeping Unit, Record Inventory Profile) :#
[IntegrationEvent(false, false)]
local procedure OnFindNextSKUOnAfterAssignTempSKU(var TempSKU: Record "Stockkeeping Unit" temporary; var InventoryProfile: Record "Inventory Profile"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnFindNextSKUOnAfterAssignTempSKU', '', false, false)]
local procedure DoSomethingOnFindNextSKUOnAfterAssignTempSKU(var TempSKU: Record "Stockkeeping Unit" temporary; var InventoryProfile: Record "Inventory Profile")
begin
end;
OnFindReplishmentLocationOnBeforeFindSKU(Record Stockkeeping Unit) :#
[IntegrationEvent(false, false)]
local procedure OnFindReplishmentLocationOnBeforeFindSKU(var StockkeepingUnit: Record "Stockkeeping Unit"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnFindReplishmentLocationOnBeforeFindSKU', '', false, false)]
local procedure DoSomethingOnFindReplishmentLocationOnBeforeFindSKU(var StockkeepingUnit: Record "Stockkeeping Unit")
begin
end;
OnForecastConsumptionOnBeforeFindDemandInvtProfile(Record Inventory Profile, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnForecastConsumptionOnBeforeFindDemandInvtProfile(var DemandInventoryProfile: Record "Inventory Profile"; ComponentForecast: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInvProfileOffsetting", 'OnForecastConsumptionOnBeforeFindDemandInvtProfile', '', false, false)]
local procedure DoSomethingOnForecastConsumptionOnBeforeFindDemandInvtProfile(var DemandInventoryProfile: Record "Inventory Profile"; ComponentForecast: Boolean)
begin
end;