I_OrderProdnResourceTool

DDL: I_ORDERPRODNRESOURCETOOL SQL: IORDPRODNRSCTOOL Type: view BASIC

Order Production Resource Tool

I_OrderProdnResourceTool is a Basic CDS View (Dimension) that provides data about "Order Production Resource Tool" in SAP S/4HANA. It reads from 1 data source (affh) and exposes 92 fields with key fields OrderInternalBillOfOperations, OrderProdnRsceToolInternalID. It has 33 associations to related views.

Data Sources (1)

SourceAliasJoin Type
affh affh from

Associations (33)

CardinalityTargetAliasCondition
[1..1] I_OrdInternalBillOfOperations _OrdInternalBillOfOperations $projection.OrderInternalBillOfOperations = _OrdInternalBillOfOperations.OrderInternalBillOfOperations
[1..1] I_OrderInternalID _OrderInternalID $projection.OrderInternalBillOfOperations = _OrderInternalID.OrderInternalID
[0..1] I_LogisticsOrder _Order $projection.OrderID = _Order.OrderID
[0..1] I_OrderCategory _OrderCategory $projection.OrderCategory = _OrderCategory.OrderCategory
[0..1] I_OrderType _OrderType $projection.OrderType = _OrderType.OrderType
[1..1] I_OrderOperationBasic _OrderOperation $projection.OrderInternalBillOfOperations = _OrderOperation.OrderInternalID and $projection.OrderIntBillOfOperationsItem = _OrderOperation.OrderOperationInternalID
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_ProdnRsceToolControlProfile _ProdnRsceToolControlProfile $projection.ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile
[0..1] I_ProductionResourceType _ProductionResourceType $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType
[1..1] I_ProdnRsceToolByInternalKey _ProdnRsceToolByInternalKey $projection.ProductionResourceType = _ProdnRsceToolByInternalKey.ProductionResourceType and $projection.ProductionResourceInternalID = _ProdnRsceToolByInternalKey.ProductionResourceInternalID
[1..1] I_ProdnRsceToolMasterData _ProdnRsceToolMasterData $projection.ProductionResourceType = _ProdnRsceToolMasterData.ProductionResourceType and $projection.ProductionResourceInternalID = _ProdnRsceToolMasterData.ProductionResourceInternalID
[1..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[0..1] I_Language _Language $projection.Language = _Language.Language
[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_UnitOfMeasure _ProdnRsceToolUsageDurnUnit $projection.ProdnRsceToolUsageDurnUnit = _ProdnRsceToolUsageDurnUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _ProdnRsceToolStdWorkQtyUnit $projection.ProdnRsceToolStdWorkQtyUnit = _ProdnRsceToolStdWorkQtyUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _PlannedProdnRsceToolQtyUnit $projection.PlannedProdnRsceToolQtyUnit = _PlannedProdnRsceToolQtyUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _ConfirmedProdnRsceToolQtyUnit $projection.ConfirmedProdnRsceToolQtyUnit = _ConfirmedProdnRsceToolQtyUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _RemainingProdnRsceToolQtyUnit $projection.RemainingProdnRsceToolQtyUnit = _RemainingProdnRsceToolQtyUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _ProdnRsceToolUsageQtyUnit $projection.ProdnRsceToolUsageQuantityUnit = _ProdnRsceToolUsageQtyUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _PlndProdnRsceToolUsageQtyUnit $projection.PlndProdnRsceToolUsageQtyUnit = _PlndProdnRsceToolUsageQtyUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _ConfdProdnRsceToolUsgeQtyUnit $projection.ConfdProdnRsceToolUsageQtyUnit = _ConfdProdnRsceToolUsgeQtyUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _RmngProdnRsceToolUsageQtyUnit $projection.RmngProdnRsceToolUsageQtyUnit = _RmngProdnRsceToolUsageQtyUnit.UnitOfMeasure
[1..1] I_StatusObject _StatusObject $projection.ObjectInternalID = _StatusObject.StatusObject
[0..1] I_OrderOperationPRTLongText _LongText $projection.OrderInternalBillOfOperations = _LongText.OrderInternalID and $projection.OrderProdnRsceToolInternalID = _LongText.OrderProdnRsceToolInternalID and $projection.Language = _LongText.LongTextLanguage -- to individual PRTs
[0..1] I_DocumentProdnRsceTool _DocumentProdnRsceTool $projection.ProductionResourceType = _DocumentProdnRsceTool.ProductionResourceType and $projection.ProductionResourceInternalID = _DocumentProdnRsceTool.ProductionResourceInternalID
[0..1] I_EquipmentProdnRsceTool _EquipmentProdnRsceTool $projection.ProductionResourceType = _EquipmentProdnRsceTool.ProductionResourceType and $projection.ProductionResourceInternalID = _EquipmentProdnRsceTool.ProductionResourceInternalID
[0..1] I_MaterialProdnRsceTool _MaterialProdnRsceTool $projection.ProductionResourceType = _MaterialProdnRsceTool.ProductionResourceType and $projection.ProductionResourceInternalID = _MaterialProdnRsceTool.ProductionResourceInternalID
[0..1] I_MiscProdnRsceTool _MiscProdnRsceTool $projection.ProductionResourceType = _MiscProdnRsceTool.ProductionResourceType and $projection.ProductionResourceInternalID = _MiscProdnRsceTool.ProductionResourceInternalID
[0..1] I_MsrgPointProdnRsceTool _MsrgPointProdnRsceTool $projection.ProductionResourceType = _MsrgPointProdnRsceTool.ProductionResourceType and $projection.ProductionResourceInternalID = _MsrgPointProdnRsceTool.ProductionResourceInternalID
[0..1] I_MaintOrdOpProdnRsceToolText _ProdnRsceToolLongText _ProdnRsceToolLongText.MaintenanceOrder = $projection.OrderID and _ProdnRsceToolLongText.MaintenanceOrderOperation = $projection.MaintenanceOrderOperation and _ProdnRsceToolLongText.MaintenanceOrderSubOperation = '' and _ProdnRsceToolLongText.ProdnRsceToolItemNumber = $projection.ProdnRsceToolItemNumber and _ProdnRsceToolLongText.OrderProdnRsceToolInternalID = $projection.OrderProdnRsceToolInternalID and _ProdnRsceToolLongText.Language = $session.system_language

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IORDPRODNRSCTOOL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey OrderProdnRsceToolInternalID view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Order Production Resource Tool view

Fields (92)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalBillOfOperations
KEY OrderProdnRsceToolInternalID affh pzlfh Test equipment
IsDeleted affh loekz Status
CreationDate affh datui Created On
CreatedByUser affh useri Created by
LastChangeDate affh datuc Changed On
LastChangedByUser affh userc Changed By
OrderProdnRsceToolText affh txtz1 Text for PRT
Language affh txtsp Language
OrderID aufv aufnr SettlementOrder
OrderCategory
OrderType aufv auart Sales Doc. Type
Plant aufv werks Receiving Plant
OrderIntBillOfOperationsItem
MRPController aufv dispo MRP Controller
ProductionResourceType affh objty Prj. Obj. Type
ProductionResourceInternalID affh objid Work Center
ProdnRsceToolControlProfile affh steuf PRT Control Profile
ProdnRsceToolItemNumber affh psnfh Item Number
ObjectInternalID affh objnr Val. Obj. No.
BillOfOperationsType affh plnty_key Task List Type
BillOfOperationsGroup affh plnnr_key Group
BOOOperationPRTInternalID affh pzlfh_key PRT Item Count.
BOOOperationPRTIntVersCounter affh zaehl_key Counter
EarliestSchedldUsageStartDate affh fsfhd Earliest Start Date
EarliestSchedldUsageStartTime affh fsfhz Earliest Start Time
EarliestSchedldUsageEndDate affh fefhd Earliest End Date
EarliestSchedldUsageEndTime affh fefhz Earliest End Time
LatestSchedldUsageStartDate affh ssfhd Latest Start Date
LatestSchedldUsageStartTime affh ssfhz Latest Start Time
LatestSchedldUsageEndDate affh sefhd Latest End Date
LatestSchedldUsageEndTime affh sefhz Latest End Time
ActualUsageStartDate affh isfhd Actual Start Date
ActualUsageStartTime affh isfhz Actual Start Time
ActualUsageEndDate affh iefhd Actual End Date
ActualUsageEndTime affh iefhz Actual End Time
ProdnRsceToolUsageDurnUnit affh daueh Usage Duration Unit
ProdnRsceToolUsageDuration affh daufl Usage Duration
ProdnRsceToolStdWorkQtyUnit affh mgeinh Unit
ProdnRsceToolStandardWorkQty affh mgvgw Quantity
PlannedProdnRsceToolQtyUnit
PlannedTotalProdnRsceToolQty affh mgsol Quantity
ConfirmedProdnRsceToolQtyUnit
ConfirmedProdnRsceToolQty affh mgist Actual Quantity
RemainingProdnRsceToolQtyUnit
RemainingProdnRsceToolQty affh mgrst Remaining
ProdnRsceToolUsageQuantityUnit affh eweinh Usage Val. Unit
ProdnRsceToolUsageQuantity affh ewvgw Usage Value
PlndProdnRsceToolUsageQtyUnit
PlannedProdnRsceToolUsageQty affh ewsol Usage Value
ConfdProdnRsceToolUsageQtyUnit
ConfirmedProdnRsceToolUsageQty affh ewist Actual
RmngProdnRsceToolUsageQtyUnit
RemainingProdnRsceToolUsageQty affh ewrst Remaining
ProdnRsceToolTotQtyCalcFormula affh mgform Formula
ProdnRsceToolUsageQtyCalcFmla affh ewform Formula
ProdnRsceToolRegnIsAllowed affh registrable Registrable
IsCloudSystem
MaintenanceOrderOperation
_OrdInternalBillOfOperations _OrdInternalBillOfOperations
_OrderInternalID _OrderInternalID
_Order _Order
_OrderCategory _OrderCategory
_OrderType _OrderType
_OrderOperation _OrderOperation
_Plant _Plant
_ProdnRsceToolControlProfile _ProdnRsceToolControlProfile
_ProductionResourceType _ProductionResourceType
_ProdnRsceToolByInternalKey _ProdnRsceToolByInternalKey
_ProdnRsceToolMasterData _ProdnRsceToolMasterData
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_Language _Language
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsGroup _BillOfOperationsGroup
_ProdnRsceToolUsageDurnUnit _ProdnRsceToolUsageDurnUnit
_ProdnRsceToolStdWorkQtyUnit _ProdnRsceToolStdWorkQtyUnit
_PlannedProdnRsceToolQtyUnit _PlannedProdnRsceToolQtyUnit
_ConfirmedProdnRsceToolQtyUnit _ConfirmedProdnRsceToolQtyUnit
_RemainingProdnRsceToolQtyUnit _RemainingProdnRsceToolQtyUnit
_ProdnRsceToolUsageQtyUnit _ProdnRsceToolUsageQtyUnit
_PlndProdnRsceToolUsageQtyUnit _PlndProdnRsceToolUsageQtyUnit
_ConfdProdnRsceToolUsgeQtyUnit _ConfdProdnRsceToolUsgeQtyUnit
_RmngProdnRsceToolUsageQtyUnit _RmngProdnRsceToolUsageQtyUnit
_StatusObject _StatusObject
_LongText _LongText
_DocumentProdnRsceTool _DocumentProdnRsceTool
_EquipmentProdnRsceTool _EquipmentProdnRsceTool
_MaterialProdnRsceTool _MaterialProdnRsceTool
_MiscProdnRsceTool _MiscProdnRsceTool
_MsrgPointProdnRsceTool _MsrgPointProdnRsceTool
_ProdnRsceToolLongText _ProdnRsceToolLongText

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_OrderProdnResourceTool.
-- 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: IORDPRODNRSCTOOL

CREATE VIEW I_OrderProdnResourceTool AS
SELECT
  cast(affh.aufpl as pph_aufpl preserving type) AS OrderInternalBillOfOperations,
  affh.pzlfh AS OrderProdnRsceToolInternalID,
  affh.loekz AS IsDeleted,
  affh.datui AS CreationDate,
  affh.useri AS CreatedByUser,
  affh.datuc AS LastChangeDate,
  affh.userc AS LastChangedByUser,
  affh.txtz1 AS OrderProdnRsceToolText,
  affh.txtsp AS Language,
  aufv.aufnr AS OrderID,
  cast(aufv.autyp as pph_autyp preserving type) AS OrderCategory,
  aufv.auart AS OrderType,
  aufv.werks AS Plant,
  cast(affh.aplzl as operationinternalid preserving type) AS OrderIntBillOfOperationsItem,
  aufv.dispo AS MRPController,
  affh.objty AS ProductionResourceType,
  affh.objid AS ProductionResourceInternalID,
  affh.steuf AS ProdnRsceToolControlProfile,
  affh.psnfh AS ProdnRsceToolItemNumber,
  affh.objnr AS ObjectInternalID,
  affh.plnty_key AS BillOfOperationsType,
  affh.plnnr_key AS BillOfOperationsGroup,
  affh.pzlfh_key AS BOOOperationPRTInternalID,
  affh.zaehl_key AS BOOOperationPRTIntVersCounter,
  affh.fsfhd AS EarliestSchedldUsageStartDate,
  affh.fsfhz AS EarliestSchedldUsageStartTime,
  affh.fefhd AS EarliestSchedldUsageEndDate,
  affh.fefhz AS EarliestSchedldUsageEndTime,
  affh.ssfhd AS LatestSchedldUsageStartDate,
  affh.ssfhz AS LatestSchedldUsageStartTime,
  affh.sefhd AS LatestSchedldUsageEndDate,
  affh.sefhz AS LatestSchedldUsageEndTime,
  affh.isfhd AS ActualUsageStartDate,
  affh.isfhz AS ActualUsageStartTime,
  affh.iefhd AS ActualUsageEndDate,
  affh.iefhz AS ActualUsageEndTime,
  affh.daueh AS ProdnRsceToolUsageDurnUnit,
  affh.daufl AS ProdnRsceToolUsageDuration,
  affh.mgeinh AS ProdnRsceToolStdWorkQtyUnit,
  affh.mgvgw AS ProdnRsceToolStandardWorkQty,
  cast(affh.mgsoleh as pph_mgsoleh preserving type) AS PlannedProdnRsceToolQtyUnit,
  affh.mgsol AS PlannedTotalProdnRsceToolQty,
  cast(affh.mgisteh as pph_mgisteh preserving type) AS ConfirmedProdnRsceToolQtyUnit,
  affh.mgist AS ConfirmedProdnRsceToolQty,
  cast(affh.mgrsteh as pph_mgrsteh preserving type) AS RemainingProdnRsceToolQtyUnit,
  affh.mgrst AS RemainingProdnRsceToolQty,
  affh.eweinh AS ProdnRsceToolUsageQuantityUnit,
  affh.ewvgw AS ProdnRsceToolUsageQuantity,
  cast(affh.ewsoleh as vdm_ewsoleh preserving type) AS PlndProdnRsceToolUsageQtyUnit,
  affh.ewsol AS PlannedProdnRsceToolUsageQty,
  cast(affh.ewisteh as vdm_ewisteh preserving type) AS ConfdProdnRsceToolUsageQtyUnit,
  affh.ewist AS ConfirmedProdnRsceToolUsageQty,
  cast(affh.ewrsteh as vdm_ewrsteh preserving type) AS RmngProdnRsceToolUsageQtyUnit,
  affh.ewrst AS RemainingProdnRsceToolUsageQty,
  affh.mgform AS ProdnRsceToolTotQtyCalcFormula,
  affh.ewform AS ProdnRsceToolUsageQtyCalcFmla,
  affh.registrable AS ProdnRsceToolRegnIsAllowed,
  cast( '' as char1 ) AS IsCloudSystem,
  cast( _OrderOperation.Operation as maintenanceorderoperation preserving type ) AS MaintenanceOrderOperation
FROM affh
LEFT OUTER JOIN I_OrdInternalBillOfOperations AS _OrdInternalBillOfOperations ON OrderInternalBillOfOperations = _OrdInternalBillOfOperations.OrderInternalBillOfOperations  -- association [1..1]
LEFT OUTER JOIN I_OrderInternalID AS _OrderInternalID ON OrderInternalBillOfOperations = _OrderInternalID.OrderInternalID  -- association [1..1]
LEFT OUTER JOIN I_LogisticsOrder AS _Order ON OrderID = _Order.OrderID  -- association [0..1]
LEFT OUTER JOIN I_OrderCategory AS _OrderCategory ON OrderCategory = _OrderCategory.OrderCategory  -- association [0..1]
LEFT OUTER JOIN I_OrderType AS _OrderType ON OrderType = _OrderType.OrderType  -- association [0..1]
LEFT OUTER JOIN I_OrderOperationBasic AS _OrderOperation ON OrderInternalBillOfOperations = _OrderOperation.OrderInternalID AND OrderIntBillOfOperationsItem = _OrderOperation.OrderOperationInternalID  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProdnRsceToolControlProfile AS _ProdnRsceToolControlProfile ON ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile  -- association [0..1]
LEFT OUTER JOIN I_ProductionResourceType AS _ProductionResourceType ON ProductionResourceType = _ProductionResourceType.ProductionResourceType  -- association [0..1]
LEFT OUTER JOIN I_ProdnRsceToolByInternalKey AS _ProdnRsceToolByInternalKey ON ProductionResourceType = _ProdnRsceToolByInternalKey.ProductionResourceType AND ProductionResourceInternalID = _ProdnRsceToolByInternalKey.ProductionResourceInternalID  -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolMasterData AS _ProdnRsceToolMasterData ON ProductionResourceType = _ProdnRsceToolMasterData.ProductionResourceType AND ProductionResourceInternalID = _ProdnRsceToolMasterData.ProductionResourceInternalID  -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [1..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- 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_UnitOfMeasure AS _ProdnRsceToolUsageDurnUnit ON ProdnRsceToolUsageDurnUnit = _ProdnRsceToolUsageDurnUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ProdnRsceToolStdWorkQtyUnit ON ProdnRsceToolStdWorkQtyUnit = _ProdnRsceToolStdWorkQtyUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PlannedProdnRsceToolQtyUnit ON PlannedProdnRsceToolQtyUnit = _PlannedProdnRsceToolQtyUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ConfirmedProdnRsceToolQtyUnit ON ConfirmedProdnRsceToolQtyUnit = _ConfirmedProdnRsceToolQtyUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _RemainingProdnRsceToolQtyUnit ON RemainingProdnRsceToolQtyUnit = _RemainingProdnRsceToolQtyUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ProdnRsceToolUsageQtyUnit ON ProdnRsceToolUsageQuantityUnit = _ProdnRsceToolUsageQtyUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PlndProdnRsceToolUsageQtyUnit ON PlndProdnRsceToolUsageQtyUnit = _PlndProdnRsceToolUsageQtyUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ConfdProdnRsceToolUsgeQtyUnit ON ConfdProdnRsceToolUsageQtyUnit = _ConfdProdnRsceToolUsgeQtyUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _RmngProdnRsceToolUsageQtyUnit ON RmngProdnRsceToolUsageQtyUnit = _RmngProdnRsceToolUsageQtyUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_StatusObject AS _StatusObject ON ObjectInternalID = _StatusObject.StatusObject  -- association [1..1]
LEFT OUTER JOIN I_OrderOperationPRTLongText AS _LongText ON OrderInternalBillOfOperations = _LongText.OrderInternalID AND OrderProdnRsceToolInternalID = _LongText.OrderProdnRsceToolInternalID AND Language = _LongText.LongTextLanguage  -- association [0..1]
LEFT OUTER JOIN I_DocumentProdnRsceTool AS _DocumentProdnRsceTool ON ProductionResourceType = _DocumentProdnRsceTool.ProductionResourceType AND ProductionResourceInternalID = _DocumentProdnRsceTool.ProductionResourceInternalID  -- association [0..1]
LEFT OUTER JOIN I_EquipmentProdnRsceTool AS _EquipmentProdnRsceTool ON ProductionResourceType = _EquipmentProdnRsceTool.ProductionResourceType AND ProductionResourceInternalID = _EquipmentProdnRsceTool.ProductionResourceInternalID  -- association [0..1]
LEFT OUTER JOIN I_MaterialProdnRsceTool AS _MaterialProdnRsceTool ON ProductionResourceType = _MaterialProdnRsceTool.ProductionResourceType AND ProductionResourceInternalID = _MaterialProdnRsceTool.ProductionResourceInternalID  -- association [0..1]
LEFT OUTER JOIN I_MiscProdnRsceTool AS _MiscProdnRsceTool ON ProductionResourceType = _MiscProdnRsceTool.ProductionResourceType AND ProductionResourceInternalID = _MiscProdnRsceTool.ProductionResourceInternalID  -- association [0..1]
LEFT OUTER JOIN I_MsrgPointProdnRsceTool AS _MsrgPointProdnRsceTool ON ProductionResourceType = _MsrgPointProdnRsceTool.ProductionResourceType AND ProductionResourceInternalID = _MsrgPointProdnRsceTool.ProductionResourceInternalID  -- association [0..1]
LEFT OUTER JOIN I_MaintOrdOpProdnRsceToolText AS _ProdnRsceToolLongText ON _ProdnRsceToolLongText.MaintenanceOrder = OrderID AND _ProdnRsceToolLongText.MaintenanceOrderOperation = MaintenanceOrderOperation AND _ProdnRsceToolLongText.MaintenanceOrderSubOperation = '' AND _ProdnRsceToolLongText.ProdnRsceToolItemNumber = ProdnRsceToolItemNumber AND _ProdnRsceToolLongText.OrderProdnRsceToolInternalID = OrderProdnRsceToolInternalID AND _ProdnRsceToolLongText.Language = $session.system_language  -- association [0..1]
;