Table of Contents

KVSKBAItemTrackingLib

Procedures

ReservEntry2ReservEntry(Record Reservation Entry, Record Reservation Entry) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from the source Reservation Entry to the target.

procedure ReservEntry2ReservEntry(reservationEntryPar: Record "Reservation Entry"; var reservationEntryVar: Record "Reservation Entry"): 

Parameters:

  • reservationEntryPar: The source Reservation Entry to copy custom tracking fields from.
  • reservationEntryVar: The target Reservation Entry to copy custom tracking fields to.

Remarks: Raises OnAfterReservEntry2ReservEntry for further extensibility.

TrackSpecification2ReservEntry(Record Tracking Specification, Record Reservation Entry) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from a Tracking Specification to a Reservation Entry.

procedure TrackSpecification2ReservEntry(trackingSpecificationPar: Record "Tracking Specification"; var reservationEntryVar: Record "Reservation Entry"): 

Parameters:

  • trackingSpecificationPar: The source Tracking Specification to copy custom tracking fields from.
  • reservationEntryVar: The target Reservation Entry to copy custom tracking fields to.

Remarks: Raises OnAfterTrackSpecification2ReservEntry for further extensibility.

TrackSpecification2TrackSpecification(Record Tracking Specification, Record Tracking Specification) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from one Tracking Specification to another.

procedure TrackSpecification2TrackSpecification(trackingSpecificationPar: Record "Tracking Specification"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • trackingSpecificationPar: The source Tracking Specification to copy custom tracking fields from.
  • trackingSpecificationVar: The target Tracking Specification to copy custom tracking fields to.

Remarks: Raises OnAfterTrackSpecification2TrackSpecification for further extensibility.

TrackSpecification2ItemJnlLine(Record Tracking Specification, Record Item Journal Line) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from a Tracking Specification to an Item Journal Line.

procedure TrackSpecification2ItemJnlLine(trackingSpecificationPar: Record "Tracking Specification"; var itemJournalLineVar: Record "Item Journal Line"): 

Parameters:

  • trackingSpecificationPar: The source Tracking Specification to copy custom tracking fields from.
  • itemJournalLineVar: The target Item Journal Line to copy custom tracking fields to.

Remarks: Raises OnAfterTrackSpecification2ItemJnlLine for further extensibility.

ItemJnlLine2TrackSpecification(Record Item Journal Line, Record Tracking Specification) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from an Item Journal Line to a Tracking Specification.

procedure ItemJnlLine2TrackSpecification(itemJournalLinePar: Record "Item Journal Line"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • itemJournalLinePar: The source Item Journal Line to copy custom tracking fields from.
  • trackingSpecificationVar: The target Tracking Specification to copy custom tracking fields to.

Remarks: Raises OnAfterItemJnlLine2TrackSpecification for further extensibility.

ItemLedgEntry2ItemJnlLine(Record Item Ledger Entry, Record Item Journal Line) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from an Item Ledger Entry to an Item Journal Line.

procedure ItemLedgEntry2ItemJnlLine(itemLedgerEntryPar: Record "Item Ledger Entry"; var itemJournalLineVar: Record "Item Journal Line"): 

Parameters:

  • itemLedgerEntryPar: The source Item Ledger Entry to copy custom tracking fields from.
  • itemJournalLineVar: The target Item Journal Line to copy custom tracking fields to.

Remarks: Raises OnAfterItemLedgEntry2ItemJnlLine for further extensibility.

ItemLedgEntry2TrackSpecification(Record Item Ledger Entry, Record Tracking Specification) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from an Item Ledger Entry to a Tracking Specification.

procedure ItemLedgEntry2TrackSpecification(itemLedgerEntryPar: Record "Item Ledger Entry"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • itemLedgerEntryPar: The source Item Ledger Entry to copy custom tracking fields from.
  • trackingSpecificationVar: The target Tracking Specification to copy custom tracking fields to.

Remarks: Raises OnAfterItemLedgEntry2TrackSpecification for further extensibility.

ItemLedgEntry2ReservEntry(Record Item Ledger Entry, Record Reservation Entry) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from an Item Ledger Entry to a Reservation Entry.

procedure ItemLedgEntry2ReservEntry(itemLedgerEntryPar: Record "Item Ledger Entry"; var reservationEntryVar: Record "Reservation Entry"): 

Parameters:

  • itemLedgerEntryPar: The source Item Ledger Entry to copy custom tracking fields from.
  • reservationEntryVar: The target Reservation Entry to copy custom tracking fields to.

Remarks: Raises OnAfterItemLedgEntry2ReservEntry for further extensibility.

ItemLedgEntry2WhseEntry(Record Item Ledger Entry, Record Warehouse Entry) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from an Item Ledger Entry to a Warehouse Entry.

procedure ItemLedgEntry2WhseEntry(itemLedgerEntryPar: Record "Item Ledger Entry"; var warehouseEntryVar: Record "Warehouse Entry"): 

Parameters:

  • itemLedgerEntryPar: The source Item Ledger Entry to copy custom tracking fields from.
  • warehouseEntryVar: The target Warehouse Entry to copy custom tracking fields to.

Remarks: Raises OnAfterItemLedgEntry2WhseEntry for further extensibility.

WhseActivityLine2WhseActivityLine(Record Warehouse Activity Line, Record Warehouse Activity Line) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from one Warehouse Activity Line to another.

procedure WhseActivityLine2WhseActivityLine(warehouseActivityLinePar: Record "Warehouse Activity Line"; var warehouseActivityLineVar: Record "Warehouse Activity Line"): 

Parameters:

  • warehouseActivityLinePar: The source Warehouse Activity Line to copy custom tracking fields from.
  • warehouseActivityLineVar: The target Warehouse Activity Line to copy custom tracking fields to.

Remarks: Raises OnAfterWhseActivityLine2WhseActivityLine for further extensibility.

ClearWhseActivityLineFields(Record Warehouse Activity Line) :

Summary: Clears custom item tracking fields (Production Date, External Lot No.) on a Warehouse Activity Line record.

procedure ClearWhseActivityLineFields(var warehouseActivityLineVar: Record "Warehouse Activity Line"): 

Parameters:

  • warehouseActivityLineVar: The Warehouse Activity Line record whose custom tracking fields are cleared.

Remarks: Use this procedure to reset custom tracking fields when the tracking information is no longer valid.

WhseEntry2ItemJnlLine(Record Warehouse Entry, Record Item Journal Line) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from a Warehouse Entry to an Item Journal Line.

procedure WhseEntry2ItemJnlLine(warehouseEntryPar: Record "Warehouse Entry"; var itemJournalLineVar: Record "Item Journal Line"): 

Parameters:

  • warehouseEntryPar: The source Warehouse Entry to copy custom tracking fields from.
  • itemJournalLineVar: The target Item Journal Line to copy custom tracking fields to.

Remarks: Raises OnAfterWhseEntry2ItemJnlLine for further extensibility.

WhseEntry2WhseJnlLine(Record Warehouse Entry, Record Warehouse Journal Line) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from a Warehouse Entry to a Warehouse Journal Line.

procedure WhseEntry2WhseJnlLine(warehouseEntryPar: Record "Warehouse Entry"; var warehouseJournalLineVar: Record "Warehouse Journal Line"): 

Parameters:

  • warehouseEntryPar: The source Warehouse Entry to copy custom tracking fields from.
  • warehouseJournalLineVar: The target Warehouse Journal Line to copy custom tracking fields to.

Remarks: Raises OnAfterWhseEntry2WhseJnlLine for further extensibility.

WhseEntry2WhseEntry(Record Warehouse Entry, Record Warehouse Entry) :

Summary: Transfers custom item tracking fields (Production Date, External Lot No.) from one Warehouse Entry to another.

procedure WhseEntry2WhseEntry(warehouseEntryPar: Record "Warehouse Entry"; var warehouseEntryVar: Record "Warehouse Entry"): 

Parameters:

  • warehouseEntryPar: The source Warehouse Entry to copy custom tracking fields from.
  • warehouseEntryVar: The target Warehouse Entry to copy custom tracking fields to.

Remarks: Raises OnAfterWhseEntry2WhseEntry for further extensibility.

ClearTrackSpecificationFields(Record Tracking Specification) :

Summary: Clears custom item tracking fields (Production Date, External Lot No.) on a Tracking Specification record.

procedure ClearTrackSpecificationFields(var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • trackingSpecificationVar: The Tracking Specification record whose custom tracking fields are cleared.

Remarks: Use this procedure to reset custom tracking fields when the tracking information is no longer valid.

CheckReservEntryIsIdentical(Record Reservation Entry, Record Reservation Entry) : Boolean

Summary: Checks whether the custom item tracking fields (Production Date, External Lot No.) are identical in both Reservation Entry records.

procedure CheckReservEntryIsIdentical(reservEntry1Par: Record "Reservation Entry"; reservEntry2Par: Record "Reservation Entry"): Boolean

Parameters:

  • reservEntry1Par: The first Reservation Entry to compare.
  • reservEntry2Par: The second Reservation Entry to compare.

Returns: True if the custom tracking fields match in both records; otherwise false.

Remarks: Used in item tracking pages to determine whether two entries can be considered equal with respect to custom tracking fields.

Events

OnBeforeInsertSerialNoInformationRecord(Record Tracking Specification, Record Item Tracking Code) :

Summary: Raised before a new Serial No. Information record is inserted when serial information must exist on inbound documents.

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertSerialNoInformationRecord(var TempTrackingSpecificationVar: Record "Tracking Specification" temporary; ItemTrackingCodePar: Record "Item Tracking Code"): 

Parameters:

  • TempTrackingSpecificationVar: The tracking specification record that is being processed for the inbound document line.
  • ItemTrackingCodePar: The item tracking code record that is being processed for the inbound document line.

Remarks: Subscribe to this event to perform additional validation or initialization before the Serial No. Information record is created.

OnBeforeInsertLotNoInformationRecord(Record Tracking Specification, Record Item Tracking Code) :

Summary: Raised before a new Lot No. Information record is inserted when lot information must exist on inbound documents.

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertLotNoInformationRecord(var TempTrackingSpecificationVar: Record "Tracking Specification" temporary; ItemTrackingCodePar: Record "Item Tracking Code"): 

Parameters:

  • TempTrackingSpecificationVar: The tracking specification record that is being processed for the inbound document line.
  • ItemTrackingCodePar: The item tracking code record that is being processed for the inbound document line.

Remarks: Subscribe to this event to perform additional validation or initialization before the Lot No. Information record is created.

OnBeforeCheckLotNoInfoatPosting(Record Tracking Specification, Record Item, Record Item Tracking Code, Boolean) :

Summary: Raised before checking and inserting a Lot No. Information record at posting time.

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckLotNoInfoatPosting(var TempTrackingSpecificationVar: Record "Tracking Specification" temporary; ItemPar: Record "Item"; ItemTrackingCodePar: Record "Item Tracking Code"; var SkipInsertRecordVar: Boolean): 

Parameters:

  • TempTrackingSpecificationVar: The tracking specification record that is being processed for the inbound document line.
  • ItemPar: The item record that is being processed for the inbound document line.
  • ItemTrackingCodePar: The item tracking code record that is being processed for the inbound document line.
  • SkipInsertRecordVar: Boolean variable to skip the automatic Lot No. Information record check or insert if set to true.

Remarks: Subscribe to this event to skip the automatic Lot No. Information record check or insert by setting SkipInsertRecordVar to true.

OnBeforeCheckInsertLotNoInformationRecords(Record Tracking Specification, Record Item, Record Item Tracking Code, Boolean) :

Summary: Raised before checking and inserting Serial/Lot No. Information records when the Item Tracking Lines page is closed.

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckInsertLotNoInformationRecords(var TempTrackingSpecificationVar: Record "Tracking Specification" temporary; ItemPar: Record "Item"; ItemTrackingCodePar: Record "Item Tracking Code"; var SkipInsertRecordsVar: Boolean): 

Parameters:

  • TempTrackingSpecificationVar: The tracking specification record that is being processed for the inbound document line.
  • ItemPar: The item record that is being processed for the inbound document line.
  • ItemTrackingCodePar: The item tracking code record that is being processed for the inbound document line.
  • SkipInsertRecordsVar: Boolean variable to skip the automatic information record creation if set to true.

Remarks: Subscribe to this event to skip the automatic information record creation by setting SkipInsertRecordsVar to true.

OnAfterReservEntry2ReservEntry(Record Reservation Entry, Record Reservation Entry) :

Summary: Raised after custom item tracking fields are transferred from the source to the target Reservation Entry.

[IntegrationEvent(false, false)]
local procedure OnAfterReservEntry2ReservEntry(reservationEntryPar: Record "Reservation Entry"; var reservationEntryVar: Record "Reservation Entry"): 

Parameters:

  • reservationEntryPar: The source reservation entry record.
  • reservationEntryVar: The target reservation entry record.

Remarks: Subscribe to this event to transfer additional custom fields between Reservation Entries.

OnAfterReservEntry2TrackSpecification(Record Reservation Entry, Record Tracking Specification) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Raised after custom item tracking fields are transferred from a Reservation Entry to a Tracking Specification.

[Obsolete('The event OnAfterReservEntry2TrackSpecification is deprecated. The procedure, thats raising this event is never used', '28.3')]
[IntegrationEvent(false, false)]
local procedure OnAfterReservEntry2TrackSpecification(reservationEntryPar: Record "Reservation Entry"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • reservationEntryPar: The source reservation entry record.
  • trackingSpecificationVar: The target tracking specification record.

Remarks: Subscribe to this event to transfer additional custom fields from Reservation Entry to Tracking Specification.

OnAfterReservEntry2WhseItemTrackingLine(Record Reservation Entry, Record Whse. Item Tracking Line) :

Summary: Raised after custom item tracking fields are transferred from a Reservation Entry to a Whse. Item Tracking Line.

[IntegrationEvent(false, false)]
local procedure OnAfterReservEntry2WhseItemTrackingLine(reservationEntryPar: Record "Reservation Entry"; var whseItemTrackingLineVar: Record "Whse. Item Tracking Line"): 

Parameters:

  • reservationEntryPar: The source reservation entry record.
  • whseItemTrackingLineVar: The target Whse. Item Tracking Line record.

Remarks: Subscribe to this event to transfer additional custom fields from Reservation Entry to Whse. Item Tracking Line.

OnAfterReservEntry2EntrySummary(Record Reservation Entry, Record Entry Summary) :

Summary: Raised after custom item tracking fields are transferred from a positive Reservation Entry to an Entry Summary.

[IntegrationEvent(false, false)]
local procedure OnAfterReservEntry2EntrySummary(reservationEntryPar: Record "Reservation Entry"; var entrySummaryVar: Record "Entry Summary"): 

Parameters:

  • reservationEntryPar: The source reservation entry record.
  • entrySummaryVar: The target entry summary record.

Remarks: Subscribe to this event to transfer additional custom fields from Reservation Entry to Entry Summary.

OnAfterExistingInfo2TrackingSpecification(Record Tracking Specification) :

Summary: Raised after custom item tracking fields are retrieved from Item Ledger Entries and applied to a Tracking Specification.

[IntegrationEvent(false, false)]
local procedure OnAfterExistingInfo2TrackingSpecification(var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • trackingSpecificationVar: The target tracking specification record.

Remarks: Subscribe to this event to set additional custom fields on the Tracking Specification based on existing ledger data.

OnAfterTrackingSpecification2TrackingSpecification(Record Tracking Specification, Record Tracking Specification) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Raised after custom item tracking fields are transferred between two Tracking Specification records (internal transfer).

[Obsolete('The event OnAfterTrackingSpecification2TrackingSpecification is deprecated. The procedure, thats raising this event is never used', '28.3')]
[IntegrationEvent(false, false)]
local procedure OnAfterTrackingSpecification2TrackingSpecification(trackingSpecificationPar: Record "Tracking Specification"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • trackingSpecificationPar: The source tracking specification record.
  • trackingSpecificationVar: The target tracking specification record.

Remarks: Subscribe to this event to transfer additional custom fields between Tracking Specifications.

OnAfterTrackSpecification2ReservEntry(Record Tracking Specification, Record Reservation Entry) :

Summary: Raised after custom item tracking fields are transferred from a Tracking Specification to a Reservation Entry.

[IntegrationEvent(false, false)]
local procedure OnAfterTrackSpecification2ReservEntry(trackingSpecificationPar: Record "Tracking Specification"; var reservationEntryVar: Record "Reservation Entry"): 

Parameters:

  • trackingSpecificationPar: The source tracking specification record.
  • reservationEntryVar: The target reservation entry record.

Remarks: Subscribe to this event to transfer additional custom fields from Tracking Specification to Reservation Entry.

OnAfterTrackSpecification2TrackSpecification(Record Tracking Specification, Record Tracking Specification) :

Summary: Raised after custom item tracking fields are transferred between two Tracking Specifications (public transfer).

[IntegrationEvent(false, false)]
local procedure OnAfterTrackSpecification2TrackSpecification(trackingSpecificationPar: Record "Tracking Specification"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • trackingSpecificationPar: The source tracking specification record.
  • trackingSpecificationVar: The target tracking specification record.

Remarks: Subscribe to this event to transfer additional custom fields between Tracking Specifications.

OnAfterTrackSpecification2ItemJnlLine(Record Tracking Specification, Record Item Journal Line) :

Summary: Raised after custom item tracking fields are transferred from a Tracking Specification to an Item Journal Line.

[IntegrationEvent(false, false)]
local procedure OnAfterTrackSpecification2ItemJnlLine(trackingSpecificationPar: Record "Tracking Specification"; var itemJournalLineVar: Record "Item Journal Line"): 

Parameters:

  • trackingSpecificationPar: The source tracking specification record.
  • itemJournalLineVar: The target item journal line record.

Remarks: Subscribe to this event to transfer additional custom fields from Tracking Specification to Item Journal Line.

OnAfterTrackSpecification2WhseJnlLine(Record Tracking Specification, Record Warehouse Journal Line) :

Summary: Raised after custom item tracking fields are transferred from a Tracking Specification to a Warehouse Journal Line.

[IntegrationEvent(false, false)]
local procedure OnAfterTrackSpecification2WhseJnlLine(trackingSpecificationPar: Record "Tracking Specification"; var warehouseJournalLineVar: Record "Warehouse Journal Line"): 

Parameters:

  • trackingSpecificationPar: The source tracking specification record.
  • warehouseJournalLineVar: The target warehouse journal line record.

Remarks: Subscribe to this event to transfer additional custom fields from Tracking Specification to Warehouse Journal Line.

OnAfterTrackSpecification2WhseActivityLine(Record Tracking Specification, Record Warehouse Activity Line) :

Summary: Raised after custom item tracking fields are transferred from a Tracking Specification to a Warehouse Activity Line.

[IntegrationEvent(false, false)]
local procedure OnAfterTrackSpecification2WhseActivityLine(trackingSpecificationPar: Record "Tracking Specification"; var warehouseActivityLineVar: Record "Warehouse Activity Line"): 

Parameters:

  • trackingSpecificationPar: The source tracking specification record.
  • warehouseActivityLineVar: The target warehouse activity line record.

Remarks: Subscribe to this event to transfer additional custom fields from Tracking Specification to Warehouse Activity Line.

OnAfterWhseItemTrack2TrackSpecification(Record Whse. Item Tracking Line, Record Tracking Specification) :

Summary: Raised after custom item tracking fields are transferred from a Whse. Item Tracking Line to a Tracking Specification.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseItemTrack2TrackSpecification(whseItemTrackingLinePar: Record "Whse. Item Tracking Line"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • whseItemTrackingLinePar: The source warehouse item tracking line record.
  • trackingSpecificationVar: The target tracking specification record.

Remarks: Subscribe to this event to transfer additional custom fields from Whse. Item Tracking Line to Tracking Specification.

OnAfterWhseItemTrack2WhseRcptLine(Record Whse. Item Tracking Line, Record Posted Whse. Receipt Line) :

Summary: Raised after custom item tracking fields are transferred from a Whse. Item Tracking Line to a Posted Whse. Receipt Line.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseItemTrack2WhseRcptLine(whseItemTrackingLinePar: Record "Whse. Item Tracking Line"; var postedWhseReceiptLineVar: Record "Posted Whse. Receipt Line"): 

Parameters:

  • whseItemTrackingLinePar: The source warehouse item tracking line record.
  • postedWhseReceiptLineVar: The target posted warehouse receipt line record.

Remarks: Subscribe to this event to transfer additional custom fields from Whse. Item Tracking Line to Posted Whse. Receipt Line.

OnAfterItemJnlLine2TrackSpecification(Record Item Journal Line, Record Tracking Specification) :

Summary: Raised after custom item tracking fields are transferred from an Item Journal Line to a Tracking Specification.

[IntegrationEvent(false, false)]
local procedure OnAfterItemJnlLine2TrackSpecification(itemJournalLinePar: Record "Item Journal Line"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • itemJournalLinePar: The source item journal line record.
  • trackingSpecificationVar: The target tracking specification record.

Remarks: Subscribe to this event to transfer additional custom fields from Item Journal Line to Tracking Specification.

OnAfterItemJnlLine2ItemLedgEntry(Record Item Journal Line, Record Item Ledger Entry) :

Summary: Raised after custom item tracking fields are transferred from an Item Journal Line to an Item Ledger Entry.

[IntegrationEvent(false, false)]
local procedure OnAfterItemJnlLine2ItemLedgEntry(itemJournalLinePar: Record "Item Journal Line"; var itemLedgerEntryVar: Record "Item Ledger Entry"): 

Parameters:

  • itemJournalLinePar: The source item journal line record.
  • itemLedgerEntryVar: The target item ledger entry record.

Remarks: Subscribe to this event to transfer additional custom fields from Item Journal Line to Item Ledger Entry.

OnAfterItemJnlLine2WhseJnlLine(Record Item Journal Line, Record Warehouse Journal Line) :

Summary: Raised after custom item tracking fields are transferred from an Item Journal Line to a Warehouse Journal Line.

[IntegrationEvent(false, false)]
local procedure OnAfterItemJnlLine2WhseJnlLine(itemJournalLinePar: Record "Item Journal Line"; var warehouseJournalLineVar: Record "Warehouse Journal Line"): 

Parameters:

  • itemJournalLinePar: The source item journal line record.
  • warehouseJournalLineVar: The target warehouse journal line record.

Remarks: Subscribe to this event to transfer additional custom fields from Item Journal Line to Warehouse Journal Line.

OnAfterItemLedgEntry2ItemJnlLine(Record Item Ledger Entry, Record Item Journal Line) :

Summary: Raised after custom item tracking fields are transferred from an Item Ledger Entry to an Item Journal Line.

[IntegrationEvent(false, false)]
local procedure OnAfterItemLedgEntry2ItemJnlLine(itemLedgerEntryPar: Record "Item Ledger Entry"; var itemJournalLineVar: Record "Item Journal Line"): 

Parameters:

  • itemLedgerEntryPar: The source item ledger entry record.
  • itemJournalLineVar: The target item journal line record.

Remarks: Subscribe to this event to transfer additional custom fields from Item Ledger Entry to Item Journal Line.

OnAfterItemLedgEntry2TrackSpecification(Record Item Ledger Entry, Record Tracking Specification) :

Summary: Raised after custom item tracking fields are transferred from an Item Ledger Entry to a Tracking Specification.

[IntegrationEvent(false, false)]
local procedure OnAfterItemLedgEntry2TrackSpecification(itemLedgerEntryPar: Record "Item Ledger Entry"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • itemLedgerEntryPar: The source item ledger entry record.
  • trackingSpecificationVar: The target tracking specification record.

Remarks: Subscribe to this event to transfer additional custom fields from Item Ledger Entry to Tracking Specification.

OnAfterItemLedgEntry2ReservEntry(Record Item Ledger Entry, Record Reservation Entry) :

Summary: Raised after custom item tracking fields are transferred from an Item Ledger Entry to a Reservation Entry.

[IntegrationEvent(false, false)]
local procedure OnAfterItemLedgEntry2ReservEntry(itemLedgerEntryPar: Record "Item Ledger Entry"; var reservationEntryVar: Record "Reservation Entry"): 

Parameters:

  • itemLedgerEntryPar: The source item ledger entry record.
  • reservationEntryVar: The target reservation entry record.

Remarks: Subscribe to this event to transfer additional custom fields from Item Ledger Entry to Reservation Entry.

OnAfterItemLedgEntry2WhseRcptLine(Record Item Ledger Entry, Record Posted Whse. Receipt Line) :

Summary: Raised after custom item tracking fields are transferred from an Item Ledger Entry to a Posted Whse. Receipt Line.

[IntegrationEvent(false, false)]
local procedure OnAfterItemLedgEntry2WhseRcptLine(itemLedgerEntryPar: Record "Item Ledger Entry"; var postedWhseReceiptLineVar: Record "Posted Whse. Receipt Line"): 

Parameters:

  • itemLedgerEntryPar: The source item ledger entry record.
  • postedWhseReceiptLineVar: The target posted warehouse receipt line record.

Remarks: Subscribe to this event to transfer additional custom fields from Item Ledger Entry to Posted Whse. Receipt Line.

OnAfterItemLedgEntry2WhseItemTrackingLine(Record Item Ledger Entry, Record Whse. Item Tracking Line) :

Summary: Raised after custom item tracking fields are transferred from an Item Ledger Entry to a Whse. Item Tracking Line.

[IntegrationEvent(false, false)]
local procedure OnAfterItemLedgEntry2WhseItemTrackingLine(itemLedgerEntryPar: Record "Item Ledger Entry"; var whseItemTrackingLineVar: Record "Whse. Item Tracking Line"): 

Parameters:

  • itemLedgerEntryPar: The source item ledger entry record.
  • whseItemTrackingLineVar: The target warehouse item tracking line record.

Remarks: Subscribe to this event to transfer additional custom fields from Item Ledger Entry to Whse. Item Tracking Line.

OnAfterItemLedgEntry2WhseEntry(Record Item Ledger Entry, Record Warehouse Entry) :

Summary: Raised after custom item tracking fields are transferred from an Item Ledger Entry to a Warehouse Entry.

[IntegrationEvent(false, false)]
local procedure OnAfterItemLedgEntry2WhseEntry(itemLedgerEntryPar: Record "Item Ledger Entry"; var warehouseEntryVar: Record "Warehouse Entry"): 

Parameters:

  • itemLedgerEntryPar: The source item ledger entry record.
  • warehouseEntryVar: The target warehouse entry record.

Remarks: Subscribe to this event to transfer additional custom fields from Item Ledger Entry to Warehouse Entry.

OnAfterWhseJnlLine2WhseEntry(Record Warehouse Journal Line, Record Warehouse Entry) :

Summary: Raised after custom item tracking fields are transferred from a Warehouse Journal Line to a Warehouse Entry.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseJnlLine2WhseEntry(warehouseJournalLinePar: Record "Warehouse Journal Line"; var warehouseEntryVar: Record "Warehouse Entry"): 

Parameters:

  • warehouseJournalLinePar: The source warehouse journal line record.
  • warehouseEntryVar: The target warehouse entry record.

Remarks: Subscribe to this event to transfer additional custom fields from Warehouse Journal Line to Warehouse Entry.

OnAfterWhseActivityLine2TrackingSpecification(Record Warehouse Activity Line, Record Tracking Specification) :

Summary: Raised after custom item tracking fields are transferred from a Warehouse Activity Line to a Tracking Specification.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseActivityLine2TrackingSpecification(warehouseActivityLinePar: Record "Warehouse Activity Line"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • warehouseActivityLinePar: The source warehouse activity line record.
  • trackingSpecificationVar: The target tracking specification record.

Remarks: Subscribe to this event to transfer additional custom fields from Warehouse Activity Line to Tracking Specification.

OnAfterWhseActivityLine2ReservEntry(Record Warehouse Activity Line, Record Reservation Entry) :

Summary: Raised after custom item tracking fields are transferred from a Warehouse Activity Line to a Reservation Entry.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseActivityLine2ReservEntry(warehouseActivityLinePar: Record "Warehouse Activity Line"; var reservationEntryVar: Record "Reservation Entry"): 

Parameters:

  • warehouseActivityLinePar: The source warehouse activity line record.
  • reservationEntryVar: The target reservation entry record.

Remarks: Subscribe to this event to transfer additional custom fields from Warehouse Activity Line to Reservation Entry.

OnAfterWhseActivityLine2WhseJnlLine(Record Warehouse Activity Line, Record Warehouse Journal Line) :

Summary: Raised after custom item tracking fields are transferred from a Warehouse Activity Line to a Warehouse Journal Line.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseActivityLine2WhseJnlLine(warehouseActivityLinePar: Record "Warehouse Activity Line"; var warehouseJournalLineVar: Record "Warehouse Journal Line"): 

Parameters:

  • warehouseActivityLinePar: The source warehouse activity line record.
  • warehouseJournalLineVar: The target warehouse journal line record.

Remarks: Subscribe to this event to transfer additional custom fields from Warehouse Activity Line to Warehouse Journal Line.

OnAfterWhseActivityLine2WhseItemTrackingLine(Record Warehouse Activity Line, Record Whse. Item Tracking Line) :

Summary: Raised after custom item tracking fields are transferred from a Warehouse Activity Line to a Whse. Item Tracking Line.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseActivityLine2WhseItemTrackingLine(warehouseActivityLinePar: Record "Warehouse Activity Line"; var whseItemTrackingLineVar: Record "Whse. Item Tracking Line"): 

Parameters:

  • warehouseActivityLinePar: The source warehouse activity line record.
  • whseItemTrackingLineVar: The target warehouse item tracking line record.

Remarks: Subscribe to this event to transfer additional custom fields from Warehouse Activity Line to Whse. Item Tracking Line.

OnAfterWhseActivityLine2WhseActivityLine(Record Warehouse Activity Line, Record Warehouse Activity Line) :

Summary: Raised after custom item tracking fields are transferred between two Warehouse Activity Lines.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseActivityLine2WhseActivityLine(warehouseActivityLinePar: Record "Warehouse Activity Line"; var warehouseActivityLineVar: Record "Warehouse Activity Line"): 

Parameters:

  • warehouseActivityLinePar: The source warehouse activity line record.
  • warehouseActivityLineVar: The target warehouse activity line record.

Remarks: Subscribe to this event to transfer additional custom fields between Warehouse Activity Lines.

OnAfterWhseEntry2ItemJnlLine(Record Warehouse Entry, Record Item Journal Line) :

Summary: Raised after custom item tracking fields are transferred from a Warehouse Entry to an Item Journal Line.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseEntry2ItemJnlLine(warehouseEntryPar: Record "Warehouse Entry"; var itemJournalLineVar: Record "Item Journal Line"): 

Parameters:

  • warehouseEntryPar: The source warehouse entry record.
  • itemJournalLineVar: The target item journal line record.

Remarks: Subscribe to this event to transfer additional custom fields from Warehouse Entry to Item Journal Line.

OnAfterWhseEntry2ReservEntry(Record Warehouse Entry, Record Reservation Entry) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Raised after custom item tracking fields are transferred from a Warehouse Entry to a Reservation Entry.

[Obsolete('The event OnAfterWhseEntry2ReservEntry is deprecated. The procedure, thats raising this event is never used', '28.3')]
[IntegrationEvent(false, false)]
local procedure OnAfterWhseEntry2ReservEntry(warehouseEntryPar: Record "Warehouse Entry"; var reservationEntryVar: Record "Reservation Entry"): 

Parameters:

  • warehouseEntryPar: The source warehouse entry record.
  • reservationEntryVar: The target reservation entry record.

Remarks: Subscribe to this event to transfer additional custom fields from Warehouse Entry to Reservation Entry.

OnAfterWhseEntry2WhseJnlLine(Record Warehouse Entry, Record Warehouse Journal Line) :

Summary: Raised after custom item tracking fields are transferred from a Warehouse Entry to a Warehouse Journal Line.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseEntry2WhseJnlLine(warehouseEntryPar: Record "Warehouse Entry"; var warehouseJournalLineVar: Record "Warehouse Journal Line"): 

Parameters:

  • warehouseEntryPar: The source warehouse entry record.
  • warehouseJournalLineVar: The target warehouse journal line record.

Remarks: Subscribe to this event to transfer additional custom fields from Warehouse Entry to Warehouse Journal Line.

OnAfterWhseEntry2WhseEntry(Record Warehouse Entry, Record Warehouse Entry) :

Summary: Raised after custom item tracking fields are transferred between two Warehouse Entries.

[IntegrationEvent(false, false)]
local procedure OnAfterWhseEntry2WhseEntry(warehouseEntryPar: Record "Warehouse Entry"; var warehouseEntryVar: Record "Warehouse Entry"): 

Parameters:

  • warehouseEntryPar: The source warehouse entry record.
  • warehouseEntryVar: The target warehouse entry record.

Remarks: Subscribe to this event to transfer additional custom fields between Warehouse Entries.

OnAfterInventoryProfile2ReservEntry(Record Inventory Profile, Record Reservation Entry) :

Summary: Raised after custom item tracking fields are transferred from an Inventory Profile to a Reservation Entry.

[IntegrationEvent(false, false)]
local procedure OnAfterInventoryProfile2ReservEntry(inventoryProfilePar: Record "Inventory Profile"; var reservationEntryVar: Record "Reservation Entry"): 

Parameters:

  • inventoryProfilePar: The source inventory profile record.
  • reservationEntryVar: The target reservation entry record.

Remarks: Subscribe to this event to transfer additional custom fields from Inventory Profile to Reservation Entry.

OnAfterReservEntry2InventoryProfile(Record Reservation Entry, Record Inventory Profile) :

Summary: Raised after custom item tracking fields are transferred from a Reservation Entry to an Inventory Profile.

[IntegrationEvent(false, false)]
local procedure OnAfterReservEntry2InventoryProfile(reservationEntryPar: Record "Reservation Entry"; var inventoryProfileVar: Record "Inventory Profile"): 

Parameters:

  • reservationEntryPar: The source reservation entry record.
  • inventoryProfileVar: The target inventory profile record.

Remarks: Subscribe to this event to transfer additional custom fields from Reservation Entry to Inventory Profile.

OnAfterPostedWhseRcptLine2WhseActivityLine(Record Posted Whse. Receipt Line, Record Warehouse Activity Line) :

Summary: Raised after custom item tracking fields are transferred from a Posted Whse. Receipt Line to a Warehouse Activity Line.

[IntegrationEvent(false, false)]
local procedure OnAfterPostedWhseRcptLine2WhseActivityLine(postedWhseRcptLinePar: Record "Posted Whse. Receipt Line"; var warehouseActivityLineVar: Record "Warehouse Activity Line"): 

Parameters:

  • postedWhseRcptLinePar: The source posted warehouse receipt line record.
  • warehouseActivityLineVar: The target warehouse activity line record.

Remarks: Subscribe to this event to transfer additional custom fields from Posted Whse. Receipt Line to Warehouse Activity Line.

OnAfterEntrySummary2TrackSpecification(Record Entry Summary, Record Tracking Specification) :

Summary: Raised after custom item tracking fields are transferred from an Entry Summary to a Tracking Specification.

[IntegrationEvent(false, false)]
local procedure OnAfterEntrySummary2TrackSpecification(entrySummaryPar: Record "Entry Summary"; var trackingSpecificationVar: Record "Tracking Specification"): 

Parameters:

  • entrySummaryPar: The source entry summary record.
  • trackingSpecificationVar: The target tracking specification record.

Remarks: Subscribe to this event to transfer additional custom fields from Entry Summary to Tracking Specification.

OnAfterEntrySummary2WhseItemTrackingLine(Record Entry Summary, Record Whse. Item Tracking Line) :

Summary: Raised after custom item tracking fields are transferred from an Entry Summary to a Whse. Item Tracking Line.

[IntegrationEvent(false, false)]
local procedure OnAfterEntrySummary2WhseItemTrackingLine(entrySummaryPar: Record "Entry Summary"; var whseItemTrackingLineVar: Record "Whse. Item Tracking Line"): 

Parameters:

  • entrySummaryPar: The source entry summary record.
  • whseItemTrackingLineVar: The target warehouse item tracking line record.

Remarks: Subscribe to this event to transfer additional custom fields from Entry Summary to Whse. Item Tracking Line.

OnBeforeOnBeforeClosePageOnItemTrackingLines(Record Tracking Specification, Boolean, Boolean) :

Summary: Raised before the Item Tracking Lines page closing logic inserts serial and lot number information records.

[IntegrationEvent(false, false)]
local procedure OnBeforeOnBeforeClosePageOnItemTrackingLines(var TrackingSpecification: Record "Tracking Specification"; var SkipWriteToDatabase: Boolean; var Handled: Boolean): 

Parameters:

  • TrackingSpecification: The tracking specification record that is being processed for the inbound document line.
  • SkipWriteToDatabase: Boolean variable to skip the automatic information record creation if set to true.
  • Handled: Boolean variable to indicate whether the event has been handled. Set to true to skip the default processing.

Remarks: Subscribe to this event to handle the insertion of tracking information records manually. Set Handled to true to skip the default processing.

OnBeforeCheckItemLedgerEntrywithLotNoExist(Code[20], Code[50], Code[50], Boolean, Boolean) :

Summary: Raised before checking whether Item Ledger Entries exist for a given Item No., Variant Code and Lot No.

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckItemLedgerEntrywithLotNoExist(ItemNo: Code[20]; VariantCode: Code[50]; LotNo: Code[50]; var ItemLedgerEntryExist: Boolean; var IsHandled: Boolean): 

Parameters:

  • ItemNo: The item number to check for existing ledger entries.
  • VariantCode: The variant code to check for existing ledger entries.
  • LotNo: The lot number to check for existing ledger entries.
  • ItemLedgerEntryExist: Boolean variable to return whether matching item ledger entries exist.
  • IsHandled: Boolean variable to indicate whether the event has been handled. Set to true to skip the default existence check.

Remarks: Subscribe to this event to override the default existence check by setting IsHandled to true and providing the result in ItemLedgerEntryExist.

OnBeforeClearWhseActivityLineFields(Record Warehouse Activity Line, Boolean) :

Summary: Raised before clearing the fields of a Warehouse Activity Line record.

[IntegrationEvent(false, false)]
local procedure OnBeforeClearWhseActivityLineFields(WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean): 

Parameters:

  • WarehouseActivityLine: The Warehouse Activity Line record that is about to be cleared.
  • IsHandled: True if the event has been handled and the default clearing logic should be skipped; otherwise, false.

Remarks: Subscribe to this event to perform custom logic before clearing the fields of a Warehouse Activity Line record. Set IsHandled to true to skip the default clearing logic.

OnBeforeGetLotSNDataSet(Code[20], Code[10], Code[50], Code[50], Code[50], Record Item Ledger Entry, Boolean, Boolean) :

Summary: Raised before retrieving the dataset of Item Ledger Entries for a given Item No., Variant Code, Lot No., Serial No., and Package No.

[IntegrationEvent(false, false)]
local procedure OnBeforeGetLotSNDataSet(ItemNo: Code[20]; VariantCode: Code[10]; LotNo: Code[50]; SerialNo: Code[50]; PackageNo: Code[50]; var ItemLedgerEntry: Record "Item Ledger Entry"; var FoundEntry: Boolean; var IsHandled: Boolean): 

Parameters:

  • ItemNo: The item number to retrieve the dataset for.
  • VariantCode: The variant code to retrieve the dataset for.
  • LotNo: The lot number to retrieve the dataset for.
  • SerialNo: The serial number to retrieve the dataset for.
  • PackageNo: The package number to retrieve the dataset for.
  • ItemLedgerEntry: The Item Ledger Entry record that will be used to retrieve the dataset.
  • FoundEntry: True if a matching Item Ledger Entry was found; otherwise, false.
  • IsHandled: True if the event has been handled and the default dataset retrieval logic should be skipped; otherwise, false.

Remarks: Subscribe to this event to perform custom logic before retrieving the dataset of Item Ledger Entries for a given Item No., Variant Code, Lot No., and Serial No. Set IsHandled to true to skip the default dataset retrieval logic. You can also modify the FoundEntry variable to indicate whether a matching entry was found, and you can modify the ItemLedgerEntry record to specify which entry should be used for the dataset retrieval.