procedure PublishSurplus(var SupplyInvProfile: Record "Inventory Profile", var SKU: Record "Stockkeeping Unit", var ReqLine: Record "Requisition Line", var ReservEntry: Record "Reservation Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterShowSurplusReason(SurplusType: Integer, var ReturnText: Text[50])
Parameters
Name
Type
Description
SurplusType
Integer
ReturnText
Text[50]
OnBeforeFindReason
Obsolete
This element will become obsolete from version 26.0. Replaced by event OnBeforeGetSurplusType
[Obsolete(Replaced by event OnBeforeGetSurplusType,26.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeFindReason(var DemandInvProfile: Record "Inventory Profile", var Result: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetSurplusType(var DemandInvProfile: Record "Inventory Profile", var Result: Enum "Planning Surplus Type", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnLogSurplusOnCaseSurplusTypeElse(SupplyLineNo: Integer, DemandLineNo: Integer, SourceType: Integer, SourceID: Code[20], Qty: Decimal, SurplusType: Integer, var Priority: Integer, var IsHandled: Boolean)
Parameters
Name
Type
Description
SupplyLineNo
Integer
DemandLineNo
Integer
SourceType
Integer
SourceID
Code[20]
Qty
Decimal
SurplusType
Integer
Priority
Integer
IsHandled
Boolean
OnPublishSurplusOnBeforePlanningElementInsert
[IntegrationEvent(False,False)]
local procedure OnPublishSurplusOnBeforePlanningElementInsert(var UntrackedPlanningElement: Record "Untracked Planning Element", var IsHandled: Boolean, TempInventoryProfileTrackBuffer: Record "Inventory Profile Track Buffer" temporary)
[IntegrationEvent(False,False)]
local procedure OnPublishSurplusOnBeforeExceptionPlanningElementInsert(var UntrackedPlanningElement: Record "Untracked Planning Element", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterPublishSurplus(var InventoryProfile: Record "Inventory Profile", var StockkeepingUnit: Record "Stockkeeping Unit", var RequisitionLine: Record "Requisition Line", var ReservationEntry: Record "Reservation Entry")
[IntegrationEvent(False,False)]
local procedure OnSurplusQtyOnSetReservEntryFilters(var ReservEntry: Record "Reservation Entry", var RequisitionLine: Record "Requisition Line")
[IntegrationEvent(False,False)]
local procedure OnFindReasonOnAfterSetSurplusType(var DemandInventoryProfile: Record "Inventory Profile", var SurplusType: Enum "Planning Surplus Type")
[IntegrationEvent(False,False)]
local procedure OnTransferWarningSourceTextOnBeforeSetSourceToUntrackedPlanningElement(var ToUntrackedPlanningElement: Record "Untracked Planning Element", var TempUntrackedPlanningElement: Record "Untracked Planning Element" temporary)