I_InspectionLot

DDL: I_INSPECTIONLOT SQL: IINSPECTIONLOT Type: view BASIC

Inspection Lot

I_InspectionLot (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_InspectionLot is a Basic CDS View that provides data about "Inspection Lot" in SAP S/4HANA. It reads from 1 data source (qals) and exposes 237 fields with key field InspectionLot. It has 58 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-IM
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description<p>This CDS view provides access to the inspection lot header data.</p><p>The following graphic shows the structure of CDS views relevant for inspection lot data: </p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qals qals from

Associations (58)

CardinalityTargetAliasCondition
[1..1] I_InspectionLotType _InspectionLotType $projection.InspectionLotType = _InspectionLotType.InspectionLotType
[1..1] I_InspectionLotOrigin _InspectionLotOrigin $projection.InspectionLotOrigin = _InspectionLotOrigin.InspectionLotOrigin
[0..1] I_InspSubsetFieldCombination _InspSubsetFieldCombination $projection.InspSubsetFieldCombination = _InspSubsetFieldCombination.InspSubsetFieldCombination
[0..1] I_QltyMgmtPlantLvlConfign _QltyMgmtPlantLvlConfign $projection.Plant = _QltyMgmtPlantLvlConfign.Plant
[0..1] I_InspLotSummaryControl _InspLotSummaryControl $projection.InspLotSummaryControl = _InspLotSummaryControl.InspLotSummaryControl and $projection.InspectionLotOrigin = _InspLotSummaryControl.InspectionLotOrigin
[0..*] I_InspectionOperation _InspectionOperation $projection.InspectionLot = _InspectionOperation.InspectionLot
[0..1] I_InspLotUsageDecision _InspLotUsageDecision $projection.InspectionLot = _InspLotUsageDecision.InspectionLot
[0..*] I_MaterialSampleDrawing _MaterialSampleDrawing $projection.InspectionLot = _MaterialSampleDrawing.InspectionLot
[0..*] I_InspLotMatlDocItem _InspLotMatlDocItem $projection.InspectionLot = _InspLotMatlDocItem.InspectionLot
[0..1] I_MatlQualityAuthGroup _MatlQualityAuthGroup $projection.MatlQualityAuthorizationGroup = _MatlQualityAuthGroup.MatlQualityAuthorizationGroup
[0..1] I_InspectionSubsetType _InspectionSubsetType $projection.InspectionSubsetType = _InspectionSubsetType.InspectionSubsetType
[0..*] I_InspectionSubsetTypeText _InspectionSubsetTypeText $projection.InspectionSubsetType = _InspectionSubsetTypeText.InspectionSubsetType
[0..1] I_InspectionLotApproval _InspectionLotApproval $projection.InspectionLotApproval = _InspectionLotApproval.InspectionLotApproval
[0..*] I_InspectionLotApprovalText _InspectionLotApprovalText $projection.InspectionLotApproval = _InspectionLotApprovalText.InspectionLotApproval
[0..1] I_InspLotSgntrInUsgeDcsn _InspLotSgntrInUsgeDcsn $projection.InspLotDigitalSgntrInUsgeDcsn = _InspLotSgntrInUsgeDcsn.InspLotDigitalSgntrInUsgeDcsn
[0..*] I_InspLotSgntrInUsgeDcsnText _InspLotSgntrInUsgeDcsnText $projection.InspLotDigitalSgntrInUsgeDcsn = _InspLotSgntrInUsgeDcsnText.InspLotDigitalSgntrInUsgeDcsn
[0..*] I_InspectionLotLongText _InspectionLotLongText $projection.InspectionLot = _InspectionLotLongText.InspectionLot
[0..*] I_InspectionLotAllLongText _InspectionLotAllLongText $projection.InspectionLot = _InspectionLotAllLongText.InspectionLot
[1..1] I_Indicator _InspectionLotHasQuantity $projection.InspectionLotHasQuantity = _InspectionLotHasQuantity.IndicatorValue
[0..*] I_Indicatortext _InspectionLotHasQuantityT $projection.InspectionLotHasQuantity = _InspectionLotHasQuantityT.IndicatorValue
[1..1] I_Indicator _IsStockPostgCmpltd $projection.InspLotIsStockPostingCompleted = _IsStockPostgCmpltd.IndicatorValue
[0..*] I_Indicatortext _IsStockPostgCmpltdTxt $projection.InspLotIsStockPostingCompleted = _IsStockPostgCmpltdTxt.IndicatorValue
[1..1] I_Indicator _SmplDrwgProcedIsConfRqd $projection.SmplDrwgProcedIsConfRequired = _SmplDrwgProcedIsConfRqd.IndicatorValue
[0..*] I_Indicatortext _SmplDrwgProcedIsConfRqdTxt $projection.SmplDrwgProcedIsConfRequired = _SmplDrwgProcedIsConfRqdTxt.IndicatorValue
[1..1] I_Indicator _IsAutomUsgeDcsnPossible $projection.InspLotIsAutomUsgeDcsnPossible = _IsAutomUsgeDcsnPossible.IndicatorValue
[0..*] I_Indicatortext _IsAutomUsgeDcsnPossibleTxt $projection.InspLotIsAutomUsgeDcsnPossible = _IsAutomUsgeDcsnPossibleTxt.IndicatorValue
[1..1] I_Indicator _IsDocumentationRqd $projection.InspLotIsDocumentationRequired = _IsDocumentationRqd.IndicatorValue
[0..*] I_Indicatortext _IsDocumentationRqdTxt $projection.InspLotIsDocumentationRequired = _IsDocumentationRqdTxt.IndicatorValue
[1..1] I_Indicator _InspLotIsBatchRequired $projection.InspLotIsBatchRequired = _InspLotIsBatchRequired.IndicatorValue
[0..*] I_Indicatortext _InspLotIsBatchRequiredTxt $projection.InspLotIsBatchRequired = _InspLotIsBatchRequiredTxt.IndicatorValue
[1..1] I_Indicator _InspectionLotHasUsgeDcsn $projection.InspectionLotHasUsageDecision = _InspectionLotHasUsgeDcsn.IndicatorValue
[0..*] I_Indicatortext _InspectionLotHasUsgeDcsnTxt $projection.InspectionLotHasUsageDecision = _InspectionLotHasUsgeDcsnTxt.IndicatorValue
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_Material _InspLotSelectionMaterial $projection.InspLotSelectionMaterial = _InspLotSelectionMaterial.Material
[0..1] I_BillOfOperationsChangeState _BillOfOperationsChangeState $projection.BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant and $projection.BillOfOperationsChangeStateID = _BillOfOperationsChangeState.BOOInternalVersionCounter
[0..1] I_BillOfOperationsType _BillOfOperationsType $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
[0..1] I_BillOfOperationsGroup _BillOfOperationsGroup $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup
[0..1] I_MaintenancePlan _MaintenancePlan $projection.MaintenancePlan = _MaintenancePlan.MaintenancePlan
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Supplier _Manufacturer $projection.Manufacturer = _Manufacturer.Supplier
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Supplier _InspLotSelectionSupplier $projection.InspLotSelectionSupplier = _InspLotSelectionSupplier.Supplier
[0..1] I_Supplier _InspLotSelManufacturer $projection.InspLotSelectionManufacturer = _InspLotSelManufacturer.Supplier
[0..1] I_Customer _InspLotSelectionCustomer $projection.InspLotSelectionCustomer = _InspLotSelectionCustomer.Customer
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[0..1] I_WBSElementByInternalKey _SalesOrdStockWBSElement $projection.SalesOrdStockWBSElement = _SalesOrdStockWBSElement.WBSElementInternalID
[0..1] I_Equipment _Equipment $projection.Equipment = _Equipment.Equipment
[0..1] I_FunctionalLocation _FunctionalLocation $projection.FunctionalLocation = _FunctionalLocation.FunctionalLocation
[0..1] I_User _InspectionLotCreatedBy $projection.InspectionLotCreatedBy = _InspectionLotCreatedBy.UserID
[0..1] I_User _InspectionLotChangedBy $projection.InspectionLotChangedBy = _InspectionLotChangedBy.UserID
[0..1] I_UnitOfMeasure _InspectionLotQuantityUnit $projection.InspectionLotQuantityUnit = _InspectionLotQuantityUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _InspectionLotSampleUnit $projection.InspectionLotSampleUnit = _InspectionLotSampleUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _InspectionLotContainerUnit $projection.InspectionLotContainerUnit = _InspectionLotContainerUnit.UnitOfMeasure
[0..1] I_PurchasingOrganization _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[0..1] I_Material _ManufacturerPartNmbr $projection.ManufacturerPartNmbr = _ManufacturerPartNmbr.Material
[1..1] E_InspectionLot _Extension $projection.InspectionLot = _Extension.InspectionLot

Annotations (14)

NameValueLevelField
EndUserText.label Inspection Lot view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IINSPECTIONLOT view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey InspectionLot view
ObjectModel.compositionRoot true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
Metadata.ignorePropagatedAnnotations true view

Fields (237)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot qals prueflos Inspection Lot Number
Material qals matnr Material Number
Batch qals charg Chargeable Proc.
Plant qals werk Plant
InspectionLotOrigin Inspection Lot Origin
OrderInternalBillOfOperations qals aufpl Routing number of operations in the order
ManufacturingOrder Order Number (Production Order)
InspectionLotText Inspection Lot Text
InspectionLotType qals art Inspection Type
InspectionLotQuantity Inspection Lot Quantity
InspectionLotActualQuantity Actual Lot Quantity
InspectionLotDefectiveQuantity Defective Quantity
InspectionLotQuantityUnit qals mengeneinh Base Unit of Measure for Inspection Lot Quantity
InspLotCreatedOnLocalDate qals enstehdat Date in Time Zone Where Lot Created
InspSubsetFieldCombination qals slwbez Identifier for Inspection Point Field Combination
InspLotNmbrOpenLongTermCharc Open Long-Term Characteristics
StatusObject qals objnr Val. Obj. No.
StatusObjectCategory qals obtyp Picking area
InspectionLotObjectText qals ktextmat Short Text for Inspection Object
Equipment qals ls_equnr Equipment Number
FunctionalLocation qals ls_tplnr Functional Location
StatusProfile qals stsma Status Profile
MatlQualityAuthorizationGroup Material Authorization Group for Activities in QM
InspectionLotHasQuantity Posted to Inspection Stock
InspLotIsCreatedAutomatically qals stat01 Inspection Lot Is Created Automatically
InspectionLotHasPartialLots qals stat02 Partial Lots Exist
InspectionLotHasAppraisalCosts qals stat06 Record Appraisal Costs in Individual QM Order
InspLotHasSubsets qals stat07 Inspection with Inspection Points
InspLotIsAutomUsgeDcsnPossible Automatic Usage Decision Planned
PurchasingDocumentCategory qals stat09 Source Inspection
InspLotHasConfignSpecification qals stat10 Inspection Specifications from Configuration
GoodsReceiptIsMovedToBlkdStock qals stat11 GR Blocked Stock
InspLotSummaryControl qals stat18 Control of Inspection Lot Creation (Lot Summary)
InspLotIsDocumentationRequired Documentation Required
InspLotIsTaskListRequired Inspection Plan Required
InspLotHasManualSampleSize qals stat21 Enter Sample Manually
InspLotHasMaterialSpec Inspect with Material Specification
InspectionLotApproval Inspection Lot Approval
InspLotDigitalSgntrResultsRecg qals stat24 Digital Signature for Insp. Lot in Results Recording
InspLotDigitalSgntrInUsgeDcsn Digital Signature Usage Decision
InspLotIsBatchRequired qals stat26 Approved Batch Record Required
InspLotUsageInStabilityStudy qals stat32 Inspection Lot for Stability Study
InspLotHasMultipleSpec qals stat33 Indicator: Multiple Specifications
InspLotIsStockPostingCompleted Stock Postings Completed
InspectionLotHasUsageDecision Usage Decision Made
NumberOfSerialNumbers qals anzsn Number of serial numbers
InspLotIsSerialNmbrPossible qals ein Serial Numbers Possible for Inspection Lot
InspectionLotIsSkipped Skip Lot
InspectionLotIsFullInspection qals hpz 100% Inspection
InspectionLotDynamicLevel Level at Which Dynamic Modification Parameters Are Defined
SamplingProcedure qals stprver Sampling Procedure
InspLotCreatedOnLocalTime Time in Time Zone Where Lot Created
InspectionLotCreatedBy qals ersteller Name of User Who Created the Data Record
InspectionLotCreatedOn qals ersteldat System Date on Which Data Record Was Created
InspectionLotCreatedOnTime System Time of Creation
InspectionLotChangedBy qals aenderer Name of User Who Last Changed Data Record
InspectionLotChangeDate qals aenderdat System Date on Which Data Record Was Changed
InspectionLotChangeTime System Time of Change
changeddatetimeendasChangedDateTime
InspectionLotStartDate qals pastrterm Start Date of Inspection in Local Time Zone
InspectionLotStartTime Inspection Started At
InspectionLotEndDate qals paendterm End Date of Inspection in Local Time Zone
InspectionLotEndTime Inspection Ended At
BillOfOperationsType Bill of Operations Type
BillOfOperationsGroup Bill of Operations Group
BillOfOperationsUsage Bill of Operations Usage
BillOfOperationsVariant Bill of Operations Group Counter
BillOfOperationsChangeStateID qals zaehl Internal counter
InspectionSubsetType Inspection Point Type
SmplDrawingProcedure Sample-Drawing Procedure
SmplDrawingProcedureVersion qals prbnavv Version No. of the Sample-Drawing Procedure
SmplDrwgProcedIsConfRequired Confirmation Required for Sample Drawing
InspLotSelectionMaterial qals selmatnr Material Number
InspLotSelMatlRevisionLvl qals selrevlv Revision Level
InspLotSelectionPlant qals selwerk Plant
InspLotSelectionSupplier qals sellifnr Supplier's Account Number
InspLotSelectionManufacturer qals selherst Number of Manufacturer
InspLotSelectionCustomer qals selkunnr Account number of customer
InspLotSelBillOfOperationsUsge qals selpplverw Task List Usage
InspLotSelectionValidFromDate qals gueltigab Key Date for Selecting Records or Changing Task Lists
ProductionVersion qals verid Production Version
SalesOperationsPlanningOrder Run Schedule Header
IsBusinessPurposeCompleted qals cvp_xblck Business Purpose Completed Flag
Customer Customer (Ship-to Party)
Supplier qals lifnr Supplier's Account Number
BatchBySupplier qals lichn Supplier Batch Number
Manufacturer qals hersteller Number of Manufacturer
ManufacturerPartNmbr Manufacturer Material
MaterialRevisionLevel qals revlv Revision Level
MaterialIsBatchManaged Batch Required
BatchStorageLocation Storage Location for Batch
MaterialCompIsSpecialStock qals sobkz Special Stock Indicator
PurchasingOrganization Purchasing Organization
PurchasingDocument Purchasing Document
PurchasingDocumentItem Purchasing Document Item
ScheduleLine qals etenr Delivery Schedule Line Counter
AccountingDocumentType Document Type
MaterialDocumentYear Material Document Year
MaterialDocument qals mblnr Number of Material Document
MaterialDocumentItem Material Document Item
MatlDocLatestPostgDate qals budat Posting Date in the Document
GoodsMovementType qals bwart Movement Type (Inventory Management)
InspectionLotPlant Plant for Inspection Lot
InspectionLotStorageLocation Storage Location for Inspection Lot Stock
Warehouse qals lgnum Warehouse Number / Warehouse Complex
StorageType qals lgtyp Storage Type
StorageBin qals lgpla Storage Bin
SalesOrder qals ls_kdauf Sales Order Number
SalesOrderItem Sales Order Item
DeliveryDocument Delivery Document
DeliveryDocumentItem Delivery Document Item
DeliveryCategory qals ls_abrvw Delivery Category
InspectionDeliveryCategory qals ls_abrvw Delivery Category
Route qals ls_route Route
BillToPartyCountry qals ls_lland Destination Country/Region
SoldToParty Customer (Sold-to Party)
SalesOrganization qals ls_vkorg Sales Organization
MaterialByCustomer qals ls_kdmat Customer Material
Language qals sprache Language Key
InspLotNmbrAddlRecordedCharc qals zusmkzaehl Number of Characteristics Recorded Additionally
InspLotNmbrOpenShortTermCharc qals offennlzmk Number of Outstanding Short-Term Chars That Require Confirm.
InspectionLotContainer qals anzgeb QM - No. of Containers
InspectionLotContainerUnit qals gebeh Lot Container
InspectionLotSampleQuantity qals gesstichpr Inspection Sample Size
InspectionLotSampleUnit Sample Unit of Measure
InspLotDynamicRule Dynamic Modification Rule
InspLotDynamicTrggrPoint qals stat44 Time of Dynamic Modification in Inspection Lot
InspectionDynamicStage qals prstufe Inspection Stage
InspectionSeverity qals prschaerfe Inspection Severity
InspLotQtyToFree Unrestricted-Use Stock
InspLotQtyToScrap Scrap Quantity
InspLotQtyToSample qals lmenge03 Quantity Posted to Sample
InspLotQtyToBlocked Blocked Stock
InspLotQtyToReserves qals lmenge05 Quantity Posted to Reserves
InspLotQtyToAnotherMaterial New Material
InspLotMaterialPostedTo Material Posted To
InspLotBatchTransferredTo Batch Transferred To
InspLotQtyReturnedToSupplier Return to Supplier
InspLotQtyToSpecialStock Other Quantity
InspLotQtyToOtherStock Other Quantity 2
InspLotQtyToBePosted Quantity to Be Posted
InspLotSmplQtyForLongTermChar Long-Term Sample Quantity
InspLotQtyInspected Inspected Quantity
InspLotQtyDestroyed Destroyed Quantity
InspectionLotScrapRatio qals anteil Share of Scrap in Inspection Lot
InspLotUsageDecisionTool qals stat03 Usage Decision Mode (UD Origin)
InspectionLotAllowedScrapRatio qals qpmatlos Allowed Share of Scrap
QualityCostCollector qals aufnr_co Order Number for Recording Appraisal Costs
ConsumptionPosting qals kzvbr Consumption posting
AccountAssignmentCategory qals knttp Account Assignment Category
PurchasingDocumentItemCategory qals pstyp Item category in purchasing document
InspLotAcctAssgmtKey qals stat05 Account Assignment Key: Inspection Lot
CostCenter qals kostl Substitute CC
ReservationItem qals aufps Item Number of Reservation / Dependent Requirements
MasterFixedAsset qals anln1 Main Asset Number
FixedAsset qals anln2 Asset Subnumber
SalesOrdStockWBSElement qals ps_psp_pnr Valuated Sales Order Stock WBS Element
ProjectNetwork qals nplnr Network Number for Account Assignment
NetworkActivityInternalID qals aplzl Internal counter
InventorySpclStkSalesDocument Inventory Special Stock Sales Document
InventorySpclStkSalesDocItm qals kdpos Sales Order Item of Valuated Sales Order Stock
ProfitabilitySegment_2 Profitability Segment
ProfitCenter qals prctr Profit Centers
BusinessArea qals gsber Business Area
GLAccount qals konto G/L Account Number
ControllingArea qals kokrs Controlling Area
CompanyCode qals bukrs Company Code
SerialNumberProfile qals sernp Serial Number Profile
InspLotCostCollectorSalesOrder qals kont_kdauf Sales Order Number
InspLotCostCollectorSlsOrdItem qals kont_kdpos Item Number in Sales Order
InspLotCostCollectorWBSElement qals kont_pspnr Work Breakdown Structure Element (WBS Element)
InspLotExternalNumber Inspection Document Number
InspectionLotPriorityPoints qals prio_punkte Priority Points
MaintenancePlan qals warpl Maintenance Plan
MaintenancePlanItemIntID qals wapos Maintenance item
MaintenanceStrategy qals strat Maintenance Strategy
InspLotForFirstArticleInsp qals stat43 Inspection Lot Created for First Article Inspection
InspectionLotUUID lot_guid Internal Identification for Inspection Lot
InspUsgeDcsnDgtlSgntrType Signature Type: Inspection Lot Usage Decision
InspUsgeDcsnDgtlSgntrStrgy Signature Strategy with Individual Signature: Usage Decision
_InspLotUsageDecision _InspLotUsageDecision
_InspectionLotType _InspectionLotType
_InspectionLotOrigin _InspectionLotOrigin
_InspSubsetFieldCombination _InspSubsetFieldCombination
_QltyMgmtPlantLvlConfign _QltyMgmtPlantLvlConfign
_InspLotSummaryControl _InspLotSummaryControl
_MatlQualityAuthGroup _MatlQualityAuthGroup
_InspectionSubsetType _InspectionSubsetType
_InspectionSubsetTypeText _InspectionSubsetTypeText
_InspectionLotApproval _InspectionLotApproval
_InspectionLotApprovalText _InspectionLotApprovalText
_InspLotSgntrInUsgeDcsn _InspLotSgntrInUsgeDcsn
_InspLotSgntrInUsgeDcsnText _InspLotSgntrInUsgeDcsnText
_InspectionLotLongText _InspectionLotLongText
_InspectionLotAllLongText _InspectionLotAllLongText
_InspectionLotHasQuantity _InspectionLotHasQuantity
_InspectionLotHasQuantityT _InspectionLotHasQuantityT
_IsStockPostgCmpltd _IsStockPostgCmpltd
_IsStockPostgCmpltdTxt _IsStockPostgCmpltdTxt
_SmplDrwgProcedIsConfRqd _SmplDrwgProcedIsConfRqd
_SmplDrwgProcedIsConfRqdTxt _SmplDrwgProcedIsConfRqdTxt
_IsAutomUsgeDcsnPossible _IsAutomUsgeDcsnPossible
_IsAutomUsgeDcsnPossibleTxt _IsAutomUsgeDcsnPossibleTxt
_IsDocumentationRqd _IsDocumentationRqd
_IsDocumentationRqdTxt _IsDocumentationRqdTxt
_InspLotIsBatchRequired _InspLotIsBatchRequired
_InspLotIsBatchRequiredTxt _InspLotIsBatchRequiredTxt
_InspectionLotHasUsgeDcsn _InspectionLotHasUsgeDcsn
_InspectionLotHasUsgeDcsnTxt _InspectionLotHasUsgeDcsnTxt
_Plant _Plant
_Material _Material
_InspLotSelectionMaterial _InspLotSelectionMaterial
_InspectionOperation _InspectionOperation
_Supplier _Supplier
_InspLotSelectionSupplier _InspLotSelectionSupplier
_Manufacturer _Manufacturer
_InspLotSelManufacturer _InspLotSelManufacturer
_Customer _Customer
_InspLotSelectionCustomer _InspLotSelectionCustomer
_SoldToParty _SoldToParty
_SalesOrganization _SalesOrganization
_SalesOrdStockWBSElement _SalesOrdStockWBSElement
_MaterialSampleDrawing _MaterialSampleDrawing
_InspLotMatlDocItem _InspLotMatlDocItem
_BillOfOperationsChangeState _BillOfOperationsChangeState
_MaintenancePlan _MaintenancePlan
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsGroup _BillOfOperationsGroup
_InspectionLotQuantityUnit _InspectionLotQuantityUnit
_InspectionLotSampleUnit _InspectionLotSampleUnit
_InspectionLotContainerUnit _InspectionLotContainerUnit
_InspectionLotCreatedBy _InspectionLotCreatedBy
_InspectionLotChangedBy _InspectionLotChangedBy
_PurchasingOrganization _PurchasingOrganization
_ManufacturerPartNmbr _ManufacturerPartNmbr
_Equipment _Equipment
_FunctionalLocation _FunctionalLocation

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_InspectionLot.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IINSPECTIONLOT

CREATE VIEW I_InspectionLot AS
SELECT
  qals.prueflos AS InspectionLot,
  qals.matnr AS Material,
  qals.charg AS Batch,
  qals.werk AS Plant,
  cast( qals.herkunft as vdm_qherk preserving type ) AS InspectionLotOrigin,
  qals.aufpl AS OrderInternalBillOfOperations,
  cast( qals.aufnr as vdm_qm_fertaufnr preserving type ) AS ManufacturingOrder,
  cast( qals.ktextlos as vdm_qplos_text preserving type ) AS InspectionLotText,
  qals.art AS InspectionLotType,
  cast( qals.losmenge as vdm_qlosmenge preserving type ) AS InspectionLotQuantity,
  cast( qals.lmengeist as vdm_qlmengeist preserving type ) AS InspectionLotActualQuantity,
  cast( qals.lmengesch as vdm_qlmengesch preserving type ) AS InspectionLotDefectiveQuantity,
  qals.mengeneinh AS InspectionLotQuantityUnit,
  qals.enstehdat AS InspLotCreatedOnLocalDate,
  qals.slwbez AS InspSubsetFieldCombination,
  cast( qals.offen_lzmk as vdm_qoffelzmk preserving type ) AS InspLotNmbrOpenLongTermCharc,
  qals.objnr AS StatusObject,
  qals.obtyp AS StatusObjectCategory,
  qals.ktextmat AS InspectionLotObjectText,
  qals.ls_equnr AS Equipment,
  qals.ls_tplnr AS FunctionalLocation,
  qals.stsma AS StatusProfile,
  cast( qals.qmatauth as vdm_qmatauth preserving type ) AS MatlQualityAuthorizationGroup,
  cast( qals.insmk as vdm_qvinsmk preserving type ) AS InspectionLotHasQuantity,
  qals.stat01 AS InspLotIsCreatedAutomatically,
  qals.stat02 AS InspectionLotHasPartialLots,
  qals.stat06 AS InspectionLotHasAppraisalCosts,
  qals.stat07 AS InspLotHasSubsets,
  cast( qals.stat08 as vdm_qauto_ve preserving type ) AS InspLotIsAutomUsgeDcsnPossible,
  qals.stat09 AS PurchasingDocumentCategory,
  qals.stat10 AS InspLotHasConfignSpecification,
  qals.stat11 AS GoodsReceiptIsMovedToBlkdStock,
  qals.stat18 AS InspLotSummaryControl,
  cast( qals.stat19 as vdm_qstat19 preserving type ) AS InspLotIsDocumentationRequired,
  cast( qals.stat20 as vdm_qstat20 preserving type ) AS InspLotIsTaskListRequired,
  qals.stat21 AS InspLotHasManualSampleSize,
  cast( qals.stat22 as vdm_qspezueber preserving type ) AS InspLotHasMaterialSpec,
  cast( qals.stat23 as vdm_qkzgenlos preserving type ) AS InspectionLotApproval,
  qals.stat24 AS InspLotDigitalSgntrResultsRecg,
  cast( qals.stat25 as vdm_qdgtlsgntrusgedcsn preserving type ) AS InspLotDigitalSgntrInUsgeDcsn,
  qals.stat26 AS InspLotIsBatchRequired,
  qals.stat32 AS InspLotUsageInStabilityStudy,
  qals.stat33 AS InspLotHasMultipleSpec,
  cast( qals.stat34 as vdm_qstat34 preserving type ) AS InspLotIsStockPostingCompleted,
  cast( qals.stat35 as vdm_qstat35 preserving type ) AS InspectionLotHasUsageDecision,
  qals.anzsn AS NumberOfSerialNumbers,
  qals.ein AS InspLotIsSerialNmbrPossible,
  cast( qals.kzskiplot as vdm_qkzskiplot preserving type ) AS InspectionLotIsSkipped,
  qals.hpz AS InspectionLotIsFullInspection,
  cast( qals.dynhead as vdm_qdynhead preserving type ) AS InspectionLotDynamicLevel,
  qals.stprver AS SamplingProcedure,
  cast( qals.entstezeit as vdm_qentstzeit preserving type ) AS InspLotCreatedOnLocalTime,
  qals.ersteller AS InspectionLotCreatedBy,
  qals.ersteldat AS InspectionLotCreatedOn,
  cast( qals.erstelzeit as vdm_qerstezeit preserving type ) AS InspectionLotCreatedOnTime,
  qals.aenderer AS InspectionLotChangedBy,
  qals.aenderdat AS InspectionLotChangeDate,
  cast( qals.aenderzeit as vdm_qaendezeit preserving type ) AS InspectionLotChangeTime,
  case qals.changeddatetime when 0 then cast( '19000101010101' as tzntstmps ) else qals.changeddatetime end as ChangedDateTime AS changeddatetimeendasChangedDateTime,
  qals.pastrterm AS InspectionLotStartDate,
  cast( qals.pastrzeit as vdm_qstartzeit preserving type ) AS InspectionLotStartTime,
  qals.paendterm AS InspectionLotEndDate,
  cast( qals.paendzeit as vdm_qendezeit preserving type ) AS InspectionLotEndTime,
  cast( qals.plnty as vdm_plnty preserving type ) AS BillOfOperationsType,
  cast( qals.plnnr as vdm_plnnr preserving type ) AS BillOfOperationsGroup,
  cast( qals.pplverw as vdm_pln_verwe preserving type ) AS BillOfOperationsUsage,
  cast( qals.plnal as vdm_plnal preserving type ) AS BillOfOperationsVariant,
  qals.zaehl AS BillOfOperationsChangeStateID,
  cast( qals.stat13 as vdm_qppkttyp preserving type ) AS InspectionSubsetType,
  cast( qals.prbnaverf as vdm_qprziehver preserving type ) AS SmplDrawingProcedure,
  qals.prbnavv AS SmplDrawingProcedureVersion,
  cast( qals.stat12 as vdm_qkzquit preserving type ) AS SmplDrwgProcedIsConfRequired,
  qals.selmatnr AS InspLotSelectionMaterial,
  qals.selrevlv AS InspLotSelMatlRevisionLvl,
  qals.selwerk AS InspLotSelectionPlant,
  qals.sellifnr AS InspLotSelectionSupplier,
  qals.selherst AS InspLotSelectionManufacturer,
  qals.selkunnr AS InspLotSelectionCustomer,
  qals.selpplverw AS InspLotSelBillOfOperationsUsge,
  qals.gueltigab AS InspLotSelectionValidFromDate,
  qals.verid AS ProductionVersion,
  cast( qals.sa_aufnr as vdm_sa_aufnr preserving type ) AS SalesOperationsPlanningOrder,
  qals.cvp_xblck AS IsBusinessPurposeCompleted,
  cast( qals.kunnr as vdm_qkunwe preserving type ) AS Customer,
  qals.lifnr AS Supplier,
  qals.lichn AS BatchBySupplier,
  qals.hersteller AS Manufacturer,
  cast( qals.ematnr as vdm_ematn preserving type ) AS ManufacturerPartNmbr,
  qals.revlv AS MaterialRevisionLevel,
  cast( qals.xchpf as vdm_xchpf preserving type ) AS MaterialIsBatchManaged,
  cast( qals.lagortchrg as vdm_qlgortchar preserving type ) AS BatchStorageLocation,
  qals.sobkz AS MaterialCompIsSpecialStock,
  cast( qals.ekorg as ekorg_ll preserving type ) AS PurchasingOrganization,
  cast( qals.ebeln as fis_ebeln preserving type ) AS PurchasingDocument,
  cast( qals.ebelp as vdm_ebelp preserving type ) AS PurchasingDocumentItem,
  qals.etenr AS ScheduleLine,
  cast( qals.blart as vdm_blart preserving type ) AS AccountingDocumentType,
  cast( qals.mjahr as vdm_mjahr preserving type ) AS MaterialDocumentYear,
  qals.mblnr AS MaterialDocument,
  cast( qals.zeile as vdm_mblpo preserving type ) AS MaterialDocumentItem,
  qals.budat AS MatlDocLatestPostgDate,
  qals.bwart AS GoodsMovementType,
  cast( qals.werkvorg as vdm_qwerkvorg preserving type ) AS InspectionLotPlant,
  cast( qals.lagortvorg as vdm_qlgortvorg preserving type ) AS InspectionLotStorageLocation,
  qals.lgnum AS Warehouse,
  qals.lgtyp AS StorageType,
  qals.lgpla AS StorageBin,
  qals.ls_kdauf AS SalesOrder,
  cast( qals.ls_kdpos as vdm_kdpos preserving type ) AS SalesOrderItem,
  cast( qals.ls_vbeln as vdm_deliverydocument preserving type ) AS DeliveryDocument,
  cast( qals.ls_posnr as vdm_posnr_vl preserving type ) AS DeliveryDocumentItem,
  qals.ls_abrvw AS DeliveryCategory,
  qals.ls_abrvw AS InspectionDeliveryCategory,
  qals.ls_route AS Route,
  qals.ls_lland AS BillToPartyCountry,
  cast( qals.ls_kunag as vdm_kunag preserving type ) AS SoldToParty,
  qals.ls_vkorg AS SalesOrganization,
  qals.ls_kdmat AS MaterialByCustomer,
  qals.sprache AS Language,
  qals.zusmkzaehl AS InspLotNmbrAddlRecordedCharc,
  qals.offennlzmk AS InspLotNmbrOpenShortTermCharc,
  qals.anzgeb AS InspectionLotContainer,
  qals.gebeh AS InspectionLotContainerUnit,
  qals.gesstichpr AS InspectionLotSampleQuantity,
  cast( qals.einhprobe as vdm_qprobemgeh preserving type ) AS InspectionLotSampleUnit,
  cast( qals.dynregel as vdm_qdynregel preserving type ) AS InspLotDynamicRule,
  qals.stat44 AS InspLotDynamicTrggrPoint,
  qals.prstufe AS InspectionDynamicStage,
  qals.prschaerfe AS InspectionSeverity,
  cast( qals.lmenge01 as vdm_qlmenge01f preserving type ) AS InspLotQtyToFree,
  cast( qals.lmenge02 as vdm_qlmenge02f preserving type ) AS InspLotQtyToScrap,
  qals.lmenge03 AS InspLotQtyToSample,
  cast( qals.lmenge04 as vdm_qlmenge04f preserving type ) AS InspLotQtyToBlocked,
  qals.lmenge05 AS InspLotQtyToReserves,
  cast( qals.lmenge06 as vdm_qlmenge06f preserving type ) AS InspLotQtyToAnotherMaterial,
  cast( qals.matnrneu as vdm_qmatnrneu preserving type ) AS InspLotMaterialPostedTo,
  cast( qals.chargneu as vdm_qchargneu preserving type ) AS InspLotBatchTransferredTo,
  cast( qals.lmenge07 as vdm_qlmenge07f preserving type ) AS InspLotQtyReturnedToSupplier,
  cast( qals.lmenge08 as vdm_qlmenge08f preserving type ) AS InspLotQtyToSpecialStock,
  cast( qals.lmenge09 as vdm_qlmenge09f preserving type ) AS InspLotQtyToOtherStock,
  cast( qals.lmengezub as vdm_qlmengezub preserving type ) AS InspLotQtyToBePosted,
  cast( qals.lmengelz as vdm_qlmengelz preserving type ) AS InspLotSmplQtyForLongTermChar,
  cast( qals.lmengepr as vdm_qlmengepr preserving type ) AS InspLotQtyInspected,
  cast( qals.lmengezer as vdm_qlmengezer preserving type ) AS InspLotQtyDestroyed,
  qals.anteil AS InspectionLotScrapRatio,
  qals.stat03 AS InspLotUsageDecisionTool,
  qals.qpmatlos AS InspectionLotAllowedScrapRatio,
  qals.aufnr_co AS QualityCostCollector,
  qals.kzvbr AS ConsumptionPosting,
  qals.knttp AS AccountAssignmentCategory,
  qals.pstyp AS PurchasingDocumentItemCategory,
  qals.stat05 AS InspLotAcctAssgmtKey,
  qals.kostl AS CostCenter,
  qals.aufps AS ReservationItem,
  qals.anln1 AS MasterFixedAsset,
  qals.anln2 AS FixedAsset,
  qals.ps_psp_pnr AS SalesOrdStockWBSElement,
  qals.nplnr AS ProjectNetwork,
  qals.aplzl AS NetworkActivityInternalID,
  cast( qals.kdauf as vdm_mat_kdauf preserving type ) AS InventorySpclStkSalesDocument,
  qals.kdpos AS InventorySpclStkSalesDocItm,
  cast( qals.paobjnr as rkeobjnr_char ) AS ProfitabilitySegment_2,
  qals.prctr AS ProfitCenter,
  qals.gsber AS BusinessArea,
  qals.konto AS GLAccount,
  qals.kokrs AS ControllingArea,
  qals.bukrs AS CompanyCode,
  qals.sernp AS SerialNumberProfile,
  qals.kont_kdauf AS InspLotCostCollectorSalesOrder,
  qals.kont_kdpos AS InspLotCostCollectorSlsOrdItem,
  qals.kont_pspnr AS InspLotCostCollectorWBSElement,
  cast( qals.insp_doc_number as vdm_qinsp_doc_number preserving type ) AS InspLotExternalNumber,
  qals.prio_punkte AS InspectionLotPriorityPoints,
  qals.warpl AS MaintenancePlan,
  qals.wapos AS MaintenancePlanItemIntID,
  qals.strat AS MaintenanceStrategy,
  qals.stat43 AS InspLotForFirstArticleInsp,
  lot_guid AS InspectionLotUUID,
  cast( qals.sign_type_ud as vdm_qsign_type_ud preserving type ) AS InspUsgeDcsnDgtlSgntrType,
  cast( qals.signstrat_ud as vdm_qsignstrat_ud preserving type ) AS InspUsgeDcsnDgtlSgntrStrgy
FROM qals
LEFT OUTER JOIN I_InspectionLotType AS _InspectionLotType ON InspectionLotType = _InspectionLotType.InspectionLotType  -- association [1..1]
LEFT OUTER JOIN I_InspectionLotOrigin AS _InspectionLotOrigin ON InspectionLotOrigin = _InspectionLotOrigin.InspectionLotOrigin  -- association [1..1]
LEFT OUTER JOIN I_InspSubsetFieldCombination AS _InspSubsetFieldCombination ON InspSubsetFieldCombination = _InspSubsetFieldCombination.InspSubsetFieldCombination  -- association [0..1]
LEFT OUTER JOIN I_QltyMgmtPlantLvlConfign AS _QltyMgmtPlantLvlConfign ON Plant = _QltyMgmtPlantLvlConfign.Plant  -- association [0..1]
LEFT OUTER JOIN I_InspLotSummaryControl AS _InspLotSummaryControl ON InspLotSummaryControl = _InspLotSummaryControl.InspLotSummaryControl AND InspectionLotOrigin = _InspLotSummaryControl.InspectionLotOrigin  -- association [0..1]
LEFT OUTER JOIN I_InspectionOperation AS _InspectionOperation ON InspectionLot = _InspectionOperation.InspectionLot  -- association [0..*]
LEFT OUTER JOIN I_InspLotUsageDecision AS _InspLotUsageDecision ON InspectionLot = _InspLotUsageDecision.InspectionLot  -- association [0..1]
LEFT OUTER JOIN I_MaterialSampleDrawing AS _MaterialSampleDrawing ON InspectionLot = _MaterialSampleDrawing.InspectionLot  -- association [0..*]
LEFT OUTER JOIN I_InspLotMatlDocItem AS _InspLotMatlDocItem ON InspectionLot = _InspLotMatlDocItem.InspectionLot  -- association [0..*]
LEFT OUTER JOIN I_MatlQualityAuthGroup AS _MatlQualityAuthGroup ON MatlQualityAuthorizationGroup = _MatlQualityAuthGroup.MatlQualityAuthorizationGroup  -- association [0..1]
LEFT OUTER JOIN I_InspectionSubsetType AS _InspectionSubsetType ON InspectionSubsetType = _InspectionSubsetType.InspectionSubsetType  -- association [0..1]
LEFT OUTER JOIN I_InspectionSubsetTypeText AS _InspectionSubsetTypeText ON InspectionSubsetType = _InspectionSubsetTypeText.InspectionSubsetType  -- association [0..*]
LEFT OUTER JOIN I_InspectionLotApproval AS _InspectionLotApproval ON InspectionLotApproval = _InspectionLotApproval.InspectionLotApproval  -- association [0..1]
LEFT OUTER JOIN I_InspectionLotApprovalText AS _InspectionLotApprovalText ON InspectionLotApproval = _InspectionLotApprovalText.InspectionLotApproval  -- association [0..*]
LEFT OUTER JOIN I_InspLotSgntrInUsgeDcsn AS _InspLotSgntrInUsgeDcsn ON InspLotDigitalSgntrInUsgeDcsn = _InspLotSgntrInUsgeDcsn.InspLotDigitalSgntrInUsgeDcsn  -- association [0..1]
LEFT OUTER JOIN I_InspLotSgntrInUsgeDcsnText AS _InspLotSgntrInUsgeDcsnText ON InspLotDigitalSgntrInUsgeDcsn = _InspLotSgntrInUsgeDcsnText.InspLotDigitalSgntrInUsgeDcsn  -- association [0..*]
LEFT OUTER JOIN I_InspectionLotLongText AS _InspectionLotLongText ON InspectionLot = _InspectionLotLongText.InspectionLot  -- association [0..*]
LEFT OUTER JOIN I_InspectionLotAllLongText AS _InspectionLotAllLongText ON InspectionLot = _InspectionLotAllLongText.InspectionLot  -- association [0..*]
LEFT OUTER JOIN I_Indicator AS _InspectionLotHasQuantity ON InspectionLotHasQuantity = _InspectionLotHasQuantity.IndicatorValue  -- association [1..1]
LEFT OUTER JOIN I_Indicatortext AS _InspectionLotHasQuantityT ON InspectionLotHasQuantity = _InspectionLotHasQuantityT.IndicatorValue  -- association [0..*]
LEFT OUTER JOIN I_Indicator AS _IsStockPostgCmpltd ON InspLotIsStockPostingCompleted = _IsStockPostgCmpltd.IndicatorValue  -- association [1..1]
LEFT OUTER JOIN I_Indicatortext AS _IsStockPostgCmpltdTxt ON InspLotIsStockPostingCompleted = _IsStockPostgCmpltdTxt.IndicatorValue  -- association [0..*]
LEFT OUTER JOIN I_Indicator AS _SmplDrwgProcedIsConfRqd ON SmplDrwgProcedIsConfRequired = _SmplDrwgProcedIsConfRqd.IndicatorValue  -- association [1..1]
LEFT OUTER JOIN I_Indicatortext AS _SmplDrwgProcedIsConfRqdTxt ON SmplDrwgProcedIsConfRequired = _SmplDrwgProcedIsConfRqdTxt.IndicatorValue  -- association [0..*]
LEFT OUTER JOIN I_Indicator AS _IsAutomUsgeDcsnPossible ON InspLotIsAutomUsgeDcsnPossible = _IsAutomUsgeDcsnPossible.IndicatorValue  -- association [1..1]
LEFT OUTER JOIN I_Indicatortext AS _IsAutomUsgeDcsnPossibleTxt ON InspLotIsAutomUsgeDcsnPossible = _IsAutomUsgeDcsnPossibleTxt.IndicatorValue  -- association [0..*]
LEFT OUTER JOIN I_Indicator AS _IsDocumentationRqd ON InspLotIsDocumentationRequired = _IsDocumentationRqd.IndicatorValue  -- association [1..1]
LEFT OUTER JOIN I_Indicatortext AS _IsDocumentationRqdTxt ON InspLotIsDocumentationRequired = _IsDocumentationRqdTxt.IndicatorValue  -- association [0..*]
LEFT OUTER JOIN I_Indicator AS _InspLotIsBatchRequired ON InspLotIsBatchRequired = _InspLotIsBatchRequired.IndicatorValue  -- association [1..1]
LEFT OUTER JOIN I_Indicatortext AS _InspLotIsBatchRequiredTxt ON InspLotIsBatchRequired = _InspLotIsBatchRequiredTxt.IndicatorValue  -- association [0..*]
LEFT OUTER JOIN I_Indicator AS _InspectionLotHasUsgeDcsn ON InspectionLotHasUsageDecision = _InspectionLotHasUsgeDcsn.IndicatorValue  -- association [1..1]
LEFT OUTER JOIN I_Indicatortext AS _InspectionLotHasUsgeDcsnTxt ON InspectionLotHasUsageDecision = _InspectionLotHasUsgeDcsnTxt.IndicatorValue  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN I_Material AS _InspLotSelectionMaterial ON InspLotSelectionMaterial = _InspLotSelectionMaterial.Material  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsChangeState AS _BillOfOperationsChangeState ON BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup AND BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant AND BillOfOperationsChangeStateID = _BillOfOperationsChangeState.BOOInternalVersionCounter  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsType AS _BillOfOperationsType ON BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup  -- association [0..1]
LEFT OUTER JOIN I_MaintenancePlan AS _MaintenancePlan ON MaintenancePlan = _MaintenancePlan.MaintenancePlan  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Manufacturer ON Manufacturer = _Manufacturer.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _InspLotSelectionSupplier ON InspLotSelectionSupplier = _InspLotSelectionSupplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _InspLotSelManufacturer ON InspLotSelectionManufacturer = _InspLotSelManufacturer.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _InspLotSelectionCustomer ON InspLotSelectionCustomer = _InspLotSelectionCustomer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_WBSElementByInternalKey AS _SalesOrdStockWBSElement ON SalesOrdStockWBSElement = _SalesOrdStockWBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_Equipment AS _Equipment ON Equipment = _Equipment.Equipment  -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocation AS _FunctionalLocation ON FunctionalLocation = _FunctionalLocation.FunctionalLocation  -- association [0..1]
LEFT OUTER JOIN I_User AS _InspectionLotCreatedBy ON InspectionLotCreatedBy = _InspectionLotCreatedBy.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _InspectionLotChangedBy ON InspectionLotChangedBy = _InspectionLotChangedBy.UserID  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _InspectionLotQuantityUnit ON InspectionLotQuantityUnit = _InspectionLotQuantityUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _InspectionLotSampleUnit ON InspectionLotSampleUnit = _InspectionLotSampleUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _InspectionLotContainerUnit ON InspectionLotContainerUnit = _InspectionLotContainerUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN I_Material AS _ManufacturerPartNmbr ON ManufacturerPartNmbr = _ManufacturerPartNmbr.Material  -- association [0..1]
LEFT OUTER JOIN E_InspectionLot AS _Extension ON InspectionLot = _Extension.InspectionLot  -- association [1..1]
;