Table of Contents

Table "Requisition Line"

ID 246
Namespace: Microsoft.Inventory.Requisition

Properties

Name Value
Caption Requisition Line
DataCaptionFields 2,3
DrillDownPageID Page Microsoft.Inventory.Requisition."Requisition Lines"
LookupPageID Page Microsoft.Inventory.Requisition."Requisition Lines"
Permissions TableData Microsoft.Manufacturing.Routing."Routing Header" = r, TableData Microsoft.Manufacturing.ProductionBOM."Production BOM Header" = r
DataClassification CustomerContent

Fields

Name Type Description
"Worksheet Template Name" Code[10]

Specifies the name of the requisition worksheet template.

"Journal Batch Name" Code[10]

Specifies the name of the journal batch, a personalized journal layout, that the entries were posted from.

"Line No." Integer

Specifies the number of the requisition worksheet line.

Type Enum Microsoft.Inventory.Requisition."Requisition Line Type"

Specifies the type of requisition worksheet line you are creating.

"No." Code[20]

Specifies the number of the involved entry or record, according to the specified number series.

Description Text[100]

Specifies text that describes the entry.

"Description 2" Text[50]

Specifies additional text describing the entry, or a remark about the requisition worksheet line.

Quantity Decimal

Specifies the number of units of the item.

"Vendor No." Code[20]

Specifies the number of the vendor who will ship the items in the purchase order.

"Direct Unit Cost" Decimal

Specifies the cost of one unit of the selected item or resource.

"Due Date" Date

Specifies the date when you can expect to receive the items.

"Requester ID" Code[50]

Specifies the ID of the user who is ordering the items on the line.

Confirmed Boolean

Specifies whether the items on the line have been approved for purchase.

"Shortcut Dimension 1 Code" Code[20]

Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window.

"Shortcut Dimension 2 Code" Code[20]

Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window.

"Location Code" Code[10]

Specifies a code for an inventory location where the items that are being ordered will be registered.

"Recurring Method" Option

Specifies a recurring method, if you have indicated in the Recurring field that the worksheet is a recurring requisition worksheet.

"Expiration Date" Date

Specifies the last date on which the recurring requisition worksheet will be converted to a purchase order.

"Recurring Frequency" DateFormula

Specifies a recurring frequency, if it is indicated in the Recurring field that the worksheet is a recurring requisition worksheet.

"Order Date" Date

Specifies the date when the related order was created.

"Vendor Item No." Text[50]

Specifies the number that the vendor uses for this item.

"Sales Order No." Code[20]
"Sales Order Line No." Integer
"Sell-to Customer No." Code[20]

Specifies the number of the customer.

"Ship-to Code" Code[10]

Specifies a code for an alternate shipment address if you want to ship to another address than the one that has been entered automatically. This field is also used in case of drop shipment.

"Order Address Code" Code[10]

Specifies the order address of the related vendor.

"Currency Code" Code[10]

Specifies the currency code for the requisition lines.

"Currency Factor" Decimal
"Reserved Quantity" Decimal

Specifies how many units of this item have been reserved.

"Purchaser Code" Code[20]

Specifies which purchaser is assigned to the vendor.

"Drop Shipment" Boolean

Specifies if demand is for drop shipment or not.

"Dimension Set ID" Integer
"Variant Code" Code[10]

Specifies the variant of the item on the line.

"Bin Code" Code[20]

Specifies the bin of the item on the line.

"Qty. per Unit of Measure" Decimal
"Qty. Rounding Precision" Decimal
"Qty. Rounding Precision (Base)" Decimal
"Unit of Measure Code" Code[10]

Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted.

"Quantity (Base)" Decimal
"Reserved Qty. (Base)" Decimal
"Demand Type" Integer
"Demand Subtype" Option
"Demand Order No." Code[20]

Specifies the number of the demanded order that represents the planning line.

"Demand Line No." Integer

Specifies the line number of the demand, such as a sales order line.

"Demand Ref. No." Integer
Status Option
"Demand Date" Date

Specifies the demanded date of the demand that the planning line represents.

"Demand Quantity" Decimal

Specifies the quantity on the demand that the planning line represents.

"Demand Quantity (Base)" Decimal
"Needed Quantity" Decimal

Specifies the demand quantity that is not available and must be ordered to meet the demand represented on the planning line.

"Needed Quantity (Base)" Decimal
Reserve Boolean

Specifies whether the item on the planning line has a setting of Always in the Reserve field on its item card.

"Qty. per UOM (Demand)" Decimal
"Unit Of Measure Code (Demand)" Code[10]
"Supply From" Code[20]

Specifies a value, according to the selected replenishment system, before a supply order can be created for the line.

"Original Item No." Code[20]
"Original Variant Code" Code[10]
Level Integer
"Demand Qty. Available" Decimal

Specifies how many of the demand quantity are available.

"User ID" Code[50]
"Item Category Code" Code[20]
Nonstock Boolean
"Purchasing Code" Code[10]

Specifies the code for a special procurement method, such as drop shipment.

"Transfer-from Code" Code[10]

Specifies the code of the location that items are transferred from.

"Transfer Shipment Date" Date

Specifies the shipment date of the transfer order proposal.

"Price Calculation Method" Enum Microsoft.Pricing.Calculation."Price Calculation Method"

Specifies the method that will be used for unit cost calculation in the line.

"Line Discount %" Decimal

Specifies the discount percentage that is granted for the item on the line.

"Blanket Purch. Order Exists" Boolean

Specifies if a blanket purchase order exists for the item on the requisition line.

"Custom Sorting Order" Code[50]
"MPS Order" Boolean

Specifies whether the requisition worksheet line is an MPS order, that is, whether it is linked to a demand forecast or a sales order.

"Planning Flexibility" Enum Microsoft.Inventory.Tracking."Reservation Planning Flexibility"

Specifies whether the supply represented by this line is considered by the planning system when calculating action messages.

"Routing Reference No." Integer
"Gen. Prod. Posting Group" Code[20]

Specifies the item's product type to link transactions made for this item with the appropriate general ledger account according to the general posting setup.

"Gen. Business Posting Group" Code[20]

Specifies the code of the general business posting group to be used for the item when you post the planning worksheet.

"Low-Level Code" Integer

Specifies the planning level of this item entry in the planning worksheet.

"Original Quantity" Decimal

Specifies the quantity stated on the production or purchase order, when an action message proposes to change the quantity on an order.

"Finished Quantity" Decimal
"Remaining Quantity" Decimal
"Original Due Date" Date

Specifies the due date stated on the production or purchase order, when an action message proposes to reschedule an order.

"Starting Date" Date

Specifies the starting date of the manufacturing process, if the planned supply is a production order.

"Starting Time" Time

Specifies the starting time of the manufacturing process.

"Ending Date" Date

Specifies the ending date of the manufacturing process, if the planned supply is a production order.

"Ending Time" Time

Specifies the ending time for the manufacturing process.

"Indirect Cost %" Decimal
"Overhead Rate" Decimal
"Unit Cost" Decimal

Specifies the cost of one unit of the item or resource on the line.

"Cost Amount" Decimal

Specifies the total costs for the requisition worksheet line.

"Replenishment System" Enum Microsoft.Inventory.Item."Replenishment System"

Specifies which kind of order to use to create replenishment orders and order proposals.

"Ref. Order No." Code[20]

Specifies the number of the relevant production or purchase order.

"Ref. Order Type" Enum Microsoft.Inventory.Requisition."Requisition Ref. Order Type"

Specifies whether the order is a purchase order, a production order, or a transfer order.

"Ref. Order Status" Enum Microsoft.Manufacturing.Document."Production Order Status"

Specifies the status of the production order.

"Ref. Line No." Integer

Specifies the number of the purchase or production order line.

"No. Series" Code[20]
"Expected Component Cost Amt." Decimal
"Finished Qty. (Base)" Decimal
"Remaining Qty. (Base)" Decimal
"Related to Planning Line" Integer
"Planning Level" Integer

Indicates the planning level of the item in multi-level production orders. The planning level is calculated only for items that have Make-to-Order specified in the Manufacturing Policy field.

"Planning Line Origin" Enum Microsoft.Inventory.Planning."Planning Line Origin Type"
"Action Message" Enum Microsoft.Inventory.Tracking."Action Message Type"

Specifies an action to take to rebalance the demand-supply situation.

"Accept Action Message" Boolean

Specifies whether to accept the action message proposed for the line.

"Net Quantity (Base)" Decimal
"Starting Date-Time" DateTime

Specifies the starting date and the starting time, which are combined in a format called "starting date-time".

"Ending Date-Time" DateTime

Specifies the ending date and the ending time, which are combined in a format called "ending date-time".

"Order Promising ID" Code[20]
"Order Promising Line No." Integer
"Order Promising Line ID" Integer
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

CopyFromItem

procedure CopyFromItem()

ShowReservation

procedure ShowReservation()

ShowReservationEntries

procedure ShowReservationEntries(Modal: Boolean)

Parameters

Name Type Description
Modal Boolean

UpdateOrderReceiptDate

procedure UpdateOrderReceiptDate(LeadTimeCalc: DateFormula)

Parameters

Name Type Description
LeadTimeCalc DateFormula

LookupVendor

procedure LookupVendor(var Vend: Record Vendor; PreferItemVendorCatalog: Boolean): Boolean

Parameters

Name Type Description
Vend Table Microsoft.Purchases.Vendor.Vendor
PreferItemVendorCatalog Boolean

Returns

Type Description
Boolean

LookupFromLocation

procedure LookupFromLocation(var Location2: Record Location): Boolean

Parameters

Name Type Description
Location2 Table Microsoft.Inventory.Location.Location

Returns

Type Description
Boolean

UpdateDescription

procedure UpdateDescription()

BlockDynamicTracking

procedure BlockDynamicTracking(SetBlock: Boolean)

Parameters

Name Type Description
SetBlock Boolean

BlockDynamicTrackingOnComp

procedure BlockDynamicTrackingOnComp(SetBlock: Boolean)

Parameters

Name Type Description
SetBlock Boolean

CreateDim

procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

UpdateDim

procedure UpdateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

ValidateShortcutDimCode

procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

LookupShortcutDimCode

procedure LookupShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

ShowShortcutDimCode

procedure ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])

Parameters

Name Type Description
ShortcutDimCode array[8] of Code[20]

OpenItemTrackingLines

procedure OpenItemTrackingLines()

DeleteRelations

procedure DeleteRelations()

DeleteRelations

procedure DeleteRelations(DeleteAllLines: Boolean)

Parameters

Name Type Description
DeleteAllLines Boolean

DeleteMultiLevel

procedure DeleteMultiLevel()

ClearPlanningWorksheet

procedure ClearPlanningWorksheet(SkipConfirm: Boolean)

Parameters

Name Type Description
SkipConfirm Boolean

SetUpNewLine

Populates values of 'Order Date', 'Recurring Method' and 'Price Calculation Method' fields for a new requisition line.

procedure SetUpNewLine(LastReqLine: Record "Requisition Line")

Parameters

Name Type Description
LastReqLine Table Microsoft.Inventory.Requisition."Requisition Line"

Source requisition line record.

SetDueDate

Sets the value of field 'Due Date' for the current requisition line.

procedure SetDueDate()

SetCurrFieldNo

Sets the global variable 'CurrentFieldNo'.

procedure SetCurrFieldNo(NewCurrFieldNo: Integer)

Parameters

Name Type Description
NewCurrFieldNo Integer

Specified field number.

CheckDueDateToDemandDate

procedure CheckDueDateToDemandDate()

CheckActionMessageNew

procedure CheckActionMessageNew()

SetActionMessage

procedure SetActionMessage()

ValidateFields

procedure ValidateFields(): Boolean

Returns

Type Description
Boolean

GetPurchOrderLine

Prepares and transfers relevant field values from provided purchase line to the current requisition line.

procedure GetPurchOrderLine(PurchOrderLine: Record "Purchase Line")

Parameters

Name Type Description
PurchOrderLine Table Microsoft.Purchases.Document."Purchase Line"

Source purchase line record.

Remarks

In case no purchase header is found for the provided 'PurchOrderLine', error will be invoked.

GetTransLine

Prepares and transfers relevant field values from provided transfer line to the current requisition line.

procedure GetTransLine(TransLine: Record "Transfer Line")

Parameters

Name Type Description
TransLine Table Microsoft.Inventory.Transfer."Transfer Line"

Source transfer line record.

Remarks

In case no transfer header is found for the provided 'TransLine', error will be invoked.

GetActionMessages

Runs the report 'Get Action Messages' in reference to the current requisition line.

procedure GetActionMessages()

GetRemainingQty

Calculates values of fields 'Remaining Quantity' and 'Remaining Quantity (Base)' for the current requisition line.

procedure GetRemainingQty(var RemainingQty: Decimal; var RemainingQtyBase: Decimal)

Parameters

Name Type Description
RemainingQty Decimal

Parameter to hold the value of field 'Remaining Quantity'.

RemainingQtyBase Decimal

Parameter to hold the value of field 'Remaining Quantity (Base)'.

GetReservationQty

Calculates reserve quantity information for the current requisition line.

procedure GetReservationQty(var QtyReserved: Decimal; var QtyReservedBase: Decimal; var QtyToReserve: Decimal; var QtyToReserveBase: Decimal): Decimal

Parameters

Name Type Description
QtyReserved Decimal

Parameter to hold the value of field 'Reserved Quantity'.

QtyReservedBase Decimal

Parameter to hold the value of field 'Reserved Qty. (Base)'.

QtyToReserve Decimal

Parameter to hold the quantity to reserve.

QtyToReserveBase Decimal

Parameter to hold the quantity to reserve base value.

Returns

Type Description
Decimal

Returns quantity per unit of measure information for the current record.

GetSourceCaption

Combines values of 'Worksheet Template Name', 'Journal Batch Name' and 'No.' fields of the current requisition line.

procedure GetSourceCaption(): Text

Returns

Type Description
Text

Returns source requisiton line information.

SetReservationEntry

Copies values from the current record to specified reservation entry record.

procedure SetReservationEntry(var ReservEntry: Record "Reservation Entry")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

Specified reservation entry.

SetReservationFilters

Sets filters from the current requisition line to specified reservation entry record.

procedure SetReservationFilters(var ReservEntry: Record "Reservation Entry")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

Specified reservation entry.

ReservEntryExist

Checks whether reservation entries related to the current requisition line exist.

procedure ReservEntryExist(): Boolean

Returns

Type Description
Boolean

Returns 'true' if reservation entry is found, otherwise 'false'.

SetRefOrderFilters

Sets filters from provided reference document line to the current requisition line.

procedure SetRefOrderFilters(RefOrderType: Enum "Requisition Ref. Order Type"; RefOrderStatus: Option; RefOrderNo: Code[20]; RefLineNo: Integer)

Parameters

Name Type Description
RefOrderType Enum Microsoft.Inventory.Requisition."Requisition Ref. Order Type"

Provided reference order type.

RefOrderStatus Option

Provided reference order status.

RefOrderNo Code[20]

Provided reference order number.

RefLineNo Integer

Provided reference order line number.

TransferFromPurchaseLine

procedure TransferFromPurchaseLine(var PurchLine: Record "Purchase Line")

Parameters

Name Type Description
PurchLine Table Microsoft.Purchases.Document."Purchase Line"

TransferFromTransLine

procedure TransferFromTransLine(var TransLine: Record "Transfer Line")

Parameters

Name Type Description
TransLine Table Microsoft.Inventory.Transfer."Transfer Line"

GetDimFromRefOrderLine

procedure GetDimFromRefOrderLine(AddToExisting: Boolean)

Parameters

Name Type Description
AddToExisting Boolean

TransferFromActionMessage

procedure TransferFromActionMessage(var ActionMessageEntry: Record "Action Message Entry")

Parameters

Name Type Description
ActionMessageEntry Table Microsoft.Inventory.Tracking."Action Message Entry"

TransferToTrackingEntry

procedure TransferToTrackingEntry(var TrkgReservEntry: Record "Reservation Entry"; PointerOnly: Boolean)

Parameters

Name Type Description
TrkgReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
PointerOnly Boolean

UpdateDatetime

procedure UpdateDatetime()

GetDirectCost

Gets item unit cost of the current requisition line.

procedure GetDirectCost(CalledByFieldNo: Integer)

Parameters

Name Type Description
CalledByFieldNo Integer

Indicates the number of the field which invoked the method.

GetLineWithPrice

procedure GetLineWithPrice(var LineWithPrice: Interface "Line With Price")

Parameters

Name Type Description
LineWithPrice Interface Microsoft.Pricing.PriceList."Line With Price"

RowID1

procedure RowID1(): Text[250]

Returns

Type Description
Text[250]

CalcEndingDate

Calculates value for the field 'Ending Date' based on provided 'LeadTime' formula or current requisition line.

procedure CalcEndingDate(LeadTime: Code[20])

Parameters

Name Type Description
LeadTime Code[20]

Provided lead time formula.

Remarks

In case 'LeadTime' is empty, lead time code will be defined according to the reference order type.

CalcStartingDate

Calculates value for the field 'Starting Date' based on provided 'LeadTime' formula for the current requisition line.

procedure CalcStartingDate(LeadTime: Code[20])

Parameters

Name Type Description
LeadTime Code[20]

Provided lead time formula.

Remarks

In case 'LeadTime' is empty, lead time code will be defined according to the reference order type. 'Order Date' of the current requisition line will be set to newly calculated 'Starting Date'.

SetSubcontracting

procedure SetSubcontracting(NewSubcontracting: Boolean)

Parameters

Name Type Description
NewSubcontracting Boolean

IsSubcontracting

procedure IsSubcontracting(): Boolean

Returns

Type Description
Boolean

TransferFromUnplannedDemand

Populates corresponding values of the current requisition line in reference to the provided unplanned demand.

procedure TransferFromUnplannedDemand(var UnplannedDemand: Record "Unplanned Demand")

Parameters

Name Type Description
UnplannedDemand Table Microsoft.Inventory.Planning."Unplanned Demand"

Source unplanned demand record.

SetSupplyDates

Sets values of 'Demand Date', 'Order Date', 'Starting Date' and 'Ending Date' fields of the current record based on provided 'DemandDate'.

procedure SetSupplyDates(DemandDate: Date)

Parameters

Name Type Description
DemandDate Date

Provided demand date.

SetSupplyQty

Calculates demanded and needed quantities based on provided parameters 'DemandQtyBase' and 'NeededQtyBase'.

procedure SetSupplyQty(DemandQtyBase: Decimal; NeededQtyBase: Decimal)

Parameters

Name Type Description
DemandQtyBase Decimal

Provided demanded quantity.

NeededQtyBase Decimal

Provided needed quantitiy.

Remarks

Validation of the field 'Quantity' will be triggered.

SetResiliencyOn

procedure SetResiliencyOn(WkshTemplName: Code[10]; JnlBatchName: Code[10]; ItemNo: Code[20])

Parameters

Name Type Description
WkshTemplName Code[10]
JnlBatchName Code[10]
ItemNo Code[20]

GetResiliencyError

procedure GetResiliencyError(var PlanningErrorLog: Record "Planning Error Log"): Boolean

Parameters

Name Type Description
PlanningErrorLog Table Microsoft.Inventory.Planning."Planning Error Log"

Returns

Type Description
Boolean

GetResiliencyErrors

Gets all resiliency errors from the planning error log.

procedure GetResiliencyErrors(var PlanningErrorLog: Record "Planning Error Log"): Boolean

Parameters

Name Type Description
PlanningErrorLog Table Microsoft.Inventory.Planning."Planning Error Log"

The planning error log record to populate with errors.

Returns

Type Description
Boolean

True if there are errors, otherwise false.

SetResiliencyError

procedure SetResiliencyError(TheError: Text[250]; TheTableID: Integer; TheTablePosition: Text[250])

Parameters

Name Type Description
TheError Text[250]
TheTableID Integer
TheTablePosition Text[250]

SetDemandTypeFromUnplannedDemand

procedure SetDemandTypeFromUnplannedDemand(UnplannedDemand: Record "Unplanned Demand")

Parameters

Name Type Description
UnplannedDemand Table Microsoft.Inventory.Planning."Unplanned Demand"

FilterLinesWithItemToPlan

Filters corresponding fields of the current record based on provided item record.

procedure FilterLinesWithItemToPlan(var Item2: Record Item)

Parameters

Name Type Description
Item2 Table Microsoft.Inventory.Item.Item

FindLinesWithItemToPlan

Gets filtered requisition line based on values from provided item record.

procedure FindLinesWithItemToPlan(var Item2: Record Item): Boolean

Parameters

Name Type Description
Item2 Table Microsoft.Inventory.Item.Item

Returns

Type Description
Boolean

Returns 'true' if filtered requisition line is found, otherwise 'false'.

FilterLinesForReservation

Sets filters on corresponding fields of requisition lines based on specified reservation entry, availability date filter and parameter 'Positive'.

procedure FilterLinesForReservation(ReservationEntry: Record "Reservation Entry"; AvailabilityFilter: Text; Positive: Boolean)

Parameters

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

Specified reservation entry record.

AvailabilityFilter Text

Specified availability date filter.

Positive Boolean

In case 'true', 'Quantity (Base)' is to have value greater than zero, otherwise negative value.

FindCurrForecastName

procedure FindCurrForecastName(var ForecastName: Code[10]): Boolean

Parameters

Name Type Description
ForecastName Code[10]

Returns

Type Description
Boolean

ShowDimensions

Depicts dimensions of the current requisition line.

procedure ShowDimensions()

GetOriginalQtyBase

Calcuates original base quantity from fields 'Original Quantity' and 'Qty. per Unit of Measure' of the current requisition line.

procedure GetOriginalQtyBase(): Decimal

Returns

Type Description
Decimal

Returns calculated quantity base value.

IsDropShipment

Checks whether the current requisition line is a drop shipment.

procedure IsDropShipment(): Boolean

Returns

Type Description
Boolean

Returns 'true' if requisition line is a drop shipment, otherwise 'false'.

GetLocationCode

Sets location code for the current requisition line record.

procedure GetLocationCode()

IsDropShipmentOrSpecialOrder

procedure IsDropShipmentOrSpecialOrder(): Boolean

Returns

Type Description
Boolean

LookupRefOrderNo

procedure LookupRefOrderNo()

UpdateUnitOfMeasureCodeFromItemBaseUnitOfMeasure

procedure UpdateUnitOfMeasureCodeFromItemBaseUnitOfMeasure()

GetJnlBatchNameForOrderPlanning

procedure GetJnlBatchNameForOrderPlanning(): Code[10]

Returns

Type Description
Code[10]

CreateDimFromDefaultDim

procedure CreateDimFromDefaultDim()

ReserveBindingOrder

procedure ReserveBindingOrder(TrackingSpecification: Record "Tracking Specification"; SourceDescription: Text[100]; ExpectedDate: Date; ReservQty: Decimal; ReservQtyBase: Decimal; UpdateReserve: Boolean)

Parameters

Name Type Description
TrackingSpecification Table Microsoft.Inventory.Tracking."Tracking Specification"
SourceDescription Text[100]
ExpectedDate Date
ReservQty Decimal
ReservQtyBase Decimal
UpdateReserve Boolean

CleanProdOrderNo

procedure CleanProdOrderNo()

CleanProdBOMNo

procedure CleanProdBOMNo()

SetOperationNoFilterToBlank

procedure SetOperationNoFilterToBlank()

IsProdOrder

procedure IsProdOrder(): Boolean

Returns

Type Description
Boolean

IsProductionBOM

procedure IsProductionBOM(): Boolean

Returns

Type Description
Boolean

IsProdDemand

procedure IsProdDemand(): Boolean

Returns

Type Description
Boolean

ResetReqLineFields

procedure ResetReqLineFields()

TestProdOrderNo

procedure TestProdOrderNo()

SetDoNotUpdateOrderReceiptDate

procedure SetDoNotUpdateOrderReceiptDate(NewUpdateOrderReceiptDate: Boolean)

Parameters

Name Type Description
NewUpdateOrderReceiptDate Boolean

CheckRequisitionWkshLineRestriction

procedure CheckRequisitionWkshLineRestriction()

Events

OnAfterInitDefaultDimensionSources

[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var RequisitionLine: Record "Requisition Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; CurrFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]
CurrFieldNo Integer

OnAfterUpdateDescription

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDescription(var RequisitionLine: Record "Requisition Line"; Item: Record Item; ItemVariant: Record "Item Variant"; FieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
ItemVariant Table Microsoft.Inventory.Item."Item Variant"
FieldNo Integer

OnAfterCopyFromItem

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromItem(var RequisitionLine: Record "Requisition Line"; Item: Record Item; CurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
CurrentFieldNo Integer

OnAfterClearPlanningWorksheet

[IntegrationEvent(False,False)]
local procedure OnAfterClearPlanningWorksheet(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnAfterCreateDim

[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var ReqLine: Record "Requisition Line"; xReqLine: Record "Requisition Line")

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
xReqLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnAfterDeleteMultiLevel

[IntegrationEvent(False,False)]
local procedure OnAfterDeleteMultiLevel(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnAfterDeleteRelations

[IntegrationEvent(False,False)]
local procedure OnAfterDeleteRelations(var RequisitionLine: Record "Requisition Line"; DeleteAllLines: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
DeleteAllLines Boolean

OnAfterFilterLinesWithItemToPlan

[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesWithItemToPlan(var RequisitionLine: Record "Requisition Line"; var Item: Record Item)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item

OnAfterFilterLinesForReservation

[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesForReservation(var RequisitionLine: Record "Requisition Line"; var ReservationEntry: Record "Reservation Entry")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

OnAfterGetDirectCost

[IntegrationEvent(False,False)]
local procedure OnAfterGetDirectCost(var RequisitionLine: Record "Requisition Line"; CalledByFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CalledByFieldNo Integer

OnAfterGetLineWithPrice

[IntegrationEvent(True,False)]
local procedure OnAfterGetLineWithPrice(var LineWithPrice: Interface "Line With Price")

Parameters

Name Type Description
LineWithPrice Interface Microsoft.Pricing.PriceList."Line With Price"

OnAfterOnInsert

[IntegrationEvent(False,False)]
local procedure OnAfterOnInsert(var RequisitionLine: Record "Requisition Line"; ReqWkshTemplate: Record "Req. Wksh. Template"; RequisitionWkshName: Record "Requisition Wksh. Name")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ReqWkshTemplate Table Microsoft.Inventory.Requisition."Req. Wksh. Template"
RequisitionWkshName Table Microsoft.Inventory.Requisition."Requisition Wksh. Name"

OnAfterSetDueDate

[IntegrationEvent(False,False)]
local procedure OnAfterSetDueDate(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnAfterSetRemaningQuantity

[IntegrationEvent(False,False)]
local procedure OnAfterSetRemaningQuantity(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; CallingFieldNo: Integer; GlobalCurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CallingFieldNo Integer
GlobalCurrentFieldNo Integer

OnAfterSetReplenishmentSystemFromPurchase

[IntegrationEvent(False,False)]
local procedure OnAfterSetReplenishmentSystemFromPurchase(var RequisitionLine: Record "Requisition Line"; Item: Record Item; StockkeepingUnit: Record "Stockkeeping Unit")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"

OnAfterTransferFromActionMessage

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromActionMessage(var RequisitionLine: Record "Requisition Line"; var ActionMessageEntry: Record "Action Message Entry"; var ReservEntry: Record "Reservation Entry")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ActionMessageEntry Table Microsoft.Inventory.Tracking."Action Message Entry"
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

OnAfterSetReplenishmentSystemFromTransfer

[IntegrationEvent(False,False)]
local procedure OnAfterSetReplenishmentSystemFromTransfer(var RequisitionLine: Record "Requisition Line"; Item: Record Item; StockkeepingUnit: Record "Stockkeeping Unit"; CurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"
CurrentFieldNo Integer

OnAfterSetReservationEntry

[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationEntry(var ReservEntry: Record "Reservation Entry"; RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnAfterSetReservationFilters

[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationFilters(var ReservEntry: Record "Reservation Entry"; RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnAfterTransferFromPurchaseLine

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromPurchaseLine(var ReqLine: Record "Requisition Line"; PurchLine: Record "Purchase Line")

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
PurchLine Table Microsoft.Purchases.Document."Purchase Line"

OnAfterTransferFromTransLine

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromTransLine(var ReqLine: Record "Requisition Line"; TransLine: Record "Transfer Line")

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
TransLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnAfterTransferFromUnplannedDemand

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromUnplannedDemand(var RequisitionLine: Record "Requisition Line"; UnplannedDemand: Record "Unplanned Demand")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
UnplannedDemand Table Microsoft.Inventory.Planning."Unplanned Demand"

OnAfterTransferToTrackingEntry

[IntegrationEvent(False,False)]
local procedure OnAfterTransferToTrackingEntry(var ReservationEntry: Record "Reservation Entry"; RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnAfterUpdateOrderReceiptDate

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateOrderReceiptDate(var RequisitionLine: Record "Requisition Line"; LeadTimeCalc: DateFormula)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
LeadTimeCalc DateFormula

OnAfterValidateFields

[IntegrationEvent(False,False)]
local procedure OnAfterValidateFields(RequisitionLine: Record "Requisition Line"; CurrFieldNo: Integer; CurrentFieldNo: Integer; var Result: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CurrFieldNo Integer
CurrentFieldNo Integer
Result Boolean

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeCopyFromItem

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromItem(var RequisitionLine: Record "Requisition Line"; Item: Record Item; xRequisitionLine: Record "Requisition Line"; FieldNo: Integer; var TempPlanningErrorLog: Record "Planning Error Log" temporary; PlanningResiliency: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
FieldNo Integer
TempPlanningErrorLog Table Microsoft.Inventory.Planning."Planning Error Log"
PlanningResiliency Boolean

OnBeforeCheckBlockedItem

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBlockedItem(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeCheckEndingDate

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckEndingDate(var RequisitionLine: Record "Requisition Line"; var ShowWarning: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ShowWarning Boolean
IsHandled Boolean

OnBeforeCheckVendorBlocked

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVendorBlocked(var RequisitionLine: Record "Requisition Line"; var Vendor: Record Vendor; var IsHandled: Boolean; GlobalCurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Vendor Table Microsoft.Purchases.Vendor.Vendor
IsHandled Boolean
GlobalCurrentFieldNo Integer

OnBeforeDeleteMultiLevel

[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteMultiLevel(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnBeforeGetDefaultBin

[IntegrationEvent(False,False)]
local procedure OnBeforeGetDefaultBin(var RequisitionLine: Record "Requisition Line"; var ShouldGetDefaultBin: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ShouldGetDefaultBin Boolean

OnBeforeGetDirectCost

[IntegrationEvent(False,False)]
local procedure OnBeforeGetDirectCost(var ReqLine: Record "Requisition Line"; xReqLine: Record "Requisition Line"; CalledByFieldNo: Integer; FieldNo: Integer; Subcontracting: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
xReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
CalledByFieldNo Integer
FieldNo Integer
Subcontracting Boolean
IsHandled Boolean

OnBeforeGetReservationQty

[IntegrationEvent(False,False)]
local procedure OnBeforeGetReservationQty(var RequisitionLine: Record "Requisition Line"; var QtyReserved: Decimal; var QtyReservedBase: Decimal; var QtyToReserve: Decimal; var QtyToReserveBase: Decimal; var Result: Decimal; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
QtyReserved Decimal
QtyReservedBase Decimal
QtyToReserve Decimal
QtyToReserveBase Decimal
Result Decimal
IsHandled Boolean

OnBeforeInitRecordForOrderPlanning

[IntegrationEvent(False,False)]
local procedure OnBeforeInitRecordForOrderPlanning(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeLookupVendor

[IntegrationEvent(False,False)]
local procedure OnBeforeLookupVendor(var RequisitionLine: Record "Requisition Line"; var Vendor: Record Vendor; var PreferItemVendorCatalog: Boolean; var IsHandled: Boolean; var IsVendorSelected: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Vendor Table Microsoft.Purchases.Vendor.Vendor
PreferItemVendorCatalog Boolean
IsHandled Boolean
IsVendorSelected Boolean

OnBeforeLookupVendorNo

[IntegrationEvent(False,False)]
local procedure OnBeforeLookupVendorNo(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeOnDelete

[IntegrationEvent(False,False)]
local procedure OnBeforeOnDelete(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeSetFromBinCode

[IntegrationEvent(False,False)]
local procedure OnBeforeSetFromBinCode(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeValidateVendorNoWithStockkeepingUnit

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateVendorNoWithStockkeepingUnit(var RequisitionLine: Record "Requisition Line"; StockkeepingUnit: Record "Stockkeeping Unit"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"
IsHandled Boolean

OnBeforeValidateItemDescriptionAndQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateItemDescriptionAndQuantity(var RequisitionLine: Record "Requisition Line"; Vendor: Record Vendor; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Vendor Table Microsoft.Purchases.Vendor.Vendor
IsHandled Boolean

OnBeforeValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeUpdateDescription

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateDescription(var RequisitionLine: Record "Requisition Line"; CalledByFieldNo: Integer; var IsHandled: Boolean; xRequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CalledByFieldNo Integer
IsHandled Boolean
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnBeforeUpdateOrderReceiptDate

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateOrderReceiptDate(var RequisitionLine: Record "Requisition Line"; LeadTimeCalc: DateFormula; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
LeadTimeCalc DateFormula
IsHandled Boolean

OnBeforeValidateQuantityBase

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityBase(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean; xRequisitionLine: Record "Requisition Line"; FieldNo: Integer; FieldNo2: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
FieldNo Integer
FieldNo2 Integer

OnBeforeValidateUnitCost

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateUnitCost(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeUpdateReplenishmentSystem

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateReplenishmentSystem(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeValidateReplenishmentSystem

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateReplenishmentSystem(var RequisitionLine: Record "Requisition Line"; StockkeepingUnit: Record "Stockkeeping Unit"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"
IsHandled Boolean

OnGetLocationCodeOnBeforeUpdate

[IntegrationEvent(False,False)]
local procedure OnGetLocationCodeOnBeforeUpdate(var RequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CurrentFieldNo Integer
IsHandled Boolean

OnLookupSupplyFromOnCaseReplenishmentSystemElse

[IntegrationEvent(False,False)]
local procedure OnLookupSupplyFromOnCaseReplenishmentSystemElse(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnValidateSupplyFromOnCaseReplenishmentSystemElse

[IntegrationEvent(False,False)]
local procedure OnValidateSupplyFromOnCaseReplenishmentSystemElse(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnValidateNoOfAfterCalcShouldValidateUnitofMeasureCode

[IntegrationEvent(False,False)]
local procedure OnValidateNoOfAfterCalcShouldValidateUnitofMeasureCode(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; Item: Record Item; var ShouldVaidateUnitofMeasureCode: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
ShouldVaidateUnitofMeasureCode Boolean

OnUpdateDescriptionFromItem

[IntegrationEvent(False,False)]
local procedure OnUpdateDescriptionFromItem(var RequisitionLine: Record "Requisition Line"; Item: Record Item)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item

OnUpdateDescriptionFromItemVariant

[IntegrationEvent(False,False)]
local procedure OnUpdateDescriptionFromItemVariant(var RequisitionLine: Record "Requisition Line"; ItemVariant: Record "Item Variant")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ItemVariant Table Microsoft.Inventory.Item."Item Variant"

OnUpdateDescriptionFromItemTranslation

[IntegrationEvent(False,False)]
local procedure OnUpdateDescriptionFromItemTranslation(var RequisitionLine: Record "Requisition Line"; ItemTranslation: Record "Item Translation")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ItemTranslation Table Microsoft.Inventory.Item."Item Translation"

OnUpdateDescriptionFromSalesLine

[IntegrationEvent(False,False)]
local procedure OnUpdateDescriptionFromSalesLine(var RequisitionLine: Record "Requisition Line"; SalesLine: Record "Sales Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
SalesLine Table Microsoft.Sales.Document."Sales Line"

OnValidateEndingTimeOnBeforeSetDueDate

[IntegrationEvent(False,False)]
local procedure OnValidateEndingTimeOnBeforeSetDueDate(var RequisitionLine: Record "Requisition Line"; var ShouldSetDueDate: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ShouldSetDueDate Boolean

OnValidateStartingTimeOnBeforeSetDueDate

[IntegrationEvent(False,False)]
local procedure OnValidateStartingTimeOnBeforeSetDueDate(var RequisitionLine: Record "Requisition Line"; var ShouldSetDueDate: Boolean; xRequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer; CurrFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ShouldSetDueDate Boolean
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CurrentFieldNo Integer
CurrFieldNo Integer

OnValidateLocationCodeOnBeforeGetDefaultBin

[IntegrationEvent(False,False)]
local procedure OnValidateLocationCodeOnBeforeGetDefaultBin(var RequisitionLine: Record "Requisition Line"; var ShouldGetDefaultBin: Boolean; Location: Record Location; CurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ShouldGetDefaultBin Boolean
Location Table Microsoft.Inventory.Location.Location
CurrentFieldNo Integer

OnValidateQuantityOnBeforeUnitCost

[IntegrationEvent(False,False)]
local procedure OnValidateQuantityOnBeforeUnitCost(var RequisitionLine: Record "Requisition Line"; CallingFieldNo: Integer; GlobalCurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CallingFieldNo Integer
GlobalCurrentFieldNo Integer

OnValidateReplenishmentSystemCaseElse

[IntegrationEvent(False,False)]
local procedure OnValidateReplenishmentSystemCaseElse(var RequisitionLine: Record "Requisition Line"; var StockkeepingUnit: Record "Stockkeeping Unit")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"

OnValidateReplenishmentSystemOnAfterSetStockkeepingUnit

[IntegrationEvent(False,False)]
local procedure OnValidateReplenishmentSystemOnAfterSetStockkeepingUnit(var RequisitionLine: Record "Requisition Line"; var StockkeepingUnit: Record "Stockkeeping Unit"; Subcontracting: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"
Subcontracting Boolean

OnValidateVendorNoOnAfterGetLocationCode

[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnAfterGetLocationCode(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnBeforeCalcStartingDate

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcStartingDate(var RequisitionLine: Record "Requisition Line"; var LeadTime: Code[20])

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
LeadTime Code[20]

OnBeforeCalcEndingDate

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcEndingDate(var RequisitionLine: Record "Requisition Line"; var LeadTime: Code[20])

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
LeadTime Code[20]

OnBeforeCopyDescriptionFromGLAcc

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyDescriptionFromGLAcc(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnCopyFromGLAccOnBeforeTestFieldDirectPosting

[IntegrationEvent(False,False)]
local procedure OnCopyFromGLAccOnBeforeTestFieldDirectPosting(var RequisitionLine: Record "Requisition Line"; GLAccount: Record "G/L Account"; var ShouldTestFieldDirectPosting: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
GLAccount Table Microsoft.Finance.GeneralLedger.Account."G/L Account"
ShouldTestFieldDirectPosting Boolean

OnAfterLookupVendorNo

[IntegrationEvent(False,False)]
local procedure OnAfterLookupVendorNo(var RequisitionLine: Record "Requisition Line"; var Vend: Record Vendor)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Vend Table Microsoft.Purchases.Vendor.Vendor

OnBeforeShowReservation

[IntegrationEvent(False,False)]
local procedure OnBeforeShowReservation(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeValidateStartingTime

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateStartingTime(var RequisitionLine: Record "Requisition Line"; var ShouldSetDueDate: Boolean; var IsHandled: Boolean; CallingFieldNo: Integer; CurrentFieldNo: Integer; xRequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ShouldSetDueDate Boolean
IsHandled Boolean
CallingFieldNo Integer
CurrentFieldNo Integer
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnBeforeValidateLocationChange

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateLocationChange(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeValidateEndingTime

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateEndingTime(var RequisitionLine: Record "Requisition Line"; var ShouldSetDueDate: Boolean; var IsHandled: Boolean; CallingFieldNo: Integer; CurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ShouldSetDueDate Boolean
IsHandled Boolean
CallingFieldNo Integer
CurrentFieldNo Integer

OnBeforeGetLocation

[IntegrationEvent(False,False)]
local procedure OnBeforeGetLocation(var RequisitionLine: Record "Requisition Line"; var Location: Record Location; LocationCode: Code[10]; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Location Table Microsoft.Inventory.Location.Location
LocationCode Code[10]
IsHandled Boolean

OnTransferFromUnplannedDemandOnBeforeSetType

[IntegrationEvent(False,False)]
local procedure OnTransferFromUnplannedDemandOnBeforeSetType(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnAfterSetUpNewLine

[IntegrationEvent(False,False)]
local procedure OnAfterSetUpNewLine(var RequisitionLine: Record "Requisition Line"; LastReqLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
LastReqLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnAfterUpdateDim

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDim(var RequisitionLine: Record "Requisition Line"; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

OnTransferFromUnplannedDemandOnBeforeSetStatus

[IntegrationEvent(False,False)]
local procedure OnTransferFromUnplannedDemandOnBeforeSetStatus(var RequisitionLine: Record "Requisition Line"; var UnplannedDemand: Record "Unplanned Demand")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
UnplannedDemand Table Microsoft.Inventory.Planning."Unplanned Demand"

OnDeleteRelationsOnBeforePlanningComponentDelete

[IntegrationEvent(False,False)]
local procedure OnDeleteRelationsOnBeforePlanningComponentDelete(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnAfterSetSupplyDates

[IntegrationEvent(False,False)]
local procedure OnAfterSetSupplyDates(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnBeforeValidateActionMessage

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateActionMessage(var RequisitionLine: Record "Requisition Line"; var xRequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnValidateUnitofMeasureCodeOnBeforeGetDirectCost

[IntegrationEvent(False,False)]
local procedure OnValidateUnitofMeasureCodeOnBeforeGetDirectCost(var RequisitionLine: Record "Requisition Line"; var Item: Record Item)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item

OnBeforeUpdateUnitOfMeasureCodeFromItemBaseUnitOfMeasure

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitOfMeasureCodeFromItemBaseUnitOfMeasure(var RequisitionLine: Record "Requisition Line"; var Item: Record Item; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnBeforeUpdateUnitOfMeasureCodeFromItemPurchUnitOfMeasure

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitOfMeasureCodeFromItemPurchUnitOfMeasure(var RequisitionLine: Record "Requisition Line"; var Item: Record Item; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnLookupFromLocationOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnLookupFromLocationOnAfterSetFilters(RequisitionLine: Record "Requisition Line"; var Location: Record Location)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Location Table Microsoft.Inventory.Location.Location

OnAfterCalcEndingDate

[IntegrationEvent(False,False)]
local procedure OnAfterCalcEndingDate(var Rec: Record "Requisition Line"; LeadTime: Code[20])

Parameters

Name Type Description
Rec Table Microsoft.Inventory.Requisition."Requisition Line"
LeadTime Code[20]

OnGetDirectCostOnBeforePriceCalculation

[IntegrationEvent(False,False)]
local procedure OnGetDirectCostOnBeforePriceCalculation(var Rec: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
Rec Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnCalcStartingDateOnBeforeValidateOrderDate

[IntegrationEvent(False,False)]
local procedure OnCalcStartingDateOnBeforeValidateOrderDate(var Rec: Record "Requisition Line"; var LeadTime: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
Rec Table Microsoft.Inventory.Requisition."Requisition Line"
LeadTime Code[20]
IsHandled Boolean

OnBeforeSetReplenishmentSystemFromTransfer

[IntegrationEvent(False,False)]
local procedure OnBeforeSetReplenishmentSystemFromTransfer(var RequisitionLine: Record "Requisition Line"; Item: Record Item; StockkeepingUnit: Record "Stockkeeping Unit"; CurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
StockkeepingUnit Table Microsoft.Inventory.Location."Stockkeeping Unit"
CurrentFieldNo Integer

OnBeforeCalcTransferShipmentDate

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcTransferShipmentDate(var Rec: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
Rec Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnDeleteMultiLevelOnAfterSetFilterReqLine2

[IntegrationEvent(False,False)]
local procedure OnDeleteMultiLevelOnAfterSetFilterReqLine2(ReqLine: Record "Requisition Line"; var ReqLine2: Record "Requisition Line")

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
ReqLine2 Table Microsoft.Inventory.Requisition."Requisition Line"

OnLookupRefOrderNoOnBeforeOpenPage

[IntegrationEvent(False,False)]
local procedure OnLookupRefOrderNoOnBeforeOpenPage(var ReqLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnGetDimFromRefOrderLineOnBeforeSetDimSetIDTypeTransfer

[IntegrationEvent(False,False)]
local procedure OnGetDimFromRefOrderLineOnBeforeSetDimSetIDTypeTransfer(ReqLine: Record "Requisition Line"; var DimSetIDArr: array[10] of Integer; i: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
DimSetIDArr array[10] of Integer
i Integer
IsHandled Boolean

OnValidateCurrencyCodeOnBeforeUpdateCurrencyFactor

[IntegrationEvent(False,False)]
local procedure OnValidateCurrencyCodeOnBeforeUpdateCurrencyFactor(var ReqLine: Record "Requisition Line"; var CurrExchRate: Record "Currency Exchange Rate")

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
CurrExchRate Table Microsoft.Finance.Currency."Currency Exchange Rate"

OnBeforeOnValidateShipToCode

[IntegrationEvent(False,False)]
local procedure OnBeforeOnValidateShipToCode(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnBeforeAssignItemUnitCostAndQuantitiesForUOM

[IntegrationEvent(False,False)]
local procedure OnBeforeAssignItemUnitCostAndQuantitiesForUOM(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; Item: Record Item; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnValidateQuantityOnBeforeGetDirectCost

[IntegrationEvent(False,False)]
local procedure OnValidateQuantityOnBeforeGetDirectCost(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CurrentFieldNo Integer

OnValidateDueDateOnAfterCalcShouldExitDueDate

[IntegrationEvent(False,False)]
local procedure OnValidateDueDateOnAfterCalcShouldExitDueDate(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer; var ShouldExitDueDate: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CurrentFieldNo Integer
ShouldExitDueDate Boolean

OnValidateVendorNoOnBeforeSetVendorItemNoFromItemVend

[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeSetVendorItemNoFromItemVend(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnValidateVendorNoOnBeforeGetDirectCost

[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeGetDirectCost(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CurrentFieldNo Integer

OnBeforeSetPurchaserCode

[IntegrationEvent(False,False)]
local procedure OnBeforeSetPurchaserCode(var RequisitionLine: Record "Requisition Line"; PurchaserCodeToCheck: Code[20]; var PurchaserCodeToAssign: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
PurchaserCodeToCheck Code[20]
PurchaserCodeToAssign Code[20]
IsHandled Boolean

OnValidateCurrencyFactorOnBeforeUpdateDirectUnitCost

[IntegrationEvent(False,False)]
local procedure OnValidateCurrencyFactorOnBeforeUpdateDirectUnitCost(var RequisitionLine: Record "Requisition Line"; var CurrencyExchangeRate: Record "Currency Exchange Rate")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CurrencyExchangeRate Table Microsoft.Finance.Currency."Currency Exchange Rate"

OnValidateNoOnAfterAssignFieldsForNo

[IntegrationEvent(False,False)]
local procedure OnValidateNoOnAfterAssignFieldsForNo(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnSetDemandTypeFromUnplannedDemand

[IntegrationEvent(False,False)]
local procedure OnSetDemandTypeFromUnplannedDemand(var RequisitionLine: Record "Requisition Line"; UnplannedDemand: Record "Unplanned Demand")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
UnplannedDemand Table Microsoft.Inventory.Planning."Unplanned Demand"

OnReserveBindingOrder

[IntegrationEvent(False,False)]
local procedure OnReserveBindingOrder(var RequisitionLine: Record "Requisition Line"; TrackingSpecification: Record "Tracking Specification"; SourceDescription: Text[100]; ExpectedDate: Date; ReservQty: Decimal; ReservQtyBase: Decimal; UpdateReserve: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
TrackingSpecification Table Microsoft.Inventory.Tracking."Tracking Specification"
SourceDescription Text[100]
ExpectedDate Date
ReservQty Decimal
ReservQtyBase Decimal
UpdateReserve Boolean

OnAfterShowDimensions

[IntegrationEvent(False,False)]
local procedure OnAfterShowDimensions(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnIsProdOrder

[IntegrationEvent(False,False)]
local procedure OnIsProdOrder(var RequisitionLine: Record "Requisition Line"; var Result: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Result Boolean

OnIsProductionBOM

[IntegrationEvent(False,False)]
local procedure OnIsProductionBOM(var RequisitionLine: Record "Requisition Line"; var Result: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Result Boolean

OnIsProdDemand

[IntegrationEvent(False,False)]
local procedure OnIsProdDemand(var RequisitionLine: Record "Requisition Line"; var Result: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Result Boolean

OnCleanProdOrderNo

[IntegrationEvent(False,False)]
local procedure OnCleanProdOrderNo(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnCleanProdBOMNo

[IntegrationEvent(False,False)]
local procedure OnCleanProdBOMNo(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnTestProdOrderNo

[IntegrationEvent(False,False)]
local procedure OnTestProdOrderNo(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnGetDimFromRefOrderLineElseCase

[IntegrationEvent(False,False)]
local procedure OnGetDimFromRefOrderLineElseCase(var RequisitionLine: Record "Requisition Line"; var DimSetIDArr: array[10] of Integer; i: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
DimSetIDArr array[10] of Integer
i Integer

OnLookupRefOrderNoElseCase

[IntegrationEvent(False,False)]
local procedure OnLookupRefOrderNoElseCase(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnClearPlanningWorksheetOnBeforeRequisitionLineDelete

[IntegrationEvent(False,False)]
local procedure OnClearPlanningWorksheetOnBeforeRequisitionLineDelete(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnRoutingLineExists

[IntegrationEvent(False,False)]
local procedure OnRoutingLineExists(var RequisitionLine: Record "Requisition Line"; var RoutingExists: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
RoutingExists Boolean

OnValidateStartingDate

[IntegrationEvent(False,False)]
local procedure OnValidateStartingDate(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnValidateEndingDate

[IntegrationEvent(False,False)]
local procedure OnValidateEndingDate(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnValidateStartingTimeOnBeforeUpdateDateTime

[IntegrationEvent(False,False)]
local procedure OnValidateStartingTimeOnBeforeUpdateDateTime(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnValidateEndingTimeOnBeforeUpdateDateTime

[IntegrationEvent(False,False)]
local procedure OnValidateEndingTimeOnBeforeUpdateDateTime(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnSetFromBinCodeOnSetBinCode

[IntegrationEvent(False,False)]
local procedure OnSetFromBinCodeOnSetBinCode(var RequisitionLine: Record "Requisition Line"; Location: Record Location)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Location Table Microsoft.Inventory.Location.Location

OnAfterShouldCheckNewActionMessage

[IntegrationEvent(False,False)]
local procedure OnAfterShouldCheckNewActionMessage(var RequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer; var ShouldCheck: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
CurrentFieldNo Integer
ShouldCheck Boolean

OnUpdateWorkCenterDescription

[IntegrationEvent(False,False)]
local procedure OnUpdateWorkCenterDescription(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnAfterShouldUpdateEndingDateForSourceType

[IntegrationEvent(False,False)]
local procedure OnAfterShouldUpdateEndingDateForSourceType(SourceType: Integer; var ShouldUpdate: Boolean)

Parameters

Name Type Description
SourceType Integer
ShouldUpdate Boolean

OnSetSupplyDatesOnAfterValidateEndingDate

[IntegrationEvent(False,False)]
local procedure OnSetSupplyDatesOnAfterValidateEndingDate(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnValidateVendorNoOnBeforeLookupVendor

[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeLookupVendor(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnValidateVendorNoOnAfterCheckVendor

[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnAfterCheckVendor(var RequisitionLine: Record "Requisition Line"; Vend: Record Vendor; CurrentFieldNo: Integer)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Vend Table Microsoft.Purchases.Vendor.Vendor
CurrentFieldNo Integer

OnValidateVendorNoOnAfterSetSupplyFrom

[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnAfterSetSupplyFrom(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnResetReqLineFields

[IntegrationEvent(False,False)]
local procedure OnResetReqLineFields(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnSetOperationNoFilterToBlank

[IntegrationEvent(False,False)]
local procedure OnSetOperationNoFilterToBlank(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnBeforeCreateDim

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateDim(var RequisitionLine: Record "Requisition Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeUpdateItemReferenceDescription

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateItemReferenceDescription(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnCheckRequisitionWkshLinePostRestrictions

[IntegrationEvent(True,False)]
local procedure OnCheckRequisitionWkshLinePostRestrictions()

OnValidateNoOnBeforeDeleteRelations

[IntegrationEvent(False,False)]
local procedure OnValidateNoOnBeforeDeleteRelations(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
xRequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnValidateVendorNoOnBeforeValidateCurrencyCode

[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeValidateCurrencyCode(var RequisitionLine: Record "Requisition Line"; Vendor: Record Vendor; var IsHandled: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Vendor Table Microsoft.Purchases.Vendor.Vendor
IsHandled Boolean

OnValidateVendorNoOnAfterGetDefaultBinCode

[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnAfterGetDefaultBinCode(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnValidateVendorNoOnBeforeUpdateVendorItemInfo

[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeUpdateVendorItemInfo(var RequisitionLine: Record "Requisition Line"; var UpdateVendorItemInfo: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
UpdateVendorItemInfo Boolean

See also