I_OIL_LocationMaterialBasic

DDL: I_OIL_LOCATIONMATERIALBASIC Type: view_entity BASIC

Loc Rundown and Planning Material

I_OIL_LocationMaterialBasic is a Basic CDS View that provides data about "Loc Rundown and Planning Material" in SAP S/4HANA. It reads from 1 data source (oijlocmat) and exposes 130 fields with key fields TSWLocationID, Material. It has 32 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oijlocmat oijlocmat from

Associations (32)

CardinalityTargetAliasCondition
[0..1] I_OIL_LocationTSWBasic _TSWLocation _TSWLocation.TSWLocationID = $projection.TSWLocationID
[0..1] I_OIL_LocationTSWBasic _PlnSourceTSWLocation _PlnSourceTSWLocation.TSWLocationID = $projection.PlanningSourceLocation
[0..1] I_Material _Material _Material.Material = $projection.Material
[0..1] I_Plant _Plant _Plant.Plant = $projection.BusinessLocationPlant
[0..1] I_UnitOfMeasure _UnitOfMeasure _UnitOfMeasure.UnitOfMeasure = $projection.PhysicalStockQuantityUnit
[0..1] I_UnitOfMeasure _PlaningPeriodUnitOfMeasure _PlaningPeriodUnitOfMeasure.UnitOfMeasure = $projection.SftyStkPlngPerdUoM
[0..1] I_UnitOfMeasure _PlaningUnitOfMeasure _PlaningUnitOfMeasure.UnitOfMeasure = $projection.SafetyStockPlanningUnit
[0..1] I_UnitOfMeasure _CyclePeriodUnitOfMeasure _CyclePeriodUnitOfMeasure.UnitOfMeasure = $projection.SftyStkCycPerdUoM
[0..1] I_UnitOfMeasure _InventoryUnitOfMeasure _InventoryUnitOfMeasure.UnitOfMeasure = $projection.SftyStkPlngInvtryUoM
[0..1] I_UnitOfMeasure _OffsetPeriodUnitOfMeasure _OffsetPeriodUnitOfMeasure.UnitOfMeasure = $projection.PlngSrceOffstPerdUoM
[0..1] I_UnitOfMeasure _LocBalancingUnitOfMeasure _LocBalancingUnitOfMeasure.UnitOfMeasure = $projection.LocationBalancingUnitOfMeasure
[0..1] I_FactoryCalendar _FactoryCalendar _FactoryCalendar.FactoryCalendar = $projection.SafetyStockFactoryCalendar
[0..1] I_FactoryCalendar _StockFactoryCalendar _StockFactoryCalendar.FactoryCalendar = $projection.StkProjtnRackFcstCal
[0..1] I_ProductionVersion _ProductionVersion _ProductionVersion.Material = $projection.Material and _ProductionVersion.Plant = $projection.BusinessLocationPlant and _ProductionVersion.ProductionVersion = $projection.ProductionVersion
[0..1] I_BOMVariantUsage _BOMVariantUsage _BOMVariantUsage.BillOfMaterialVariantUsage = $projection.LocPlngIsBillOfMatlUse
[0..1] I_Material _BOMMaterial _BOMMaterial.Material = $projection.OIL_BillOfMaterial
[0..1] I_NominationScheduleTypeVH _NominationScheduleType _NominationScheduleType.ScheduleType = $projection.DefaultScheduleType
[0..1] I_OIL_PhysInvtryUpdateTypeVH _PhysInvtryUpdateType _PhysInvtryUpdateType.InventorySourceType = $projection.InventorySourceType
[0..1] I_OIL_NominationCnsmpnPerdVH _NominationCnsmpnPerd _NominationCnsmpnPerd.ProfileForBulkForecast = $projection.ProfileForBulkForecast
[0..1] I_OIL_RackIssueForecastPrflVH _RackIssueForecastPrfl _RackIssueForecastPrfl.StkProjtnRackFcstPrfl = $projection.StkProjtnRackFcstPrfl
[0..1] I_OIL_SafetyStockCalProfileVH _SafetyStockCalProfile _SafetyStockCalProfile.SafetyStockCalendarProfile = $projection.SafetyStockCalendarProfile
[0..1] I_OIL_SftyStkCvrgPerdPrflVH _SftyStkCvrgPerdPrfl _SftyStkCvrgPerdPrfl.SafetyStockCoverageProfile = $projection.SafetyStockCoverageProfile
[0..*] I_OIL_SftyStkCalcTypeVH _SftyStkCalcType _SftyStkCalcType.SafetyStockCalculationType = $projection.SafetyStockCalculationType
[0..1] I_OIL_TgtStkCalcTypeVH _TgtStkCalcType _TgtStkCalcType.TargetStockCalculationType = $projection.TargetStockCalculationType
[0..1] I_OIL_PhysicalInvtryFcstTypeVH _PhysicalInvtryFcstType _PhysicalInvtryFcstType.PhysicalInventoryForecastType = $projection.PhysicalInventoryForecastType
[0..1] I_OIL_PhysInvtryPlngTypeVH _PhysInvtryPlngType _PhysInvtryPlngType.PhysicalInventoryPlanningType = $projection.PhysicalInventoryPlanningType
[0..1] I_OIL_PlanningCalendarUsageVH _PlanningCalendarUsage _PlanningCalendarUsage.CalendarUseActiveCode = $projection.CalendarUseActiveCode
[0..1] I_OIL_ProdnPlngTypeVH _ProdnPlngType _ProdnPlngType.ProductionPlanningType = $projection.ProductionPlanningType
[0..1] I_OIL_RefDocIndicatorVH _RefDocIndicator _RefDocIndicator.ReferenceDocumentCode = $projection.ReferenceDocumentCode
[0..1] I_OIL_TransportSystem _TransportSystem _TransportSystem.TransportSystem = $projection.SftyStkPlngTransptSyst
[0..1] I_OIL_TransportSystem _SourceTransportSystem _SourceTransportSystem.TransportSystem = $projection.PlanningSourceTransportSystem
[1..1] I_OIL_ProdRqmtsCnsmpnModeVH _ProdRqmtsCnsmpnMode _ProdRqmtsCnsmpnMode.ProdRqmtsConsumptionMode = $projection.ProdRqmtsConsumptionMode

Annotations (9)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Loc Rundown and Planning Material view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey Material view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (130)

KeyFieldSource TableSource FieldDescription
KEY TSWLocationID locid Single-Character Flag
KEY Material pmatnr Product
BusinessLocationName locname Location name
MaterialName pmatname Description
BusinessLocationPlant pwerk Planning Plant
Batch charg Chargeable Proc.
PhysicalStockQuantityUnit rduom Stock Proj. UoM
PhysicalStockConversionFactor rdconv Conversion fac.
PhysicalStockRollingPeriod period Tax Period
PhysicalStockNumberOfPastDays past Days in past
ToleranceUnderRate tolpct Under %
PhysStkAbsltQtyTolUndrQty tolabs Abs.tol.Q under
PhysicalStockSafetyPastDays pastdata SftySt pstDays
EntityHasPhysInvtryInpt phy_inv_flg Phys.inv.input
PhysInvtryAtLocExtSrcQty phy_inv Physical inv.
PhysInvtryUpdtDte phy_date Phys. Inv. Date
PhysInvtryHistHrznForFcst fcpast Hist.HorizonFc
PhysInvtryNrOfDaysFcstCalc fcoffset Offset days
PhysInventoryUpdateDateValue phytms Physical Timestamp
InventorySourceType srctype Phys.Inv.Source
PhysInvtryHrznForFcstThrput fchoriz Rack Iss FC
VaporPressureValue rvp Single-Character Flag
PhysicalInventoryPlanningType pltyp Price List Tp.
CalendarUseActiveCode calflg Calendar ind.
PhysInventoryPlanningCalendar plcal Plan.calendar
SftyStkCvrgPerdQty cover Safety cover.
SftyStkPlngHrznQty plhoz Plan.horizon
SftyStkPlngPerdUoM datuom Plan period UoM
SftyStkPlngTransptSyst ptsyst Trans system
SafetyStockPlanningUnit pluom Plan UoM
SftyStkPlngCycPerdQty cycle Single-Character Flag
SftyStkCycPerdUoM cycuom Cycle UoM
PlngMaxBatSizeQty maxlot Max batch size
PlngMinBatSizeQty minlot Min batch size
PlngIncrmtlBatSizeQty inclot Increment
SftyStkPlngInvtryUoM invuom Inventory UoM
PlngMaxInvtryLvlQty maxinv Max inventory
PlngTgtInvtryLvlQty target TargetSys
PlngReordPtInvtryLvlQty reorder Reorder point
PlngSftyInvtryLvlQty safety Safety level
BlockedInventoryQuantity unpump Unpumpable
PlngMinInvtryLvlQty mininv Min.inventory
PlanningSourceTransportSystem stsyst Source TS
PlanningSourceLocation slocid Source location
PlanningSourcePartner spart Source supplier
PlngSrcePrtnObjType spobj Partner type
PlngSrceOffstPerdQty offper Offset period
PlngSrceOffstPerdUoM offuom Offset per.UoM
EntityHasNoPlanningSource radionosrc Radio button
TransportSystemIsSourcing radiotssrc Radio button
LocationIsSourcing radiolocsc Radio button
EntityPlanDetail planampel Plan details
EntityPlanningIsRun planflag Plan.run.flag
EntityIsSrcObjectPlanningRun scflag Source flag
SafetyStockServiceLevelValue service Service Type
SafetyStockCoverageProfile covprof Sfty.cov.prof.
SafetyStockCalendarProfile calprof Safety cal.prf
SafetyStockFactoryCalendar factory Factory method
SafetyStockCalculationType sfttype Safety stock type
SafetyStockHistoryHorizonValue histhoz Hist.horzn.
TargetStockServiceLevelValue tservice Service level
TargetStockCoverageProfile tcovprof Tgt.cov.prof.
TargetStockCalendarProfile tcalprof Target cal.prf
TgtStkCalcFctryCal tfactory Factory cal.
TargetStockCalculationType tgttype Target Type
TargetStockHistoryHorizonValue thisthoz Hist.horzn.
StkProjtnRackFcstCal fccal Factory cal.
StkProjtnRackFcstPrfl fcprf Rack fc profile
EntityIsUpdatedByTankInterface tankupd Tank Inf Flag
PreferredSafetyLevelQuantity sftlvl PrefSafetyLvl
PreferredHeadroomLevelQuantity hrlvl Prefered Hdroom Lvl
SafetyStockCalculationIsActive sfttdind Time dep. Sf
EntityIsCalctTmeDepdntTgtStk tgttdind Time dep. Tg
ProductionPlanningType pptyp PP type
EntityIsSuppressedStkBalcngQts balance Sup SP balance
ProductionVersionIsActive pvflag PV active
ProductionVersion verid Version ID
ProdnVersValidityEndDate todat To Date
ProdnVersValidityStartDate fromdat From date
OIL_AlternativeBillOfMaterial bomalt Alternative BOM
LocPlngIsBillOfMatlUse bomuse BOM use
OIL_BillOfMaterial bommat BOM matnr
CreationDate erdat Entered On
CreationTime erzeit Time created
CreatedByUser ernam User Name
LastChangeDate aedat Obsolete
LastChangeTime aezeit Time changed
LastChangedByUser aenam User Name
EntityIsBlocked bloind Single-Character Flag
EntityIsMarkedForDeletion delind Will be Deleted
TicketIsSelectable tktselect Flag to Select Tkt
EntityHasTimeDependentData tcons Time Dep. Ind.
AutomaticallyIsConfirmed autoconfirm Autoconfirm
ProdRqmtsConsumptionMode vrmod Consmption mode
BackwardCnsmpnPeriodInWorkDays vint1 Bwd cons. per.
FwdConsumptionPeriodInWorkDays vint2 Fwd cons.period
DefaultScheduleType defsityp Def. sched. type
ReferenceDocumentCode defdocind Ref.Doc.Ind.
LocationBalancingUnitOfMeasure lbuom Loc. Bal. UOM
_TSWLocation _TSWLocation
_Material _Material
_Plant _Plant
_UnitOfMeasure _UnitOfMeasure
_PlaningPeriodUnitOfMeasure _PlaningPeriodUnitOfMeasure
_PlaningUnitOfMeasure _PlaningUnitOfMeasure
_CyclePeriodUnitOfMeasure _CyclePeriodUnitOfMeasure
_InventoryUnitOfMeasure _InventoryUnitOfMeasure
_OffsetPeriodUnitOfMeasure _OffsetPeriodUnitOfMeasure
_FactoryCalendar _FactoryCalendar
_StockFactoryCalendar _StockFactoryCalendar
_ProductionVersion _ProductionVersion
_BOMVariantUsage _BOMVariantUsage
_BOMMaterial _BOMMaterial
_NominationScheduleType _NominationScheduleType
_PhysInvtryUpdateType _PhysInvtryUpdateType
_NominationCnsmpnPerd _NominationCnsmpnPerd
_SafetyStockCalProfile _SafetyStockCalProfile
_SftyStkCvrgPerdPrfl _SftyStkCvrgPerdPrfl
_PlnSourceTSWLocation _PlnSourceTSWLocation
_SftyStkCalcType _SftyStkCalcType
_TgtStkCalcType _TgtStkCalcType
_PhysicalInvtryFcstType _PhysicalInvtryFcstType
_PhysInvtryPlngType _PhysInvtryPlngType
_PlanningCalendarUsage _PlanningCalendarUsage
_ProdnPlngType _ProdnPlngType
_RefDocIndicator _RefDocIndicator
_SourceTransportSystem _SourceTransportSystem
_TransportSystem _TransportSystem
_LocBalancingUnitOfMeasure _LocBalancingUnitOfMeasure
_ProdRqmtsCnsmpnMode _ProdRqmtsCnsmpnMode

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_OIL_LocationMaterialBasic.
-- 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.

CREATE VIEW I_OIL_LocationMaterialBasic AS
SELECT
  locid AS TSWLocationID,
  pmatnr AS Material,
  locname AS BusinessLocationName,
  pmatname AS MaterialName,
  pwerk AS BusinessLocationPlant,
  charg AS Batch,
  rduom AS PhysicalStockQuantityUnit,
  rdconv AS PhysicalStockConversionFactor,
  period AS PhysicalStockRollingPeriod,
  past AS PhysicalStockNumberOfPastDays,
  tolpct AS ToleranceUnderRate,
  tolabs AS PhysStkAbsltQtyTolUndrQty,
  pastdata AS PhysicalStockSafetyPastDays,
  phy_inv_flg AS EntityHasPhysInvtryInpt,
  phy_inv AS PhysInvtryAtLocExtSrcQty,
  phy_date AS PhysInvtryUpdtDte,
  fcpast AS PhysInvtryHistHrznForFcst,
  fcoffset AS PhysInvtryNrOfDaysFcstCalc,
  phytms AS PhysInventoryUpdateDateValue,
  srctype AS InventorySourceType,
  fchoriz AS PhysInvtryHrznForFcstThrput,
  rvp AS VaporPressureValue,
  pltyp AS PhysicalInventoryPlanningType,
  calflg AS CalendarUseActiveCode,
  plcal AS PhysInventoryPlanningCalendar,
  cover AS SftyStkCvrgPerdQty,
  plhoz AS SftyStkPlngHrznQty,
  datuom AS SftyStkPlngPerdUoM,
  ptsyst AS SftyStkPlngTransptSyst,
  pluom AS SafetyStockPlanningUnit,
  cycle AS SftyStkPlngCycPerdQty,
  cycuom AS SftyStkCycPerdUoM,
  maxlot AS PlngMaxBatSizeQty,
  minlot AS PlngMinBatSizeQty,
  inclot AS PlngIncrmtlBatSizeQty,
  invuom AS SftyStkPlngInvtryUoM,
  maxinv AS PlngMaxInvtryLvlQty,
  target AS PlngTgtInvtryLvlQty,
  reorder AS PlngReordPtInvtryLvlQty,
  safety AS PlngSftyInvtryLvlQty,
  unpump AS BlockedInventoryQuantity,
  mininv AS PlngMinInvtryLvlQty,
  stsyst AS PlanningSourceTransportSystem,
  slocid AS PlanningSourceLocation,
  spart AS PlanningSourcePartner,
  spobj AS PlngSrcePrtnObjType,
  offper AS PlngSrceOffstPerdQty,
  offuom AS PlngSrceOffstPerdUoM,
  radionosrc AS EntityHasNoPlanningSource,
  radiotssrc AS TransportSystemIsSourcing,
  radiolocsc AS LocationIsSourcing,
  planampel AS EntityPlanDetail,
  planflag AS EntityPlanningIsRun,
  scflag AS EntityIsSrcObjectPlanningRun,
  service AS SafetyStockServiceLevelValue,
  covprof AS SafetyStockCoverageProfile,
  calprof AS SafetyStockCalendarProfile,
  factory AS SafetyStockFactoryCalendar,
  sfttype AS SafetyStockCalculationType,
  histhoz AS SafetyStockHistoryHorizonValue,
  tservice AS TargetStockServiceLevelValue,
  tcovprof AS TargetStockCoverageProfile,
  tcalprof AS TargetStockCalendarProfile,
  tfactory AS TgtStkCalcFctryCal,
  tgttype AS TargetStockCalculationType,
  thisthoz AS TargetStockHistoryHorizonValue,
  fccal AS StkProjtnRackFcstCal,
  fcprf AS StkProjtnRackFcstPrfl,
  tankupd AS EntityIsUpdatedByTankInterface,
  sftlvl AS PreferredSafetyLevelQuantity,
  hrlvl AS PreferredHeadroomLevelQuantity,
  sfttdind AS SafetyStockCalculationIsActive,
  tgttdind AS EntityIsCalctTmeDepdntTgtStk,
  pptyp AS ProductionPlanningType,
  balance AS EntityIsSuppressedStkBalcngQts,
  pvflag AS ProductionVersionIsActive,
  verid AS ProductionVersion,
  todat AS ProdnVersValidityEndDate,
  fromdat AS ProdnVersValidityStartDate,
  bomalt AS OIL_AlternativeBillOfMaterial,
  bomuse AS LocPlngIsBillOfMatlUse,
  bommat AS OIL_BillOfMaterial,
  erdat AS CreationDate,
  erzeit AS CreationTime,
  ernam AS CreatedByUser,
  aedat AS LastChangeDate,
  aezeit AS LastChangeTime,
  aenam AS LastChangedByUser,
  bloind AS EntityIsBlocked,
  delind AS EntityIsMarkedForDeletion,
  tktselect AS TicketIsSelectable,
  tcons AS EntityHasTimeDependentData,
  autoconfirm AS AutomaticallyIsConfirmed,
  vrmod AS ProdRqmtsConsumptionMode,
  vint1 AS BackwardCnsmpnPeriodInWorkDays,
  vint2 AS FwdConsumptionPeriodInWorkDays,
  defsityp AS DefaultScheduleType,
  defdocind AS ReferenceDocumentCode,
  lbuom AS LocationBalancingUnitOfMeasure
FROM oijlocmat
LEFT OUTER JOIN I_OIL_LocationTSWBasic AS _TSWLocation ON _TSWLocation.TSWLocationID = TSWLocationID  -- association [0..1]
LEFT OUTER JOIN I_OIL_LocationTSWBasic AS _PlnSourceTSWLocation ON _PlnSourceTSWLocation.TSWLocationID = PlanningSourceLocation  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON _Material.Material = Material  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON _Plant.Plant = BusinessLocationPlant  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = PhysicalStockQuantityUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PlaningPeriodUnitOfMeasure ON _PlaningPeriodUnitOfMeasure.UnitOfMeasure = SftyStkPlngPerdUoM  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PlaningUnitOfMeasure ON _PlaningUnitOfMeasure.UnitOfMeasure = SafetyStockPlanningUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _CyclePeriodUnitOfMeasure ON _CyclePeriodUnitOfMeasure.UnitOfMeasure = SftyStkCycPerdUoM  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _InventoryUnitOfMeasure ON _InventoryUnitOfMeasure.UnitOfMeasure = SftyStkPlngInvtryUoM  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _OffsetPeriodUnitOfMeasure ON _OffsetPeriodUnitOfMeasure.UnitOfMeasure = PlngSrceOffstPerdUoM  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _LocBalancingUnitOfMeasure ON _LocBalancingUnitOfMeasure.UnitOfMeasure = LocationBalancingUnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_FactoryCalendar AS _FactoryCalendar ON _FactoryCalendar.FactoryCalendar = SafetyStockFactoryCalendar  -- association [0..1]
LEFT OUTER JOIN I_FactoryCalendar AS _StockFactoryCalendar ON _StockFactoryCalendar.FactoryCalendar = StkProjtnRackFcstCal  -- association [0..1]
LEFT OUTER JOIN I_ProductionVersion AS _ProductionVersion ON _ProductionVersion.Material = Material AND _ProductionVersion.Plant = BusinessLocationPlant AND _ProductionVersion.ProductionVersion = ProductionVersion  -- association [0..1]
LEFT OUTER JOIN I_BOMVariantUsage AS _BOMVariantUsage ON _BOMVariantUsage.BillOfMaterialVariantUsage = LocPlngIsBillOfMatlUse  -- association [0..1]
LEFT OUTER JOIN I_Material AS _BOMMaterial ON _BOMMaterial.Material = OIL_BillOfMaterial  -- association [0..1]
LEFT OUTER JOIN I_NominationScheduleTypeVH AS _NominationScheduleType ON _NominationScheduleType.ScheduleType = DefaultScheduleType  -- association [0..1]
LEFT OUTER JOIN I_OIL_PhysInvtryUpdateTypeVH AS _PhysInvtryUpdateType ON _PhysInvtryUpdateType.InventorySourceType = InventorySourceType  -- association [0..1]
LEFT OUTER JOIN I_OIL_NominationCnsmpnPerdVH AS _NominationCnsmpnPerd ON _NominationCnsmpnPerd.ProfileForBulkForecast = ProfileForBulkForecast  -- association [0..1]
LEFT OUTER JOIN I_OIL_RackIssueForecastPrflVH AS _RackIssueForecastPrfl ON _RackIssueForecastPrfl.StkProjtnRackFcstPrfl = StkProjtnRackFcstPrfl  -- association [0..1]
LEFT OUTER JOIN I_OIL_SafetyStockCalProfileVH AS _SafetyStockCalProfile ON _SafetyStockCalProfile.SafetyStockCalendarProfile = SafetyStockCalendarProfile  -- association [0..1]
LEFT OUTER JOIN I_OIL_SftyStkCvrgPerdPrflVH AS _SftyStkCvrgPerdPrfl ON _SftyStkCvrgPerdPrfl.SafetyStockCoverageProfile = SafetyStockCoverageProfile  -- association [0..1]
LEFT OUTER JOIN I_OIL_SftyStkCalcTypeVH AS _SftyStkCalcType ON _SftyStkCalcType.SafetyStockCalculationType = SafetyStockCalculationType  -- association [0..*]
LEFT OUTER JOIN I_OIL_TgtStkCalcTypeVH AS _TgtStkCalcType ON _TgtStkCalcType.TargetStockCalculationType = TargetStockCalculationType  -- association [0..1]
LEFT OUTER JOIN I_OIL_PhysicalInvtryFcstTypeVH AS _PhysicalInvtryFcstType ON _PhysicalInvtryFcstType.PhysicalInventoryForecastType = PhysicalInventoryForecastType  -- association [0..1]
LEFT OUTER JOIN I_OIL_PhysInvtryPlngTypeVH AS _PhysInvtryPlngType ON _PhysInvtryPlngType.PhysicalInventoryPlanningType = PhysicalInventoryPlanningType  -- association [0..1]
LEFT OUTER JOIN I_OIL_PlanningCalendarUsageVH AS _PlanningCalendarUsage ON _PlanningCalendarUsage.CalendarUseActiveCode = CalendarUseActiveCode  -- association [0..1]
LEFT OUTER JOIN I_OIL_ProdnPlngTypeVH AS _ProdnPlngType ON _ProdnPlngType.ProductionPlanningType = ProductionPlanningType  -- association [0..1]
LEFT OUTER JOIN I_OIL_RefDocIndicatorVH AS _RefDocIndicator ON _RefDocIndicator.ReferenceDocumentCode = ReferenceDocumentCode  -- association [0..1]
LEFT OUTER JOIN I_OIL_TransportSystem AS _TransportSystem ON _TransportSystem.TransportSystem = SftyStkPlngTransptSyst  -- association [0..1]
LEFT OUTER JOIN I_OIL_TransportSystem AS _SourceTransportSystem ON _SourceTransportSystem.TransportSystem = PlanningSourceTransportSystem  -- association [0..1]
LEFT OUTER JOIN I_OIL_ProdRqmtsCnsmpnModeVH AS _ProdRqmtsCnsmpnMode ON _ProdRqmtsCnsmpnMode.ProdRqmtsConsumptionMode = ProdRqmtsConsumptionMode  -- association [1..1]
;