BF [ 2830154 ] currencyConvert(ORA) is not fetching the right ConversionType

https://sourceforge.net/tracker/?func=detail&aid=2830154&group_id=176962&atid=879332
This commit is contained in:
teo_sarca 2009-07-31 07:29:31 +00:00
parent 323e667a45
commit c27e82b821
3 changed files with 11 additions and 6 deletions

View File

@ -58,11 +58,14 @@ BEGIN
BEGIN BEGIN
SELECT C_ConversionType_ID SELECT C_ConversionType_ID
INTO v_ConversionType_ID INTO v_ConversionType_ID
FROM (
SELECT C_ConversionType_ID
FROM C_ConversionType FROM C_ConversionType
WHERE IsDefault='Y' WHERE IsDefault='Y'
AND AD_Client_ID IN (0,p_Client_ID) AND AD_Client_ID IN (0,p_Client_ID)
AND ROWNUM=1 ORDER BY AD_Client_ID DESC
ORDER BY AD_Client_ID DESC; )
WHERE ROWNUM=1;
EXCEPTION WHEN OTHERS THEN EXCEPTION WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('Conversion Type Not Found'); DBMS_OUTPUT.PUT_LINE('Conversion Type Not Found');
END; END;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
-- Nothing to do for postgresql