Codeunit "Undo Service Shipment Line"

ID 5818
Namespace: Microsoft.Service.History

Properties

Name Value
Permissions TableData "Item Application Entry" = rmd, TableData "Service Line" = rimd, TableData "Service Ledger Entry" = ri, TableData "Warranty Ledger Entry" = rim, TableData "Service Shipment Line" = rimd, TableData "Item Entry Relation" = ri
TableNo Table Microsoft.Service.History."Service Shipment Line"

Methods

SetHideDialog

procedure SetHideDialog(NewHideDialog: Boolean)

Parameters

Name Type Description
NewHideDialog Boolean

GetCorrectionLineNo

procedure GetCorrectionLineNo(ServiceShipmentLine2: Record "Service Shipment Line"): Integer

Parameters

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

Returns

Type Description
Integer

Events

OnAfterCode

[IntegrationEvent(False,False)]
local procedure OnAfterCode(var ServiceShipmentLine: Record "Service Shipment Line")

Parameters

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

OnAfterCopyItemJnlLineFromServShpt

[IntegrationEvent(False,False)]
local procedure OnAfterCopyItemJnlLineFromServShpt(var ItemJournalLine: Record "Item Journal Line", ServiceShipmentHeader: Record "Service Shipment Header", ServiceShipmentLine: Record "Service Shipment Line")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ServiceShipmentHeader Table Microsoft.Service.History."Service Shipment Header"
ServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"

OnAfterInsertNewShipmentLine

[IntegrationEvent(False,False)]
local procedure OnAfterInsertNewShipmentLine(var ServiceShipmentLine: Record "Service Shipment Line", PostedWhseShptLine: Record "Posted Whse. Shipment Line", var PostedWhseShptLineFound: Boolean)

Parameters

Name Type Description
ServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"
PostedWhseShptLine Table Microsoft.Warehouse.History."Posted Whse. Shipment Line"
PostedWhseShptLineFound Boolean

OnAfterGetCorrectionLineNo

[IntegrationEvent(False,False)]
local procedure OnAfterGetCorrectionLineNo(ServiceShipmentLine: Record "Service Shipment Line", var Result: Integer)

Parameters

Name Type Description
ServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"
Result Integer

OnAfterUpdateOrderLine

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateOrderLine(var ServiceLine: Record "Service Line", var ServiceShptLine: Record "Service Shipment Line")

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
ServiceShptLine Table Microsoft.Service.History."Service Shipment Line"

OnBeforeCheckServShptLine

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckServShptLine(var ServiceShptLine: Record "Service Shipment Line", var IsHandled: Boolean)

Parameters

Name Type Description
ServiceShptLine Table Microsoft.Service.History."Service Shipment Line"
IsHandled Boolean

OnBeforeGetCorrectionLineNo

[IntegrationEvent(False,False)]
local procedure OnBeforeGetCorrectionLineNo(ServiceShipmentLine: Record "Service Shipment Line", var Result: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
ServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"
Result Integer
IsHandled Boolean

OnBeforeInsertNewShipmentLine

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertNewShipmentLine(var ServiceShptLine: Record "Service Shipment Line", ItemShptEntryNo: Integer, var TempGlobalItemEntryRelation: Record "Item Entry Relation" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
ServiceShptLine Table Microsoft.Service.History."Service Shipment Line"
ItemShptEntryNo Integer
TempGlobalItemEntryRelation Table Microsoft.Inventory.Item."Item Entry Relation"
IsHandled Boolean

OnBeforeNewServiceShptLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeNewServiceShptLineInsert(var NewServiceShipmentLine: Record "Service Shipment Line", OldServiceShipmentLine: Record "Service Shipment Line")

Parameters

Name Type Description
NewServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"
OldServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"

OnBeforePostResJnlLine

[IntegrationEvent(False,False)]
local procedure OnBeforePostResJnlLine(var ResJournalLine: Record "Res. Journal Line", var ServiceShptLine: Record "Service Shipment Line", var IsHandled: Boolean)

Parameters

Name Type Description
ResJournalLine Table Microsoft.Projects.Resources.Journal."Res. Journal Line"
ServiceShptLine Table Microsoft.Service.History."Service Shipment Line"
IsHandled Boolean

OnBeforeOnRun

[IntegrationEvent(False,False)]
local procedure OnBeforeOnRun(var ServiceShipmentLine: Record "Service Shipment Line", var IsHandled: Boolean)

Parameters

Name Type Description
ServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"
IsHandled Boolean

OnCodeOnAfterServShptLineModify

[IntegrationEvent(False,False)]
local procedure OnCodeOnAfterServShptLineModify(var ServShptLine: Record "Service Shipment Line", var TempWarehouseJournalLine: Record "Warehouse Journal Line" temporary)

Parameters

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

OnCodeOnBeforeServShptLineModify

[IntegrationEvent(False,False)]
local procedure OnCodeOnBeforeServShptLineModify(var ServShptLine: Record "Service Shipment Line", var TempWarehouseJournalLine: Record "Warehouse Journal Line" temporary)

Parameters

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

OnCheckComponentsAdjustedOnAfterLocalServShptLineSetFilters

[IntegrationEvent(False,False)]
local procedure OnCheckComponentsAdjustedOnAfterLocalServShptLineSetFilters(var ServiceShptLine: Record "Service Shipment Line")

Parameters

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

OnAfterPostItemJnlLine

[IntegrationEvent(False,False)]
local procedure OnAfterPostItemJnlLine(var ItemJournalLine: Record "Item Journal Line", var ServiceShipmentLine: Record "Service Shipment Line")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"

OnItemJnlPostLineOnAfterItemShptEntryNoOnBeforeExit

[IntegrationEvent(False,False)]
local procedure OnItemJnlPostLineOnAfterItemShptEntryNoOnBeforeExit(var ItemJournalLine: Record "Item Journal Line", var ServiceShipmentLine: Record "Service Shipment Line")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"

OnPostResJnlLineOnAfterRunWithCheck

[IntegrationEvent(False,False)]
local procedure OnPostResJnlLineOnAfterRunWithCheck(var ResJournalLine: Record "Res. Journal Line", var ServiceShipmentLine: Record "Service Shipment Line")

Parameters

Name Type Description
ResJournalLine Table Microsoft.Projects.Resources.Journal."Res. Journal Line"
ServiceShipmentLine Table Microsoft.Service.History."Service Shipment Line"

See also