whats wrong with the formula colomn [message #273423] |
Wed, 10 October 2007 07:19 |
we_jai@hotmail.com
Messages: 9 Registered: October 2007 Location: hyderabad ,india
|
Junior Member |
|
|
HI MEMBERS,
I AM FACING AN ERROR WITH FORMULA COLUMN,PLZ HELP ME
REQUIREMENT:
DELFRT and DELNOFRT are the two codes where scheduled_ship_date will be
two days ahead...
PICFRT and PICNOFRT should show the same scheduled ship date as appears
in the order line.
I TOOK A FORMULA COLUMN AS SOURCE FOR SCHEDULE SHIP DATE?
BUT IAM FACING THIS ERROR
ERROR:is REP-0730:the following bind variable is not defined
FREIGHT_TERMS_CODE
can ANY ONE PLEASE LET ME KNOW HOW TO RESOLVE.....
function CF_1Formula return Date is
v_SSD date;
begin
v_SSD:=null;
IF :FREIGHT_TERMS_CODE='DELFRT' or 'DELNOFRT' then
select :schedule_ship_date+2 into v_SSD from oe_order_lines_all;
return v_SSD;
elsif
:FREIGHT_TERMS_CODE='PICFRT' or 'PICNOFRT' then
select :schedule_ship_date into v_SSD from oe_order_lines_all;
return v_SSD;
else
return 0;
end if;
end;
Error 49 at line 5,column 5
bad bind variable 'FREIGHT_TERMS_CODE'
[Updated on: Wed, 10 October 2007 07:31] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|