KVSQME - Public Functions#
Procedures#
InspOrderMgmt_CreateInspOrderFromProdOrder(Record Production Order) :#
Summary: Calls CreateInspOrderFromProdOrder in Insp. Order Mgmt. to generate in-process inspections for a production order.
procedure InspOrderMgmt_CreateInspOrderFromProdOrder(ProductionOrder: Record "Production Order"):
Parameters:
ProductionOrder
: The production order record for which inspections are created.
InspOrderMgmt_CreateInspOrderFromProdOrderLine(Record Prod. Order Line, Record Production Order) :#
Summary: Calls CreateInspOrderFromProdOrderLine in Insp. Order Mgmt. to generate inspections for a specific production order line.
procedure InspOrderMgmt_CreateInspOrderFromProdOrderLine(ProdOrderLine: Record "Prod. Order Line"; ProductionOrder: Record "Production Order"):
Parameters:
ProdOrderLine
: The production order line to inspect.ProductionOrder
: The parent production order record.
SingleInstance_SetInspectionCreationSource(Enum KVSQMEInspectionCreationSource) :#
Summary: Sets the inspection creation source in the Single Instance codeunit.
procedure SingleInstance_SetInspectionCreationSource(InspectionCreationSource: Enum "KVSQMEInspectionCreationSource"):
Parameters:
InspectionCreationSource
: Specifies the source type for inspection creation.
InspOrderMgmt_OpenQSBinPosting() :#
Summary: Opens the QS Bin Posting dialog in Insp. Order Mgmt.
procedure InspOrderMgmt_OpenQSBinPosting():
InspOrderMgmt_CloseQSBinPosting() :#
Summary: Closes the QS Bin Posting dialog in Insp. Order Mgmt.
procedure InspOrderMgmt_CloseQSBinPosting():
General_CollectInspOrdersForAutoPrinting(Record KVSQME - Insp. Order Header) :#
Summary: Collects inspection orders for automatic printing using the General codeunit.
procedure General_CollectInspOrdersForAutoPrinting(InspOrderHeader: Record "KVSQME - Insp. Order Header"):
Parameters:
InspOrderHeader
: The inspection order header to process for auto-printing.
General_AutoPrintInspectionOrders(Enum KVSQMEInspectionCreationSource) :#
Summary: Automatically prints inspection orders based on the specified creation source.
procedure General_AutoPrintInspectionOrders(InspectionCreationSource: Enum "KVSQMEInspectionCreationSource"):
Parameters:
InspectionCreationSource
: The source type that triggered inspection order creation.
SingleInstance_ClearInspectionCreationSource(Enum KVSQMEInspectionCreationSource) :#
Summary: Clears the inspection creation source in the Single Instance codeunit.
procedure SingleInstance_ClearInspectionCreationSource(InspectionCreationSource: Enum "KVSQMEInspectionCreationSource"):
Parameters:
InspectionCreationSource
: The source type to clear for inspection creation.
InspOrderMgmt_GetManualInspectionPlanNo(Code[20], Date) : Code[20]#
Summary: Gets the manual inspection plan number for an item and validity date using Insp. Order Mgmt.
procedure InspOrderMgmt_GetManualInspectionPlanNo(ItemNo: Code[20]; ValidityDate: Date): Code[20]
Parameters:
ItemNo
: The item number to retrieve the inspection plan for.ValidityDate
: The date for which the inspection plan should be valid.
Returns: The inspection plan number for manual inspection.
InspOrderMgmt_GetWarrantyDateAndExpirationDateForReservationEntry(Record Reservation Entry, Date, Date) :#
Summary: Gets warranty and expiration dates for a reservation entry using Insp. Order Mgmt.
procedure InspOrderMgmt_GetWarrantyDateAndExpirationDateForReservationEntry(ReservationEntry: Record "Reservation Entry"; var ExpirationDate: Date; var WarrantryDate: Date):
Parameters:
ReservationEntry
: The reservation entry to evaluate.ExpirationDate
: (out) The calculated expiration date.WarrantryDate
: (out) The calculated warranty date.
InspOrderMgmt_GetInternalJournalBatchName() : Code[10]#
Summary: Gets the internal journal batch name for inspection orders using Insp. Order Mgmt.
procedure InspOrderMgmt_GetInternalJournalBatchName(): Code[10]
Returns: The internal journal batch name as a code.
TrackingMgt_WhseItemTracking2(Record Whse. Item Tracking Line, RecordRef, Code[50], Code[50], Code[50], Decimal) :#
Summary: WhseItemTracking2 Creates warehouse item tracking lines with package information using Tracking Mgt.
procedure TrackingMgt_WhseItemTracking2(var WhseItemTrackingLine: Record "Whse. Item Tracking Line"; RecRef: RecordRef; SerialNo: Code[50]; LotNo: Code[50]; PackageNo: Code[50]; QtyBase: Decimal):
Parameters:
WhseItemTrackingLine
: The warehouse item tracking line to update.RecRef
: A reference to the record being tracked.SerialNo
: The serial number of the item.LotNo
: The lot number of the item.PackageNo
: The package number for tracking.QtyBase
: The quantity in base units to track.
InspOrderMgmt_CreateInspectionOrder(Record KVSQME - Insp. Order Header, Record KVSQME - Insp. Order Header, Code[50], Decimal) :#
Summary: Creates a new inspection order based on a previous order, lot number, and quantity using Insp. Order Mgmt.
procedure InspOrderMgmt_CreateInspectionOrder(var InspectionOrderVar: Record "KVSQME - Insp. Order Header"; PrevInspectionOrder: Record "KVSQME - Insp. Order Header"; LotNo: Code[50]; DocumentQtyBase: Decimal):
Parameters:
InspectionOrderVar
: (out) The new inspection order header to initialize.PrevInspectionOrder
: The previous inspection order header to copy from.LotNo
: The lot number for the new inspection order.DocumentQtyBase
: The document quantity in base units for the new order.
InspOrderMgmt_InitInspectionOrder(Record KVSQME - Insp. Order Header, Enum KVSQMEInspectionOrderType, Date, Code[20], Code[20], Code[50], Code[20], Code[20], Code[20], Decimal, Integer, Option, Code[20], Integer, Code[20], Code[20], Code[20], Integer, Integer) : Boolean#
Summary: Initializes a new inspection order with detailed parameters using Insp. Order Mgmt.
procedure InspOrderMgmt_InitInspectionOrder(var InspectionOrder: Record "KVSQME - Insp. Order Header"; TypePar: Enum "KVSQMEInspectionOrderType"; PostingDate: Date; ItemNoPar: Code[20]; VariantCodePar: Code[20]; LotNo: Code[50]; InspectionPlanNoPar: Code[20]; LocationCodePar: Code[20]; BinCodePar: Code[20]; DocQuantityPar: Decimal; SourceTypePar: Integer; SourceSubtypePar: Option; SourceIDPar: Code[20]; SourceLineNoPar: Integer; RoutingNoPar: Code[20]; OperationNoPar: Code[20]; SourceDocumentNoPar: Code[20]; SourceDocumentLineNoPar: Integer; DimensionSetID: Integer): Boolean
Parameters:
InspectionOrder
: (out) The inspection order header to initialize.TypePar
: The type of inspection order.PostingDate
: The posting date for the inspection order.ItemNoPar
: The item number for the inspection order.VariantCodePar
: The variant code for the item.LotNo
: The lot number for the inspection order.InspectionPlanNoPar
: The inspection plan number to use.LocationCodePar
: The location code for the inspection order.BinCodePar
: The bin code for the inspection order.DocQuantityPar
: The document quantity for the inspection order.SourceTypePar
: The source type as an integer.SourceSubtypePar
: The source subtype as an option value.SourceIDPar
: The source document ID.SourceLineNoPar
: The source document line number.RoutingNoPar
: The routing number for the inspection order.OperationNoPar
: The operation number for the inspection order.SourceDocumentNoPar
: The source document number.SourceDocumentLineNoPar
: The source document line number.DimensionSetID
: The dimension set ID for the inspection order.
Returns: True if initialization was successful, otherwise false.
CarryOut(Record KVSQME - Insp. Order Header, Enum KVSQMECarryOutInspDecisionType, Boolean) :#
Summary: Carries out the inspection order with the specified decision and quantity handling using Carry Out Mgt.
procedure CarryOut(InspectionOrder: Record "KVSQME - Insp. Order Header"; Decision: Enum "KVSQMECarryOutInspDecisionType"; HandleTotalQty: Boolean):
Parameters:
InspectionOrder
: The inspection order header to process.Decision
: The decision type for carrying out the inspection.HandleTotalQty
: Specifies whether to handle the total quantity.
PostProcessWarehouseActivityLine(Record Warehouse Activity Line) :#
Summary: Posts processing for a warehouse activity line using Insp. Order Mgmt.
procedure PostProcessWarehouseActivityLine(WarehouseActivityLine: Record "Warehouse Activity Line"):
Parameters:
WarehouseActivityLine
: The warehouse activity line to process.