Codeunit "Serv. Undo Posting Mgt."

ID 6484
Namespace: Microsoft.Inventory

Methods

TestServShptLine

procedure TestServShptLine(ServShptLine: Record "Service Shipment Line")

Parameters

Name Type Description
ServShptLine Table Microsoft.Service.History."Service Shipment Line"

UpdateServLine

procedure UpdateServLine(ServLine: Record "Service Line", UndoQty: Decimal, UndoQtyBase: Decimal, var TempUndoneItemLedgEntry: Record "Item Ledger Entry" temporary)

Parameters

Name Type Description
ServLine Table Microsoft.Service.Document."Service Line"
UndoQty Decimal
UndoQtyBase Decimal
TempUndoneItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

UpdateServLineCnsm

procedure UpdateServLineCnsm(var ServLine: Record "Service Line", UndoQty: Decimal, UndoQtyBase: Decimal, var TempUndoneItemLedgEntry: Record "Item Ledger Entry" temporary)

Parameters

Name Type Description
ServLine Table Microsoft.Service.Document."Service Line"
UndoQty Decimal
UndoQtyBase Decimal
TempUndoneItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

Events

OnBeforeUpdateServLine

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateServLine(var ServiceLine: Record "Service Line", var UndoQty: Decimal, var UndoQtyBase: Decimal, var TempUndoneItemLedgEntry: Record "Item Ledger Entry" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
UndoQty Decimal
UndoQtyBase Decimal
TempUndoneItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
IsHandled Boolean

OnAfterUpdateServLine

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateServLine(var ServLine: Record "Service Line")

Parameters

Name Type Description
ServLine Table Microsoft.Service.Document."Service Line"

OnBeforeServiceLineCnsmReserveVerifyQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeServiceLineCnsmReserveVerifyQuantity(ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
xServiceLine Table Microsoft.Service.Document."Service Line"
IsHandled Boolean

OnBeforeServiceLineReserveVerifyQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeServiceLineReserveVerifyQuantity(ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
xServiceLine Table Microsoft.Service.Document."Service Line"
IsHandled Boolean

OnBeforeRevertPostedItemTrackingFromServiceLine

[IntegrationEvent(False,False)]
local procedure OnBeforeRevertPostedItemTrackingFromServiceLine(ServiceLine: Record "Service Line", var TempUndoneItemLedgEntry: Record "Item Ledger Entry" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
TempUndoneItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
IsHandled Boolean

See also