Advertisement
Advertisement
| 07.07.2008 at 05:53AM PDT, ID: 23543132 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: |
SELECT b.branch_code ,
'Q SEASON',
'TOTAL_FREE_UNITS'= SUM(PH.stock_units_free+PH.stock_units_Qc+PH.stock_units_IT+ph.stock_units_dmg),
'TOTAL_SP_VALUE' = SUM(PH.STOCK_SPVALUE_FREE+PH.STOCK_SPVALUE_QC+PH.STOCK_SPVALUE_IT+ph.stock_spvalue_dmg),
'TOTAL_CP_VALUE' = SUM(PH.STOCK_CPVALUE_FREE+PH.STOCK_CPVALUE_QC+PH.STOCK_CPVALUE_IT+ph.stock_cpvalue_dmg)
FROM PRODUCT_HISTORY ph, anal_level al,product_master pm ,branch b
WHERE ph.WEEK_SELECTOR = 1200123
and ph.product_id = pm.prod_id
and al.j_code = pm.j_code_link
and al.level_no = 4
and b.branch_id = ph.branch_id
and al.level1_desc in ('A/W 2008')
group by b.branch_code
union all
SELECT b.branch_code ,
'R SEASON',
'TOTAL_FREE_UNITS'= SUM(PH.stock_units_free+PH.stock_units_Qc+PH.stock_units_IT+ph.stock_units_dmg),
'TOTAL_SP_VALUE' = SUM(PH.STOCK_SPVALUE_FREE+PH.STOCK_SPVALUE_QC+PH.STOCK_SPVALUE_IT+ph.stock_spvalue_dmg),
'TOTAL_CP_VALUE' = SUM(PH.STOCK_CPVALUE_FREE+PH.STOCK_CPVALUE_QC+PH.STOCK_CPVALUE_IT+ph.stock_cpvalue_dmg)
FROM PRODUCT_HISTORY ph, anal_level al,product_master pm ,branch b
WHERE ph.WEEK_SELECTOR = 1200123
and ph.product_id = pm.prod_id
and al.j_code = pm.j_code_link
and al.level_no = 4
and b.branch_id = ph.branch_id
and al.level1_desc in ('S/S 2008')
group by b.branch_code
union all
SELECT b.branch_code ,
'ALL SEASON',
'TOTAL_FREE_UNITS'= SUM(PH.stock_units_free+PH.stock_units_Qc+PH.stock_units_IT+ph.stock_units_dmg),
'TOTAL_SP_VALUE' = SUM(PH.STOCK_SPVALUE_FREE+PH.STOCK_SPVALUE_QC+PH.STOCK_SPVALUE_IT+ph.stock_spvalue_dmg),
'TOTAL_CP_VALUE' = SUM(PH.STOCK_CPVALUE_FREE+PH.STOCK_CPVALUE_QC+PH.STOCK_CPVALUE_IT+ph.stock_cpvalue_dmg)
FROM PRODUCT_HISTORY ph, anal_level al,product_master pm ,branch b
WHERE ph.WEEK_SELECTOR = 1200123
and ph.product_id = pm.prod_id
and al.j_code = pm.j_code_link
and al.level_no = 4
and b.branch_id = ph.branch_id
and al.level1_desc not in ('S/S 2008','A/W 2008')
group by b.branch_code
|