Skip to content

KVSQME - Public Functions#

Procedures#

InspOrderMgmt_CreateInspOrderFromProdOrder(Record Production Order) :#

Summary: This function calls the "CreateInspOrderFromProdOrder" function in Codeunit "KVSQME - Insp. Order Mgmt.". It's used to generate in-process inspections for a production order.

procedure InspOrderMgmt_CreateInspOrderFromProdOrder(ProductionOrder: Record "Production Order"): 

Parameters:

  • ProductionOrder: Record "Production Order"

InspOrderMgmt_CreateInspOrderFromProdOrderLine(Record Prod. Order Line, Record Production Order) :#

Summary: This function calls the "CreateInspOrderFromProdOrderLine" function in Codeunit "KVSQME - Insp. Order Mgmt.". It's used to generate in-process inspections for a single production order line.

procedure InspOrderMgmt_CreateInspOrderFromProdOrderLine(ProdOrderLine: Record "Prod. Order Line"; ProductionOrder: Record "Production Order"): 

Parameters:

  • ProdOrderLine: Record "Prod. Order Line"
  • ProductionOrder: Record "Production Order"

SingleInstance_SetInspectionCreationSource(Enum KVSQMEInspectionCreationSource) :#

Summary: This procedure executes the procedure "SetInspectionCreationSource" from the Codeunit "KVSQME - Single Instance"

procedure SingleInstance_SetInspectionCreationSource(InspectionCreationSource: Enum "KVSQMEInspectionCreationSource"): 

Parameters:

  • InspectionCreationSource: Enum "KVSQMEInspectionCreationSource"

InspOrderMgmt_OpenQSBinPosting() :#

Summary: This procedure executes the procedure "OpenQSBinPosting" from the Codeunit "KVSQME - Insp. Order Mgmt."

procedure InspOrderMgmt_OpenQSBinPosting(): 

InspOrderMgmt_CloseQSBinPosting() :#

Summary: This procedure executes the procedure "CloseQSBinPosting" from the Codeunit "KVSQME - Insp. Order Mgmt."

procedure InspOrderMgmt_CloseQSBinPosting(): 

General_CollectInspOrdersForAutoPrinting(Record KVSQME - Insp. Order Header) :#

Summary: This procedure executes the procedure "CollectInspOrdersForAutoPrinting" from the Codeunit "KVSQME - General"

procedure General_CollectInspOrdersForAutoPrinting(InspOrderHeader: Record "KVSQME - Insp. Order Header"): 

Parameters:

  • InspOrderHeader: Record "KVSQME - Insp. Order Header"

General_AutoPrintInspectionOrders(Enum KVSQMEInspectionCreationSource) :#

Summary: This procedure executes the procedure "AutoPrintInspectionOrders" from the Codeunit "KVSQME - General"

procedure General_AutoPrintInspectionOrders(InspectionCreationSource: Enum "KVSQMEInspectionCreationSource"): 

Parameters:

  • InspectionCreationSource: Enum KVSQMEInspectionCreationSource

SingleInstance_ClearInspectionCreationSource(Enum KVSQMEInspectionCreationSource) :#

Summary: This procedure executes the procedure "ClearInspectionCreationSource" from the Codeunit "KVSQME - Single Instance"

procedure SingleInstance_ClearInspectionCreationSource(InspectionCreationSource: Enum "KVSQMEInspectionCreationSource"): 

Parameters:

  • InspectionCreationSource: Enum KVSQMEInspectionCreationSource

InspOrderMgmt_GetManualInspectionPlanNo(Code[20], Date) : Code[20]#

Summary: This procedure executes the procedure "GetManualInspectionPlanNo" from the Codeunit "KVSQME - Insp. Order Mgmt."

procedure InspOrderMgmt_GetManualInspectionPlanNo(ItemNo: Code[20]; ValidityDate: Date): Code[20]

Parameters:

  • ItemNo: Code[20]
  • ValidityDate: Date

Returns:

InspOrderMgmt_GetWarrantyDateAndExpirationDateForReservationEntry(Record Reservation Entry, Date, Date) :#

Summary: This procedure executes the procedure "GetWarrantyDateAndExpirationDateForReservationEntry" from the Codeunit "KVSQME - Insp. Order Mgmt."

procedure InspOrderMgmt_GetWarrantyDateAndExpirationDateForReservationEntry(ReservationEntry: Record "Reservation Entry"; var ExpirationDate: Date; var WarrantryDate: Date): 

Parameters:

  • ReservationEntry: Record "Reservation Entry"
  • ExpirationDate: Date
  • WarrantryDate: Date

InspOrderMgmt_GetInternalJournalBatchName() : Code[10]#

Summary: This procedure executes the procedure "GetInternalJournalBatchName" from the Codeunit "KVSQME - Insp. Order Mgmt."

procedure InspOrderMgmt_GetInternalJournalBatchName(): Code[10]

Returns:

TrackingMgt_WhseItemTracking(Record Whse. Item Tracking Line, RecordRef, Code[50], Code[50], Decimal) :#

Obsolete

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

Summary: This procedure executes the procedure "WhseItemTracking" from the Codeunit "KVSQME - Tracking Mgt"

[Obsolete('Function will be removed. Use function "TrackingMgt_WhseItemTracking2" instead.', '23.2')]
procedure TrackingMgt_WhseItemTracking(var WhseItemTrackingLine: Record "Whse. Item Tracking Line"; RecRef: RecordRef; SerialNo: Code[50]; LotNo: Code[50]; QtyBase: Decimal): 

Parameters:

  • WhseItemTrackingLine: Record "Whse. Item Tracking Line"
  • RecRef: RecordRef
  • SerialNo: Code[50]
  • LotNo: Code[50]
  • QtyBase: Decimal

TrackingMgt_WhseItemTracking2(Record Whse. Item Tracking Line, RecordRef, Code[50], Code[50], Code[50], Decimal) :#

Summary: This procedure executes the procedure "WhseItemTracking" from the Codeunit "KVSQME - Tracking Mgt" considering the "Package No." information

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: Record "Whse. Item Tracking Line"
  • RecRef: RecordRef
  • SerialNo: Code[50]
  • LotNo: Code[50]
  • PackageNo: Code[50]
  • QtyBase: Decimal

InspOrderMgmt_CreateInspectionOrder(Record KVSQME - Insp. Order Header, Record KVSQME - Insp. Order Header, Code[50], Decimal) :#

Summary: This procedure executes the procedure "CreateInspectionOrder" from the Codeunit "KVSQME - 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: Record "KVSQME - Insp. Order Header"
  • PrevInspectionOrder: Record "KVSQME - Insp. Order Header"
  • LotNo: Code[50]
  • DocumentQtyBase: Decimal

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: This procedure executes the procedure "InitInspectionOrder" from the Codeunit "KVSQME - 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:

  • InspectionOrderVar: Record "KVSQME - Insp. Order Header"
  • TypePar: Option
  • 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

Returns:

CarryOut(Record KVSQME - Insp. Order Header, Enum KVSQMECarryOutInspDecisionType, Boolean) :#

Summary: This procedure executes the procedure "CarryOut" from the Codeunit "KVSQME - Carry Out Mgt"

procedure CarryOut(InspectionOrder: Record "KVSQME - Insp. Order Header"; Decision: Enum "KVSQMECarryOutInspDecisionType"; HandleTotalQty: Boolean): 

Parameters:

  • InspectionOrder: Record "KVSQME - Insp. Order Header"
  • Decision: Enum KVSQMEDecisionType;
  • HandleTotalQty: Boolean