Using connect pror query below
how would you get the QTY_PRE_ASSEMBLEY multiplying as it goes down each level?
OR
Convert this EQUATE_THIS coloum I have into as resule i.e *1*8*.022222 becomes 0.16
help
Select
PS.PART_NO As parent_part,
PS.COMPONENT_PART As child_part,
Level,
PS.LINE_ITEM_NO,
Sys_Connect_By_Path(PS.COMPONENT_PART, '\') As STRUCTURE_PATH,
CONNECT_BY_ISLEAF,
Case When PS.QTY_PER_ASSEMBLY < 0 Then 'BY-PRODUCT' Else 'COMPONENTS'
End As TYPE,
PS.QTY_PER_ASSEMBLY As QTY_PER_ASSEMBLY1,
Sys_Connect_By_Path(PS.QTY_PER_ASSEMBLY, '*') As EQUATE_THIS
From
PROD_STRUCTURE_HEAD PSH Inner Join
PART_REVISION PR On PR.CONTRACT = PSH.CONTRACT And PR.PART_NO = PSH.PART_NO
And PR.ENG_CHG_LEVEL = PSH.ENG_CHG_LEVEL Inner Join
PROD_STRUCT_ALTERNATE PSA On PSA.CONTRACT = PSH.CONTRACT And
PSA.PART_NO = PSH.PART_NO And PSA.ENG_CHG_LEVEL = PSH.ENG_CHG_LEVEL And
PSA.BOM_TYPE_DB = PSH.BOM_TYPE_DB And PSA.ALTERNATIVE_NO = '*' Inner Join
PROD_STRUCTURE PS On PS.CONTRACT = PSA.CONTRACT And PS.PART_NO = PSA.PART_NO
And PS.ENG_CHG_LEVEL = PSA.ENG_CHG_LEVEL And PS.BOM_TYPE_DB =
PSA.BOM_TYPE_DB And PS.ALTERNATIVE_NO = PSA.ALTERNATIVE_NO
Where
PSH.EFF_PHASE_OUT_DATE Is Null And
PSH.BOM_TYPE_DB = 'M' And
PR.PART_REVISION_STATUS_DB = 'N'
Start With
PS.CONTRACT = 'SSMD' And
PS.PART_NO = 'H-DCR-TX-4X10-IP33-7035'
Connect By
Prior PS.COMPONENT_PART = PS.PART_NO And
Prior PS.CONTRACT = PS.CONTRACT
Order By
Level,
PS.LINE_ITEM_NO