Advertisement
Advertisement
| 04.12.2008 at 08:46AM PDT, ID: 23317458 |
|
[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: |
l_1tabs VARCHAR2(10):=chr(9);
l_2tabs VARCHAR2(10):=chr(9)||chr(9);
l_3tabs VARCHAR2(10):=chr(9)||chr(9)||chr(9);
l_4tabs VARCHAR2(10):=chr(9)||chr(9)||chr(9)||chr(9);
....
FOR c1 in (SELECT NVL(to_char(to_date(O.CNTNR_RTN_DT,'DD-MON-YY'),
'MM-DD-YYYY'), 'No Return') ReturnDate,
l_1tabs||QNTY_ORDERED||l_2tabs||NVL(QNTY_SHIPPED,0)||l_2tabs||
F_GET_CNTNRS_LIST(O.ID,'N')||
(case when length(F_GET_CNTNRS_LIST(O.ID,'N'))<6 OR
length(F_GET_CNTNRS_LIST(O.ID,'N')) is null then l_3tabs
when length(F_GET_CNTNRS_LIST(O.ID,'N'))<14 then l_2tabs else l_1tabs end)||
F_GET_CNTNRS_LIST(O.ID,'Y')||(case when length(F_GET_CNTNRS_LIST(O.ID,'Y'))<6 OR length(F_GET_CNTNRS_LIST(O.ID,'Y')) is null then l_3tabs when length(F_GET_CNTNRS_LIST(O.ID,'Y'))<14 then l_2tabs else l_1tabs end)||
PROD.PROD_NAME
ProdLine,
X.RETURNED_FLG, NVL(QNTY_ORDERED,0) - NVL(QNTY_SHIPPED,0) DIFF
from "LS_PRODUCTS" PROD, LS_ORDER_ITEM O, LS_ITEM_CONTAINER_XREF X
WHERE PROD.ID1 = O.PROD_ID AND O.ID = X.ITEM_ID(+)
AND O.ORDER_ID = pOrderNbr
order by QNTY_ORDERED ) LOOP
|