How to assign NULL value to an ITEM in Forms Personalization?
Hi,
how to assign NULL value to an ITEM in Forms Personalization?
please suggest me.
Thanks
I don't know what your form personalization does and maybe I misunderstand you ...
Try
:item_name := null;
Similar Messages
-
Assign a value to a global variable - form personalization
Hi All,
We have a requirement in which we want to display a message depending upon the out parameter of the procedure in form personalization.
We are using 'Builtin' with the buitin type 'Execute a Procedure'.
And the argument passed is :
*='declare
l_request_id Number;
l_out_come VARCHAR2(10);
begin
apps.xx_sr_email_pkg1.xx_sr_email_p1
('''||${GLOBAL.XX_CUST_ACCOUNT_ID.VALUE}||''',
'''||${GLOBAL.XX_INCIDENT_ID.VALUE}||''',
'''||${GLOBAL.XX_EMAIL_TYPE.VALUE}||''',l_request_id);
:GLOBAL.XX_REQUEST_ID := l_request_id;
end'*
But its not assigning the value of l_request_id to the gloabal variable XX_REQUEST_ID.
Can you please help?
ThanksI don't have a solution but a work around.
What if you create a function that accepts the same in parameters and returns the message.
And then you create an action of the type message and in the message you call the function such as
= select xx_sr_email_pkg1.sr_email_f1 .... from dual
Sandeep Gandhi -
How to show desired value in list item, when form starts?
Hello.
I have list item with values:
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
When the form starts, i want to show in my list item current month (August 2006). And when i open list item above list would appear with August 2006 selected.
How can i do that?
Thanks.Hi Dejan,
What you have to do is the following:
After populating your list, write some code similar to what I have given here.
FOR n IN 1..nCnt LOOP
IF Get_list_element_value('list', n) = To_char(sysdate, <date format for the current month n year> THEN
:list := To_char(sysdate, <date format for the current month n year>
RETURN;
END IF;
END LOOP;
:list := NULL; -- in case nothing matches
You can use this in WNFI trigger and wherever necessary.
Check whether this solves your problem
Warm Regards,
Raja. -
How to get a value from one item into another
How can i get value from one item into another item.
Ex: I have a report, in there i have check boxes, and when i have checked some rows, and press submitt, a prosses computates it into a item on another page, and a branche redirects to page 3. Then i'm going to use the value in the item into a PL/SQL script in an report to show the submittet items.
How can i do this?
Computation script, pages and all that is fixed. But i dont know which PL/SQL statement to use to get th value from the item.Hi Fredr1k,
Use the V() function from pl/sql.
e.g. V('P3_MY_ITEM')
will return the value of that page item.
As long as the pl/sql is called from within the Apex environment.
Regards
Michael -
How to delete null values in a table
hi all,
tell me please any one how to delete null values in a table
example:
in emp table is there
empno ename job mgr sal deptno
7900 scott 7902 2000 10
7499 clerk 7900 20
7834 james manager 3000 30
like this in the above emp table there are some null values are there
so how to delete the null values in emp table
thanks,
regards.
Edited by: user9195968 on Feb 25, 2010 6:30 AMnot too sure what you mean, perhaps you could supply a table description and some sample data
but, consider
delete from table_1 where column_1 is null
commit
/ -
How to assigne multiple value in key of read table
Hi gurus,
I want read table xxxx with key field1 = ' xxx' or field1 = 'yyy'.
how to assign multiple value as key for the same field while reading internal table.
Regards
sagarHi ,
You can loop the internal table like
loop at <table xxxx> where field1 = ' xxx' or field1 = 'yyy'
or you can write two read statements to read the internal table in wrk area.
read table <table xxxx> with key field1 = ' xxx'.
if sy-subrc <>0
read table <table xxxx> with key field1 = 'yyy'.
if sy-subrc = 0
endif.
else.
do your data processing.
endif.
Thans. -
How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working 10g
Hi,
How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working in obiee10g version.
We have tried below methods
1) criteria tab and edit the ‘column properties’ associated with your fact measure. Choose the ‘Data Format’ tab, tick to override the default format and choose ‘Custom’.
It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
E.g. if you want zeros (0) instead of null then enter:
#,##0;-#,##0;0
2) in that formula columns we have put it below case condition also ,
Measure Column: Nom_amt --> edit formulas
CASE WHEN Nom_amt IS NULL THEN 0 ELSE Nom_amt END
3) we have uncheked IS NULL check box in the admin tool also
I tried above formats still it's not working for me..kindly help me on this..
thanks to do the needfull
Best Regards,
R.DevarasuHi,
Null value in database displaying as 0 in report, I need to keep value as in database, and I have one calculated row which is based on null values should also null in report.
but it showing 0 for null values also so, my calculated row showing wrong result.
my report is like
col1 col2
ABC 0
BCD 12
DEF -12 --this is calculated row.
I require result like:
col1 col2
ABC null
BCD 12
DEF null --this is calculated row.
Please let me know how I can achieve this.
Thanks,
Rahul -
How to Replace Null Value as 0 in an OBIEE11g Pivot Table?
Hi,
How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working in obiee10g version.
We have tried below methods
1) criteria tab and edit the ‘column properties’ associated with your fact measure. Choose the ‘Data Format’ tab, tick to override the default format and choose ‘Custom’.
It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
E.g. if you want zeros (0) instead of null then enter:
#,##0;-#,##0;0
2) in that formula columns we have put it below case condition also ,
Measure Column: Nom_amt --> edit formulas
CASE WHEN Nom_amt IS NULL THEN 0 ELSE Nom_amt END
3) we have uncheked IS NULL check box in the admin tool also
I tried above formats still it's not working for me..kindly help me on this..
thanks in advance...
Best Regards,
R.DevarasuHi Amith,
I have update your suggested one,but it's working few of the rows only..remainings rows some of cells still NULL only
Measure colmns is : Nom_SGD
IFNULL(Nom_SGD,0.00)
Movment : dynamic date calc by using $2-$1 oracle formula's
Actually i am doing below things only,
31/12/2011 31/03/2011 Movment
Country
India 100 -50 -150
Singapore 200 200
UK 1200 -1200
USA 0.00 0.00 0.00 (here changed null as 0)
Helpmeon this... -
How to access the value of application item in javascript
How to access the value of application item in javascript?
Hi,
One way
var myVariable = '&MY_APP_ITEM.';Br,Jari -
Hi,
How to assign a value for Unit of measure (like PC, KG...) in ABAP program?
I want to assign PC in a field to execute the program, like wa-ENTRY_UOM = 'pc'.
But the system returen a message that "Unit of measure is not convertible to stockkeeping unit PC"
Could anyone tell me how to assign the value??
Thanks!hi,
first convert the quantity in the same unit ( like in you case ST to PC ) by using FM : MD_CONVERT_MATERIAL_UNIT
CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
EXPORTING
i_matnr = matnr
i_in_me = entry_uom
i_out_me = out_uom
i_menge = quantity
IMPORTING
E_MENGE = fp_l_v_quant
EXCEPTIONS
ERROR_IN_APPLICATION = 1
ERROR = 2
OTHERS = 3.
IF sy-subrc <> 0.
give error message here
ENDIF.
bcoz in ur program somewhere the quantities etc are compared and there units may be different... so that is why it is showing such error. so just convert convert the quantity in the same unit .
regards
rahul
Edited by: RAHUL SHARMA on Jun 17, 2009 9:31 AM -
How to assign a value to a parameter {?MyParam} dynamically?
How to assign a value to a parameter {?MyParam} dynamically?
Example:
{?One_Or_Two} <- my first parameter
{?MyParam} <- My second parameter
The Code:
If ( {?One_Or_Two} = 'One' then
{?MyParam} = 'One' ;
else
{?MyParam} = 'Two' ;
(THIS IS NOT WORKING FOR ME! ANYONE KNOW WHY?)
IT NEVER ASSIGN THE VALUE?
My Command query looks like:
SELECT * FROM MyTable
WHERE MyTable.MyColumn = {?MyParam}
THANKSHi Joseph,
I'm a bit unclear as to what you are doing and from what I see you're running in circles.
Your Command query is looking for a field that is equal to {?MyParam}.
Now you want to take {?MyParam} in the report and change the value after you've set it.
Parameters cannot be set from the Command, you can format it and manipulate it but they cannot be set except from the parameters window or from a front-end.
Thanks,
Brian -
How can I delete null values from List Item?
Hi Friends,
I used List item for field job_Type, I entered values in List item at design time through property pallet. When I run form I will see null values in this List Item.
How can I remove these null values from the List?
Best regards,
ShahzadDear Shahzad,
It can be removed by adding the following code in the When-new-Form-Instance.
Set_item_property('List name', required, property_true);
:block_name.list_name := <put your default value here>; (If you didn't oput the default value, then you will get some problem and the cursor may not navigate away from the list).
Senthil Alagu .P. -
How can assign the value returned from javascript to Hidden item
Hi All,
I have created a report with button in one column adding following code to SQL select statement like
SELECT USER_RQST_ID, USER_RQST_DESC, RQST_DATE, STATUS, USER_ID, CNTRY_ID, KPI_LIST, YEAR_LIST, QTR_LIST, MONTH_LIST,
PROD_LIST, FULL_PERIOD_FLG, GEN_DATE, '<input type=button value="view_list" onclick="javascript:doSubmit('||USER_RQST_ID||');">' button FROM KPI_USER_RQST;
Then i have implemet doSubmit() function in Javascript like
function doSubmit(req_id)
html_GetElement('HIDDEN_ITEM')= req_id.value;
Here HIDDEN_ITEM is the name of the item, I want to use that HIDDEN_ITEM value in PL/SQL block like...
BEGIN
INSERT INTO SAMPLE(KEY) VALUES(:HIDDEN_ITEM);
END;
But it is not working, Please help me anybody know the solution How to assign an item in javascript block function.
Thanks,
NeelHello,
doSubmit() is one of the built in javascript functions in apex and it's a bad idea to override it unless you know exactly what you are doing, and even then is a generally bad idea.
change your function to this
function mySubmit(pValue){
$x('HIDDEN_ITEM').value = pValue;
doSubmit();
then your onclick will look like this notice the lack of the javascript: and the three ''' quotes to get the proper quotations for your value.
onclick="mySubmit('''||USER_RQST_ID||''')"
And there you go
Carl -
Assigning current value to Application Item
Hi,
I have a interactive report with form in my application.....
if a user applys filter on first column of the interactive report.....how can i assign that value to the APPLICATION ITEM.
thanksHi Andy,
Thanks....it is working perfect......
but i have a small issue....
in my real application i have 7tabs with page no's 1,2,3,4,5,6,and 15.....
so i have created 7 application items G_PARTNO1, G_PARTNO2, G_PARTNO3, G_PARTNO4, G_PARTNO5, G_PARTNO6, G_PARTNO15.
and used the single application process that runs On Load Before Header and uses the following PL/SQL code:
DECLARE
v1 NUMBER;
v2 NUMBER;
v3 NUMBER;
v4 NUMBER;
v5 NUMBER;
v6 NUMBER;
v15 NUMBER;
BEGIN
SELECT MIN(CONDITION_EXPRESSION) INTO v1
FROM IR_CONDITIONS
WHERE APPLICATION_ID = :APP_ID
AND PAGE_ID = 1
AND APPLICATION_USER = :APP_USER
AND CONDITION_COLUMN_NAME = 'PART_NUMBER'
AND CONDITION_ENABLED = 'Yes'
AND SESSION_ID = :SESSION
AND ROWNUM = 1;
SELECT MIN(CONDITION_EXPRESSION) INTO v2
FROM IR_CONDITIONS
WHERE APPLICATION_ID = :APP_ID
AND PAGE_ID = 2
AND APPLICATION_USER = :APP_USER
AND CONDITION_COLUMN_NAME = 'PART_NUMBER'
AND CONDITION_ENABLED = 'Yes'
AND SESSION_ID = :SESSION
AND ROWNUM = 1;
SELECT MIN(CONDITION_EXPRESSION) INTO v3
FROM IR_CONDITIONS
WHERE APPLICATION_ID = :APP_ID
AND PAGE_ID = 3
AND APPLICATION_USER = :APP_USER
AND CONDITION_COLUMN_NAME = 'PART_NUMBER'
AND CONDITION_ENABLED = 'Yes'
AND SESSION_ID = :SESSION
AND ROWNUM = 1;
SELECT MIN(CONDITION_EXPRESSION) INTO v4
FROM IR_CONDITIONS
WHERE APPLICATION_ID = :APP_ID
AND PAGE_ID = 4
AND APPLICATION_USER = :APP_USER
AND CONDITION_COLUMN_NAME = 'PART_NUMBER'
AND CONDITION_ENABLED = 'Yes'
AND SESSION_ID = :SESSION
AND ROWNUM = 1;
SELECT MIN(CONDITION_EXPRESSION) INTO v5
FROM IR_CONDITIONS
WHERE APPLICATION_ID = :APP_ID
AND PAGE_ID = 5
AND APPLICATION_USER = :APP_USER
AND CONDITION_COLUMN_NAME = 'PART_NUMBER'
AND CONDITION_ENABLED = 'Yes'
AND SESSION_ID = :SESSION
AND ROWNUM = 1;
SELECT MIN(CONDITION_EXPRESSION) INTO v6
FROM IR_CONDITIONS
WHERE APPLICATION_ID = :APP_ID
AND PAGE_ID = 6
AND APPLICATION_USER = :APP_USER
AND CONDITION_COLUMN_NAME = 'PART_NUMBER'
AND CONDITION_ENABLED = 'Yes'
AND SESSION_ID = :SESSION
AND ROWNUM = 1;
SELECT MIN(CONDITION_EXPRESSION) INTO v15
FROM IR_CONDITIONS
WHERE APPLICATION_ID = :APP_ID
AND PAGE_ID = 15
AND APPLICATION_USER = :APP_USER
AND CONDITION_COLUMN_NAME = 'PART_NUMBER'
AND CONDITION_ENABLED = 'Yes'
AND SESSION_ID = :SESSION
AND ROWNUM = 1;
IF (:G_PARTNO1 IS NULL AND v1 IS NOT NULL) OR (:G_PARTNO1 <> v1) THEN
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_FILTER(2, 'PART_NUMBER', 'EQ', v1);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_FILTER(3, 'PART_NUMBER', 'EQ', v1);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_FILTER(4, 'PART_NUMBER', 'EQ', v1);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_FILTER(5, 'PART_NUMBER', 'EQ', v1);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_FILTER(6, 'PART_NUMBER', 'EQ', v1);
APEX_UTIL.IR_RESET(15);
APEX_UTIL.IR_FILTER(15, 'PART_NUMBER', 'EQ', v1);
:G_PARTNO1 := v1;
:G_PARTNO2 := v1;
:G_PARTNO3 := v1;
:G_PARTNO4 := v1;
:G_PARTNO5 := v1;
:G_PARTNO6 := v1;
:G_PARTN015 := v1;
ELSIF :G_PARTNO1 IS NOT NULL AND v1 IS NULL THEN
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_RESET(15);
:G_PARTNO1 := NULL;
:G_PARTNO2 := NULL;
:G_PARTNO3 := NULL;
:G_PARTNO4 := NULL;
:G_PARTNO5 := NULL;
:G_PARTNO6 := NULL;
:G_PARTN015 := NULL;
ELSIF (:G_PARTNO2 IS NULL AND v2 IS NOT NULL) OR (:G_PARTNO2 <> v2) THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_FILTER(1, 'PART_NUMBER', 'EQ', v2);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_FILTER(3, 'PART_NUMBER', 'EQ', v2);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_FILTER(4, 'PART_NUMBER', 'EQ', v2);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_FILTER(5, 'PART_NUMBER', 'EQ', v2);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_FILTER(6, 'PART_NUMBER', 'EQ', v2);
APEX_UTIL.IR_RESET(15);
APEX_UTIL.IR_FILTER(15, 'PART_NUMBER', 'EQ', v2);
:G_PARTNO1 := v2;
:G_PARTNO2 := v2;
:G_PARTNO3 := v2;
:G_PARTNO4 := v2;
:G_PARTNO5 := v2;
:G_PARTNO6 := v2;
:G_PARTN015 := v2;
ELSIF :G_PARTNO2 IS NOT NULL AND v2 IS NULL THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_RESET(15);
:G_PARTNO1 := NULL;
:G_PARTNO2 := NULL;
:G_PARTNO3 := NULL;
:G_PARTNO4 := NULL;
:G_PARTNO5 := NULL;
:G_PARTNO6 := NULL;
:G_PARTN015 := NULL;
ELSIF (:G_PARTNO3 IS NULL AND v3 IS NOT NULL) OR (:G_PARTNO3 <> v3) THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_FILTER(1, 'PART_NUMBER', 'EQ', v3);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_FILTER(2, 'PART_NUMBER', 'EQ', v3);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_FILTER(4, 'PART_NUMBER', 'EQ', v3);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_FILTER(5, 'PART_NUMBER', 'EQ', v3);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_FILTER(6, 'PART_NUMBER', 'EQ', v3);
APEX_UTIL.IR_RESET(15);
APEX_UTIL.IR_FILTER(15, 'PART_NUMBER', 'EQ', v3);
:G_PARTNO1 := v3;
:G_PARTNO2 := v3;
:G_PARTNO3 := v3;
:G_PARTNO4 := v3;
:G_PARTNO5 := v3;
:G_PARTNO6 := v3;
:G_PARTN015 := v3;
ELSIF :G_PARTNO3 IS NOT NULL AND v3 IS NULL THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_RESET(15);
:G_PARTNO1 := NULL;
:G_PARTNO2 := NULL;
:G_PARTNO3 := NULL;
:G_PARTNO4 := NULL;
:G_PARTNO5 := NULL;
:G_PARTNO6 := NULL;
:G_PARTN015 := NULL;
ELSIF (:G_PARTNO4 IS NULL AND v4 IS NOT NULL) OR (:G_PARTNO4 <> v4) THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_FILTER(1, 'PART_NUMBER', 'EQ', v4);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_FILTER(2, 'PART_NUMBER', 'EQ', v4);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_FILTER(3, 'PART_NUMBER', 'EQ', v4);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_FILTER(5, 'PART_NUMBER', 'EQ', v4);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_FILTER(6, 'PART_NUMBER', 'EQ', v4);
APEX_UTIL.IR_RESET(15);
APEX_UTIL.IR_FILTER(15, 'PART_NUMBER', 'EQ', v4);
:G_PARTNO1 := v4;
:G_PARTNO2 := v4;
:G_PARTNO3 := v4;
:G_PARTNO4 := v4;
:G_PARTNO5 := v4;
:G_PARTNO6 := v4;
:G_PARTN015 := v4;
ELSIF :G_PARTNO4 IS NOT NULL AND v4 IS NULL THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_RESET(15);
:G_PARTNO1 := NULL;
:G_PARTNO2 := NULL;
:G_PARTNO3 := NULL;
:G_PARTNO4 := NULL;
:G_PARTNO5 := NULL;
:G_PARTNO6 := NULL;
:G_PARTN015 := NULL;
ELSIF (:G_PARTNO5 IS NULL AND v5 IS NOT NULL) OR (:G_PARTNO5 <> v5) THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_FILTER(1, 'PART_NUMBER', 'EQ', v5);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_FILTER(2, 'PART_NUMBER', 'EQ', v5);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_FILTER(3, 'PART_NUMBER', 'EQ', v5);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_FILTER(4, 'PART_NUMBER', 'EQ', v5);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_FILTER(6, 'PART_NUMBER', 'EQ', v5);
APEX_UTIL.IR_RESET(15);
APEX_UTIL.IR_FILTER(15, 'PART_NUMBER', 'EQ', v5);
:G_PARTNO1 := v5;
:G_PARTNO2 := v5;
:G_PARTNO3 := v5;
:G_PARTNO4 := v5;
:G_PARTNO5 := v5;
:G_PARTNO6 := v5;
:G_PARTN015 := v5;
ELSIF :G_PARTNO5 IS NOT NULL AND v5 IS NULL THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_RESET(15);
:G_PARTNO1 := NULL;
:G_PARTNO2 := NULL;
:G_PARTNO3 := NULL;
:G_PARTNO4 := NULL;
:G_PARTNO5 := NULL;
:G_PARTNO6 := NULL;
:G_PARTN015 := NULL;
ELSIF (:G_PARTNO6 IS NULL AND v6 IS NOT NULL) OR (:G_PARTNO6 <> v6) THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_FILTER(1, 'PART_NUMBER', 'EQ', v6);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_FILTER(2, 'PART_NUMBER', 'EQ', v6);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_FILTER(3, 'PART_NUMBER', 'EQ', v6);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_FILTER(5, 'PART_NUMBER', 'EQ', v6);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_FILTER(4, 'PART_NUMBER', 'EQ', v6);
APEX_UTIL.IR_RESET(15);
APEX_UTIL.IR_FILTER(15, 'PART_NUMBER', 'EQ', v6);
:G_PARTNO1 := v6;
:G_PARTNO2 := v6;
:G_PARTNO3 := v6;
:G_PARTNO4 := v6;
:G_PARTNO5 := v6;
:G_PARTNO6 := v6;
:G_PARTN015 := v6;
ELSIF :G_PARTNO6 IS NOT NULL AND v6 IS NULL THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_RESET(15);
:G_PARTNO1 := NULL;
:G_PARTNO2 := NULL;
:G_PARTNO3 := NULL;
:G_PARTNO4 := NULL;
:G_PARTNO5 := NULL;
:G_PARTNO6 := NULL;
:G_PARTN015 := NULL;
ELSIF (:G_PARTNO15 IS NULL AND v15 IS NOT NULL) OR (:G_PARTNO15 <> v15) THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_FILTER(1, 'PART_NUMBER', 'EQ', v15);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_FILTER(2, 'PART_NUMBER', 'EQ', v15);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_FILTER(3, 'PART_NUMBER', 'EQ', v15);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_FILTER(5, 'PART_NUMBER', 'EQ', v15);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_FILTER(6, 'PART_NUMBER', 'EQ', v15);
APEX_UTIL.IR_RESET(4);
APEX_UTIL.IR_FILTER(4, 'PART_NUMBER', 'EQ', v15);
:G_PARTNO1 := v15;
:G_PARTNO2 := v15;
:G_PARTNO3 := v15;
:G_PARTNO4 := v15;
:G_PARTNO5 := v15;
:G_PARTNO6 := v15;
:G_PARTN015 := v15;
ELSIF :G_PARTNO15 IS NOT NULL AND v15 IS NULL THEN
APEX_UTIL.IR_RESET(1);
APEX_UTIL.IR_RESET(2);
APEX_UTIL.IR_RESET(3);
APEX_UTIL.IR_RESET(5);
APEX_UTIL.IR_RESET(6);
APEX_UTIL.IR_RESET(4);
:G_PARTNO1 := NULL;
:G_PARTNO2 := NULL;
:G_PARTNO3 := NULL;
:G_PARTNO4 := NULL;
:G_PARTNO5 := NULL;
:G_PARTNO6 := NULL;
:G_PARTN015 := NULL;
END IF;
END;
The process is conditional on "Current Page is Contained Within Expression 1 (comma delimited list of pages) and Expression 1 is: 1:2:3:4:5:6:15
I am getting the following error when i run the application:
Unexpected error, unable to find item name at application or page level.
Error ERR-1002 Unable to find item ID for item "G_PARTN015" in application "181".
OK
Please let me know where i am doing wrong....
Thanks -
How to replace NULL values from main table
Dear all,
I like to remove the NULL values from a main table field. Or the question is how to replace any part of the string field in MDM repository main table field.
e.g. I have a middle name field partly the value is NULL in some hundreds of records, I like to replace NULL values with Space
any recommendation.
Regards,
NaeemHi Naeem,
You can try using Workflows for automatically replacing NULLs with any specific value.
What you can do is: Create a workflow and set trigger action as Record Import, Record Create and Record Update. So, that whenever any change will occur in the repository; that workflow will trigger.
Now create an assignment expression for replacing NULLs with any specific value and use that assignment expression in your workflow by using Assign Step in workflow.
For exiting records, you will have to replace NULLs manually using the process given by Preethi else you can export those records in an Excel spreadsheet which have NULLs and then replace all NULLs with any string value and then reimport those records in your MDM repository.
Hope this will solve your problem.
Regards,
Varun
Edited by: Varun Agarwal on Dec 2, 2008 3:12 PM
Maybe you are looking for
-
R/3 46C(IDOC) -- XI -- Flat file scenario
Hi Is there anyone who could give me information on a R/3 46C(IDOC) --> XI --> Flat file scenario? Many thanks! br Göran
-
Parse tab delimited file after upload
I could use some advice. I have a requirement to parse and insert an uploaded, tab delimited file using APEX. Directly off of the file system, I would do this with an external table, but here I am uploading the file into a CLOB field. Does PL/SQL hav
-
Gurus, Can you please clarify me this ... I have created a procedure and I am calling from the form ... Now the problem is, when I am calling the procedure from the form I am getting error *"ORA-6502 PL/SQL numeric or value error"* ... For this proce
-
Authenticate BI Publisher with URL
Hi guys I have read BI Publisher documentation and I haven't found a mean to authenticate into xmlpserver via URL, just like in analytics (NQUser and NQPassword). Is that even possible? Regards
-
I have a report need to send (output) in text format thru form 6i , please help