Table "Requisition Line"
ID 246
Namespace: Microsoft.Inventory.Requisition
Properties
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
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
Returns
LookupFromLocation
procedure LookupFromLocation(var Location2: Record Location): Boolean
Parameters
Returns
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
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
GetPurchOrderLine
Prepares and transfers relevant field values from provided purchase line to the current requisition line.
procedure GetPurchOrderLine(PurchOrderLine: Record "Purchase Line")
Parameters
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
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
SetReservationFilters
Sets filters from the current requisition line to specified reservation entry record.
procedure SetReservationFilters(var ReservEntry: Record "Reservation Entry")
Parameters
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
TransferFromPurchaseLine
procedure TransferFromPurchaseLine(var PurchLine: Record "Purchase Line")
Parameters
TransferFromTransLine
procedure TransferFromTransLine(var TransLine: Record "Transfer Line")
Parameters
GetDimFromRefOrderLine
procedure GetDimFromRefOrderLine(AddToExisting: Boolean)
Parameters
| Name |
Type |
Description |
|
AddToExisting
|
Boolean |
|
TransferFromActionMessage
procedure TransferFromActionMessage(var ActionMessageEntry: Record "Action Message Entry")
Parameters
TransferToTrackingEntry
procedure TransferToTrackingEntry(var TrkgReservEntry: Record "Reservation Entry"; PointerOnly: Boolean)
Parameters
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
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
TransferFromUnplannedDemand
Populates corresponding values of the current requisition line in reference to the provided unplanned demand.
procedure TransferFromUnplannedDemand(var UnplannedDemand: Record "Unplanned Demand")
Parameters
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
Returns
GetResiliencyErrors
Gets all resiliency errors from the planning error log.
procedure GetResiliencyErrors(var PlanningErrorLog: Record "Planning Error Log"): Boolean
Parameters
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
FilterLinesWithItemToPlan
Filters corresponding fields of the current record based on provided item record.
procedure FilterLinesWithItemToPlan(var Item2: Record Item)
Parameters
FindLinesWithItemToPlan
Gets filtered requisition line based on values from provided item record.
procedure FindLinesWithItemToPlan(var Item2: Record Item): Boolean
Parameters
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
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
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
CleanProdOrderNo
procedure CleanProdOrderNo()
CleanProdBOMNo
procedure CleanProdBOMNo()
SetOperationNoFilterToBlank
procedure SetOperationNoFilterToBlank()
IsProdOrder
procedure IsProdOrder(): Boolean
Returns
IsProductionBOM
procedure IsProductionBOM(): Boolean
Returns
IsProdDemand
procedure IsProdDemand(): Boolean
Returns
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
OnAfterUpdateDescription
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDescription(var RequisitionLine: Record "Requisition Line"; Item: Record Item; ItemVariant: Record "Item Variant"; FieldNo: Integer)
Parameters
OnAfterCopyFromItem
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromItem(var RequisitionLine: Record "Requisition Line"; Item: Record Item; CurrentFieldNo: Integer)
Parameters
OnAfterClearPlanningWorksheet
[IntegrationEvent(False,False)]
local procedure OnAfterClearPlanningWorksheet(var RequisitionLine: Record "Requisition Line")
Parameters
OnAfterCreateDim
[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var ReqLine: Record "Requisition Line"; xReqLine: Record "Requisition Line")
Parameters
OnAfterDeleteMultiLevel
[IntegrationEvent(False,False)]
local procedure OnAfterDeleteMultiLevel(var RequisitionLine: Record "Requisition Line")
Parameters
OnAfterDeleteRelations
[IntegrationEvent(False,False)]
local procedure OnAfterDeleteRelations(var RequisitionLine: Record "Requisition Line"; DeleteAllLines: Boolean)
Parameters
OnAfterFilterLinesWithItemToPlan
[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesWithItemToPlan(var RequisitionLine: Record "Requisition Line"; var Item: Record Item)
Parameters
OnAfterFilterLinesForReservation
[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesForReservation(var RequisitionLine: Record "Requisition Line"; var ReservationEntry: Record "Reservation Entry")
Parameters
OnAfterGetDirectCost
[IntegrationEvent(False,False)]
local procedure OnAfterGetDirectCost(var RequisitionLine: Record "Requisition Line"; CalledByFieldNo: Integer)
Parameters
OnAfterGetLineWithPrice
[IntegrationEvent(True,False)]
local procedure OnAfterGetLineWithPrice(var LineWithPrice: Interface "Line With Price")
Parameters
OnAfterOnInsert
[IntegrationEvent(False,False)]
local procedure OnAfterOnInsert(var RequisitionLine: Record "Requisition Line"; ReqWkshTemplate: Record "Req. Wksh. Template"; RequisitionWkshName: Record "Requisition Wksh. Name")
Parameters
OnAfterSetDueDate
[IntegrationEvent(False,False)]
local procedure OnAfterSetDueDate(var RequisitionLine: Record "Requisition Line")
Parameters
OnAfterSetRemaningQuantity
[IntegrationEvent(False,False)]
local procedure OnAfterSetRemaningQuantity(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; CallingFieldNo: Integer; GlobalCurrentFieldNo: Integer)
Parameters
OnAfterSetReplenishmentSystemFromPurchase
[IntegrationEvent(False,False)]
local procedure OnAfterSetReplenishmentSystemFromPurchase(var RequisitionLine: Record "Requisition Line"; Item: Record Item; StockkeepingUnit: Record "Stockkeeping Unit")
Parameters
OnAfterTransferFromActionMessage
[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromActionMessage(var RequisitionLine: Record "Requisition Line"; var ActionMessageEntry: Record "Action Message Entry"; var ReservEntry: Record "Reservation Entry")
Parameters
OnAfterSetReplenishmentSystemFromTransfer
[IntegrationEvent(False,False)]
local procedure OnAfterSetReplenishmentSystemFromTransfer(var RequisitionLine: Record "Requisition Line"; Item: Record Item; StockkeepingUnit: Record "Stockkeeping Unit"; CurrentFieldNo: Integer)
Parameters
OnAfterSetReservationEntry
[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationEntry(var ReservEntry: Record "Reservation Entry"; RequisitionLine: Record "Requisition Line")
Parameters
OnAfterSetReservationFilters
[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationFilters(var ReservEntry: Record "Reservation Entry"; RequisitionLine: Record "Requisition Line")
Parameters
OnAfterTransferFromPurchaseLine
[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromPurchaseLine(var ReqLine: Record "Requisition Line"; PurchLine: Record "Purchase Line")
Parameters
OnAfterTransferFromTransLine
[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromTransLine(var ReqLine: Record "Requisition Line"; TransLine: Record "Transfer Line")
Parameters
OnAfterTransferFromUnplannedDemand
[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromUnplannedDemand(var RequisitionLine: Record "Requisition Line"; UnplannedDemand: Record "Unplanned Demand")
Parameters
OnAfterTransferToTrackingEntry
[IntegrationEvent(False,False)]
local procedure OnAfterTransferToTrackingEntry(var ReservationEntry: Record "Reservation Entry"; RequisitionLine: Record "Requisition Line")
Parameters
OnAfterUpdateOrderReceiptDate
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateOrderReceiptDate(var RequisitionLine: Record "Requisition Line"; LeadTimeCalc: DateFormula)
Parameters
OnAfterValidateFields
[IntegrationEvent(False,False)]
local procedure OnAfterValidateFields(RequisitionLine: Record "Requisition Line"; CurrFieldNo: Integer; CurrentFieldNo: Integer; var Result: Boolean)
Parameters
OnAfterValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
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
OnBeforeCheckBlockedItem
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBlockedItem(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnBeforeCheckEndingDate
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckEndingDate(var RequisitionLine: Record "Requisition Line"; var ShowWarning: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCheckVendorBlocked
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVendorBlocked(var RequisitionLine: Record "Requisition Line"; var Vendor: Record Vendor; var IsHandled: Boolean; GlobalCurrentFieldNo: Integer)
Parameters
OnBeforeDeleteMultiLevel
[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteMultiLevel(var RequisitionLine: Record "Requisition Line")
Parameters
OnBeforeGetDefaultBin
[IntegrationEvent(False,False)]
local procedure OnBeforeGetDefaultBin(var RequisitionLine: Record "Requisition Line"; var ShouldGetDefaultBin: Boolean)
Parameters
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
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
OnBeforeInitRecordForOrderPlanning
[IntegrationEvent(False,False)]
local procedure OnBeforeInitRecordForOrderPlanning(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
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
OnBeforeLookupVendorNo
[IntegrationEvent(False,False)]
local procedure OnBeforeLookupVendorNo(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnBeforeOnDelete
[IntegrationEvent(False,False)]
local procedure OnBeforeOnDelete(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnBeforeSetFromBinCode
[IntegrationEvent(False,False)]
local procedure OnBeforeSetFromBinCode(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnBeforeValidateVendorNoWithStockkeepingUnit
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateVendorNoWithStockkeepingUnit(var RequisitionLine: Record "Requisition Line"; StockkeepingUnit: Record "Stockkeeping Unit"; var IsHandled: Boolean)
Parameters
OnBeforeValidateItemDescriptionAndQuantity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateItemDescriptionAndQuantity(var RequisitionLine: Record "Requisition Line"; Vendor: Record Vendor; var IsHandled: Boolean)
Parameters
OnBeforeValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
OnBeforeUpdateDescription
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateDescription(var RequisitionLine: Record "Requisition Line"; CalledByFieldNo: Integer; var IsHandled: Boolean; xRequisitionLine: Record "Requisition Line")
Parameters
OnBeforeUpdateOrderReceiptDate
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateOrderReceiptDate(var RequisitionLine: Record "Requisition Line"; LeadTimeCalc: DateFormula; var IsHandled: Boolean)
Parameters
OnBeforeValidateQuantityBase
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityBase(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean; xRequisitionLine: Record "Requisition Line"; FieldNo: Integer; FieldNo2: Integer)
Parameters
OnBeforeValidateUnitCost
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateUnitCost(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnBeforeUpdateReplenishmentSystem
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateReplenishmentSystem(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnBeforeValidateReplenishmentSystem
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateReplenishmentSystem(var RequisitionLine: Record "Requisition Line"; StockkeepingUnit: Record "Stockkeeping Unit"; var IsHandled: Boolean)
Parameters
OnGetLocationCodeOnBeforeUpdate
[IntegrationEvent(False,False)]
local procedure OnGetLocationCodeOnBeforeUpdate(var RequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnLookupSupplyFromOnCaseReplenishmentSystemElse
[IntegrationEvent(False,False)]
local procedure OnLookupSupplyFromOnCaseReplenishmentSystemElse(var RequisitionLine: Record "Requisition Line")
Parameters
OnValidateSupplyFromOnCaseReplenishmentSystemElse
[IntegrationEvent(False,False)]
local procedure OnValidateSupplyFromOnCaseReplenishmentSystemElse(var RequisitionLine: Record "Requisition Line")
Parameters
OnValidateNoOfAfterCalcShouldValidateUnitofMeasureCode
[IntegrationEvent(False,False)]
local procedure OnValidateNoOfAfterCalcShouldValidateUnitofMeasureCode(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; Item: Record Item; var ShouldVaidateUnitofMeasureCode: Boolean)
Parameters
OnUpdateDescriptionFromItem
[IntegrationEvent(False,False)]
local procedure OnUpdateDescriptionFromItem(var RequisitionLine: Record "Requisition Line"; Item: Record Item)
Parameters
OnUpdateDescriptionFromItemVariant
[IntegrationEvent(False,False)]
local procedure OnUpdateDescriptionFromItemVariant(var RequisitionLine: Record "Requisition Line"; ItemVariant: Record "Item Variant")
Parameters
OnUpdateDescriptionFromItemTranslation
[IntegrationEvent(False,False)]
local procedure OnUpdateDescriptionFromItemTranslation(var RequisitionLine: Record "Requisition Line"; ItemTranslation: Record "Item Translation")
Parameters
OnUpdateDescriptionFromSalesLine
[IntegrationEvent(False,False)]
local procedure OnUpdateDescriptionFromSalesLine(var RequisitionLine: Record "Requisition Line"; SalesLine: Record "Sales Line")
Parameters
OnValidateEndingTimeOnBeforeSetDueDate
[IntegrationEvent(False,False)]
local procedure OnValidateEndingTimeOnBeforeSetDueDate(var RequisitionLine: Record "Requisition Line"; var ShouldSetDueDate: Boolean)
Parameters
OnValidateStartingTimeOnBeforeSetDueDate
[IntegrationEvent(False,False)]
local procedure OnValidateStartingTimeOnBeforeSetDueDate(var RequisitionLine: Record "Requisition Line"; var ShouldSetDueDate: Boolean; xRequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer; CurrFieldNo: Integer)
Parameters
OnValidateLocationCodeOnBeforeGetDefaultBin
[IntegrationEvent(False,False)]
local procedure OnValidateLocationCodeOnBeforeGetDefaultBin(var RequisitionLine: Record "Requisition Line"; var ShouldGetDefaultBin: Boolean; Location: Record Location; CurrentFieldNo: Integer)
Parameters
OnValidateQuantityOnBeforeUnitCost
[IntegrationEvent(False,False)]
local procedure OnValidateQuantityOnBeforeUnitCost(var RequisitionLine: Record "Requisition Line"; CallingFieldNo: Integer; GlobalCurrentFieldNo: Integer)
Parameters
OnValidateReplenishmentSystemCaseElse
[IntegrationEvent(False,False)]
local procedure OnValidateReplenishmentSystemCaseElse(var RequisitionLine: Record "Requisition Line"; var StockkeepingUnit: Record "Stockkeeping Unit")
Parameters
OnValidateReplenishmentSystemOnAfterSetStockkeepingUnit
[IntegrationEvent(False,False)]
local procedure OnValidateReplenishmentSystemOnAfterSetStockkeepingUnit(var RequisitionLine: Record "Requisition Line"; var StockkeepingUnit: Record "Stockkeeping Unit"; Subcontracting: Boolean)
Parameters
OnValidateVendorNoOnAfterGetLocationCode
[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnAfterGetLocationCode(var RequisitionLine: Record "Requisition Line")
Parameters
OnBeforeCalcStartingDate
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcStartingDate(var RequisitionLine: Record "Requisition Line"; var LeadTime: Code[20])
Parameters
OnBeforeCalcEndingDate
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcEndingDate(var RequisitionLine: Record "Requisition Line"; var LeadTime: Code[20])
Parameters
OnBeforeCopyDescriptionFromGLAcc
[IntegrationEvent(False,False)]
local procedure OnBeforeCopyDescriptionFromGLAcc(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnCopyFromGLAccOnBeforeTestFieldDirectPosting
[IntegrationEvent(False,False)]
local procedure OnCopyFromGLAccOnBeforeTestFieldDirectPosting(var RequisitionLine: Record "Requisition Line"; GLAccount: Record "G/L Account"; var ShouldTestFieldDirectPosting: Boolean)
Parameters
OnAfterLookupVendorNo
[IntegrationEvent(False,False)]
local procedure OnAfterLookupVendorNo(var RequisitionLine: Record "Requisition Line"; var Vend: Record Vendor)
Parameters
OnBeforeShowReservation
[IntegrationEvent(False,False)]
local procedure OnBeforeShowReservation(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
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
OnBeforeValidateLocationChange
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateLocationChange(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnBeforeValidateEndingTime
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateEndingTime(var RequisitionLine: Record "Requisition Line"; var ShouldSetDueDate: Boolean; var IsHandled: Boolean; CallingFieldNo: Integer; CurrentFieldNo: Integer)
Parameters
OnBeforeGetLocation
[IntegrationEvent(False,False)]
local procedure OnBeforeGetLocation(var RequisitionLine: Record "Requisition Line"; var Location: Record Location; LocationCode: Code[10]; var IsHandled: Boolean)
Parameters
OnTransferFromUnplannedDemandOnBeforeSetType
[IntegrationEvent(False,False)]
local procedure OnTransferFromUnplannedDemandOnBeforeSetType(var RequisitionLine: Record "Requisition Line")
Parameters
OnAfterSetUpNewLine
[IntegrationEvent(False,False)]
local procedure OnAfterSetUpNewLine(var RequisitionLine: Record "Requisition Line"; LastReqLine: Record "Requisition Line")
Parameters
OnAfterUpdateDim
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDim(var RequisitionLine: Record "Requisition Line"; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
OnTransferFromUnplannedDemandOnBeforeSetStatus
[IntegrationEvent(False,False)]
local procedure OnTransferFromUnplannedDemandOnBeforeSetStatus(var RequisitionLine: Record "Requisition Line"; var UnplannedDemand: Record "Unplanned Demand")
Parameters
OnDeleteRelationsOnBeforePlanningComponentDelete
[IntegrationEvent(False,False)]
local procedure OnDeleteRelationsOnBeforePlanningComponentDelete(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnAfterSetSupplyDates
[IntegrationEvent(False,False)]
local procedure OnAfterSetSupplyDates(var RequisitionLine: Record "Requisition Line")
Parameters
OnBeforeValidateActionMessage
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateActionMessage(var RequisitionLine: Record "Requisition Line"; var xRequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnValidateUnitofMeasureCodeOnBeforeGetDirectCost
[IntegrationEvent(False,False)]
local procedure OnValidateUnitofMeasureCodeOnBeforeGetDirectCost(var RequisitionLine: Record "Requisition Line"; var Item: Record Item)
Parameters
OnBeforeUpdateUnitOfMeasureCodeFromItemBaseUnitOfMeasure
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitOfMeasureCodeFromItemBaseUnitOfMeasure(var RequisitionLine: Record "Requisition Line"; var Item: Record Item; var IsHandled: Boolean)
Parameters
OnBeforeUpdateUnitOfMeasureCodeFromItemPurchUnitOfMeasure
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitOfMeasureCodeFromItemPurchUnitOfMeasure(var RequisitionLine: Record "Requisition Line"; var Item: Record Item; var IsHandled: Boolean)
Parameters
OnLookupFromLocationOnAfterSetFilters
[IntegrationEvent(False,False)]
local procedure OnLookupFromLocationOnAfterSetFilters(RequisitionLine: Record "Requisition Line"; var Location: Record Location)
Parameters
OnAfterCalcEndingDate
[IntegrationEvent(False,False)]
local procedure OnAfterCalcEndingDate(var Rec: Record "Requisition Line"; LeadTime: Code[20])
Parameters
OnGetDirectCostOnBeforePriceCalculation
[IntegrationEvent(False,False)]
local procedure OnGetDirectCostOnBeforePriceCalculation(var Rec: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnCalcStartingDateOnBeforeValidateOrderDate
[IntegrationEvent(False,False)]
local procedure OnCalcStartingDateOnBeforeValidateOrderDate(var Rec: Record "Requisition Line"; var LeadTime: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeSetReplenishmentSystemFromTransfer
[IntegrationEvent(False,False)]
local procedure OnBeforeSetReplenishmentSystemFromTransfer(var RequisitionLine: Record "Requisition Line"; Item: Record Item; StockkeepingUnit: Record "Stockkeeping Unit"; CurrentFieldNo: Integer)
Parameters
OnBeforeCalcTransferShipmentDate
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcTransferShipmentDate(var Rec: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnDeleteMultiLevelOnAfterSetFilterReqLine2
[IntegrationEvent(False,False)]
local procedure OnDeleteMultiLevelOnAfterSetFilterReqLine2(ReqLine: Record "Requisition Line"; var ReqLine2: Record "Requisition Line")
Parameters
OnLookupRefOrderNoOnBeforeOpenPage
[IntegrationEvent(False,False)]
local procedure OnLookupRefOrderNoOnBeforeOpenPage(var ReqLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnGetDimFromRefOrderLineOnBeforeSetDimSetIDTypeTransfer
[IntegrationEvent(False,False)]
local procedure OnGetDimFromRefOrderLineOnBeforeSetDimSetIDTypeTransfer(ReqLine: Record "Requisition Line"; var DimSetIDArr: array[10] of Integer; i: Integer; var IsHandled: Boolean)
Parameters
OnValidateCurrencyCodeOnBeforeUpdateCurrencyFactor
[IntegrationEvent(False,False)]
local procedure OnValidateCurrencyCodeOnBeforeUpdateCurrencyFactor(var ReqLine: Record "Requisition Line"; var CurrExchRate: Record "Currency Exchange Rate")
Parameters
OnBeforeOnValidateShipToCode
[IntegrationEvent(False,False)]
local procedure OnBeforeOnValidateShipToCode(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnBeforeAssignItemUnitCostAndQuantitiesForUOM
[IntegrationEvent(False,False)]
local procedure OnBeforeAssignItemUnitCostAndQuantitiesForUOM(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; Item: Record Item; var IsHandled: Boolean)
Parameters
OnValidateQuantityOnBeforeGetDirectCost
[IntegrationEvent(False,False)]
local procedure OnValidateQuantityOnBeforeGetDirectCost(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer)
Parameters
OnValidateDueDateOnAfterCalcShouldExitDueDate
[IntegrationEvent(False,False)]
local procedure OnValidateDueDateOnAfterCalcShouldExitDueDate(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer; var ShouldExitDueDate: Boolean)
Parameters
OnValidateVendorNoOnBeforeSetVendorItemNoFromItemVend
[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeSetVendorItemNoFromItemVend(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnValidateVendorNoOnBeforeGetDirectCost
[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeGetDirectCost(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer)
Parameters
OnBeforeSetPurchaserCode
[IntegrationEvent(False,False)]
local procedure OnBeforeSetPurchaserCode(var RequisitionLine: Record "Requisition Line"; PurchaserCodeToCheck: Code[20]; var PurchaserCodeToAssign: Code[20]; var IsHandled: Boolean)
Parameters
OnValidateCurrencyFactorOnBeforeUpdateDirectUnitCost
[IntegrationEvent(False,False)]
local procedure OnValidateCurrencyFactorOnBeforeUpdateDirectUnitCost(var RequisitionLine: Record "Requisition Line"; var CurrencyExchangeRate: Record "Currency Exchange Rate")
Parameters
OnValidateNoOnAfterAssignFieldsForNo
[IntegrationEvent(False,False)]
local procedure OnValidateNoOnAfterAssignFieldsForNo(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line")
Parameters
OnSetDemandTypeFromUnplannedDemand
[IntegrationEvent(False,False)]
local procedure OnSetDemandTypeFromUnplannedDemand(var RequisitionLine: Record "Requisition Line"; UnplannedDemand: Record "Unplanned Demand")
Parameters
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
OnAfterShowDimensions
[IntegrationEvent(False,False)]
local procedure OnAfterShowDimensions(var RequisitionLine: Record "Requisition Line"; xRequisitionLine: Record "Requisition Line")
Parameters
OnIsProdOrder
[IntegrationEvent(False,False)]
local procedure OnIsProdOrder(var RequisitionLine: Record "Requisition Line"; var Result: Boolean)
Parameters
OnIsProductionBOM
[IntegrationEvent(False,False)]
local procedure OnIsProductionBOM(var RequisitionLine: Record "Requisition Line"; var Result: Boolean)
Parameters
OnIsProdDemand
[IntegrationEvent(False,False)]
local procedure OnIsProdDemand(var RequisitionLine: Record "Requisition Line"; var Result: Boolean)
Parameters
OnCleanProdOrderNo
[IntegrationEvent(False,False)]
local procedure OnCleanProdOrderNo(var RequisitionLine: Record "Requisition Line")
Parameters
OnCleanProdBOMNo
[IntegrationEvent(False,False)]
local procedure OnCleanProdBOMNo(var RequisitionLine: Record "Requisition Line")
Parameters
OnTestProdOrderNo
[IntegrationEvent(False,False)]
local procedure OnTestProdOrderNo(var RequisitionLine: Record "Requisition Line")
Parameters
OnGetDimFromRefOrderLineElseCase
[IntegrationEvent(False,False)]
local procedure OnGetDimFromRefOrderLineElseCase(var RequisitionLine: Record "Requisition Line"; var DimSetIDArr: array[10] of Integer; i: Integer)
Parameters
OnLookupRefOrderNoElseCase
[IntegrationEvent(False,False)]
local procedure OnLookupRefOrderNoElseCase(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnClearPlanningWorksheetOnBeforeRequisitionLineDelete
[IntegrationEvent(False,False)]
local procedure OnClearPlanningWorksheetOnBeforeRequisitionLineDelete(var RequisitionLine: Record "Requisition Line")
Parameters
OnRoutingLineExists
[IntegrationEvent(False,False)]
local procedure OnRoutingLineExists(var RequisitionLine: Record "Requisition Line"; var RoutingExists: Boolean)
Parameters
OnValidateStartingDate
[IntegrationEvent(False,False)]
local procedure OnValidateStartingDate(var RequisitionLine: Record "Requisition Line")
Parameters
OnValidateEndingDate
[IntegrationEvent(False,False)]
local procedure OnValidateEndingDate(var RequisitionLine: Record "Requisition Line")
Parameters
OnValidateStartingTimeOnBeforeUpdateDateTime
[IntegrationEvent(False,False)]
local procedure OnValidateStartingTimeOnBeforeUpdateDateTime(var RequisitionLine: Record "Requisition Line")
Parameters
OnValidateEndingTimeOnBeforeUpdateDateTime
[IntegrationEvent(False,False)]
local procedure OnValidateEndingTimeOnBeforeUpdateDateTime(var RequisitionLine: Record "Requisition Line")
Parameters
OnSetFromBinCodeOnSetBinCode
[IntegrationEvent(False,False)]
local procedure OnSetFromBinCodeOnSetBinCode(var RequisitionLine: Record "Requisition Line"; Location: Record Location)
Parameters
OnAfterShouldCheckNewActionMessage
[IntegrationEvent(False,False)]
local procedure OnAfterShouldCheckNewActionMessage(var RequisitionLine: Record "Requisition Line"; CurrentFieldNo: Integer; var ShouldCheck: Boolean)
Parameters
OnUpdateWorkCenterDescription
[IntegrationEvent(False,False)]
local procedure OnUpdateWorkCenterDescription(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
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
OnValidateVendorNoOnBeforeLookupVendor
[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeLookupVendor(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
OnValidateVendorNoOnAfterCheckVendor
[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnAfterCheckVendor(var RequisitionLine: Record "Requisition Line"; Vend: Record Vendor; CurrentFieldNo: Integer)
Parameters
OnValidateVendorNoOnAfterSetSupplyFrom
[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnAfterSetSupplyFrom(var RequisitionLine: Record "Requisition Line")
Parameters
OnResetReqLineFields
[IntegrationEvent(False,False)]
local procedure OnResetReqLineFields(var RequisitionLine: Record "Requisition Line")
Parameters
OnSetOperationNoFilterToBlank
[IntegrationEvent(False,False)]
local procedure OnSetOperationNoFilterToBlank(var RequisitionLine: Record "Requisition Line")
Parameters
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
OnBeforeUpdateItemReferenceDescription
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateItemReferenceDescription(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
Parameters
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
OnValidateVendorNoOnBeforeValidateCurrencyCode
[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeValidateCurrencyCode(var RequisitionLine: Record "Requisition Line"; Vendor: Record Vendor; var IsHandled: Boolean)
Parameters
OnValidateVendorNoOnAfterGetDefaultBinCode
[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnAfterGetDefaultBinCode(var RequisitionLine: Record "Requisition Line")
Parameters
OnValidateVendorNoOnBeforeUpdateVendorItemInfo
[IntegrationEvent(False,False)]
local procedure OnValidateVendorNoOnBeforeUpdateVendorItemInfo(var RequisitionLine: Record "Requisition Line"; var UpdateVendorItemInfo: Boolean)
Parameters
See also