Codeunit "Undo Service Consumption Line"

ID 5819
Namespace: Microsoft.Service.History

Properties

Name Value
Permissions TableData "Item Ledger Entry" = rm, TableData "Item Application Entry" = rmd, TableData "Service Line" = rimd, TableData "Service Ledger Entry" = rimd, 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

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"

OnAfterUpdateOrderLine

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

Parameters

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

OnBeforeCheckServShptLine

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

Parameters

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

OnBeforePostItemJnlLineWithIT

[IntegrationEvent(False,False)]
local procedure OnBeforePostItemJnlLineWithIT(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"

OnBeforeReservEntryInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeReservEntryInsert(var ReservationEntry: Record "Reservation Entry", var ItemLedgerEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnBeforeTempGlobalItemEntryRelationInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeTempGlobalItemEntryRelationInsert(var ItemEntryRelation: Record "Item Entry Relation", var ItemLedgerEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
ItemEntryRelation Table Microsoft.Inventory.Item."Item Entry Relation"
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

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

OnCodeOnAfterUpdateServShptLine

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

Parameters

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

OnBeforeInsertCorrectiveShipmentLine

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

Parameters

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

OnBeforePostResourceJnlLine

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

Parameters

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

OnItemJnlPostLineOnAfteItemJnlPostLineOnBeforeExit

[IntegrationEvent(False,False)]
local procedure OnItemJnlPostLineOnAfteItemJnlPostLineOnBeforeExit(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"

OnPostResourceJnlLineOnBeforeResJnlPostLine

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

Parameters

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

OnInsertCorrectiveShipmentLineOnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnInsertCorrectiveShipmentLineOnBeforeInsert(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"

See also