Using Custom.pll on AP Invoices form goes into error in 11.5.10.1
Hi All,
I am trying to do some customization on APXINWKB (Invoices form) using CUSTOM.pll. But whenever i am trying to open the form after adding the code in CUSTOM.pll i am getting the following error:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "APPS.GL_EURO_USER_RATE_API", line 173
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "APPS.GL_CURRENCY_API", line 327
ORA-01403: no data found
FRM-40735: WHEN-NEW-ITEM-INSTANCE trigger raised unhandled exception ORA-06502.
I am trying to display a a small message in the new form instance of the above form thru CUSTOM.pll, nothing more than that!!. If i remove the coding, the form is working perfectly. My oracle apps version is 11.5.10.1
Can any body help me??
Raj
Hi Helios,
Thank you for the update, actually the problem is solved.
The issue is : Whenever i am trying to show a message in that form using either form personalization or CUSTOM.pll, it is giving the error, if i do any thing else like 'changing the default where clause etc', it is not giving any error. The problem is only with message. Actually my requirement is changing the where clause, which is happening with out any problem. I dropped the idea of showing the message any way.
This problem is strange. Any ways, i am raising an SR with Oracle.
Raj
Similar Messages
-
FRM-40815: Form Error, using CUSTOM.pll
Hello,
I am trying to customize WIP Lot Transactions Oracle Standard Form using CUSTOM.pll.
Upon navigating to one of the 3 blocks in the form(RESULTING_LOT), I am getting following error message:
"FRM-40815: Variable GLOBAL.CLRREC_NOVALIDATE does not exist"
This global variable is not used in CUSTOM.pll at all. But is initialized and used in the standard form only.
When custom code is turned off, there is no error message.
Please advise.
Thanks,
Krishna.Hi,
Thanks for the response.
I have created a custom profile and attached it users and Profile value has the organization names.I want the User A with Org1 value in the profile to see all the GL Batches which is created by any other user who belongs to only Org1. Say another user User B with Org2 as the profile value should not see any GL batches created by any other user in the GL Journal Form belonging to other Org's.I'm able to restrict the batches using the below query using the personalizations in the Record Group for the Batch Name.But if the user doesnt give any search criteria and then selects Find then the main form displays all the batches. Hence I want to overide the Data Block where to display accordingly.
select a.name from gl_je_batches a
where 1=1
and a.created_by in (select b.user_id from
fnd_user b,
fnd_profile_option_values c,
fnd_profile_options d
where c.profile_option_id =d.profile_option_id
AND c.level_value = b.user_id
AND profile_option_name='KAP_USER_ORGANIZATION'
AND c.profile_option_value =(select profile_option_value
from fnd_profile_option_values e
where e.level_value =fnd_profile.value('USER_ID')
and profile_option_id=d.profile_option_id)
Thanks,
Ashwini. -
Setting Default values for field using custom.pll
Hi All,
I have an rquirement to set the default values on Meterial Tranasction screen for some condition
I tried it in both ways via Form Personalization and using custom.pll
i m using the following code in custom.pll
form_name varchar2(30):= name_in('system.current_form');
block_name varchar2(30):= name_in('system.cursor_block');
trx_type varchar2(30);
subinv varchar2(30);
begin
if form_name='WIPTXMAT' and block_name ='MTL_TRX_LINE' then
if event_name ='WHEN-VALIDATE-RECORD' then
trx_type:=name_in('WIPTXMAT.TRANSACTION_TYPE');
if trx_type ='WIP Return' THEN
copy(10,'MTL_TRX_LINE.TRANSACTION_QUANTITY');
copy(10,'MTL_TRX_LINE.NUMBER_OF_LOTS_ENTERED');
sinv:=trim(name_in('MTL_TRX_LINE.SUBINVENTORY_CODE'));
if sinv is null then
copy(subinv,'MTL_TRX_LINE.SUBINVENTORY_CODE');
copy(fr_locator,'MTL_TRX_LINE.LOCATOR');
FND_MESSAGE.SET_STRING(sinv);
FND_MESSAGE.SHOW;
end if;
end if;
end if;
end if;
end event;
Problem is that default values are getting set but not for all rows . if there are 4 records then values are set for only first 2 rows and if there are 2 rows then defaults are set for 1st row only.
Same behaviour happens when i do it via form personalization
i couldn't understand the behaviour of WHILE-VALIDATE-RECORD event..
Please provide some suggestion on it. its really urgent.
Thanks in Advance
RenuWorks Now...
-
How to add New Menu Bar using Custom.pll
Hi All,
I have developed a form based on the Oracle Apps form.For standard form i have to add one more menu bar in tools menu using custom.pll,i'm using 11.5.8 version.
So can any one help me in thi regards as i'm new to this custom.pll,How can we add that New menu bar item and how can we open the custom.pll
where we have to write the code and all the stuff.Which we have to use like wise.
If any one is having the code on the regarding u can please pass me.
Help me in this as it is urget to the client.
Regards
SivaHi Donny thanks for ur reply,
As i was new to the Custom.pll,i have opened the custom.pll throught Form Builder.I have found the packages of the Custom.pll,I have to add new Special Menu to it.If u have code can u please give me simple example.
If I press that Menu I have to open New Form that i have Customized.And also to get values into that form.
Can u please help me in this give me simple Example.In Which trigger i have to write the code and all the stuff....
Bit urget
If any one is having coding can pls send me to my mail id :[email protected]
Regards
Siva -
Unable to view invoices and going into enter mode.
Dear all,
Under the Receivables Inquiry responsibility in the AR transaction forms (view invoice).
Unable to view invoices and going into enter mode.
Please help to debug this issue.
Thanks for your help in advance.
With Regards,
Sunil Kumar Mallina.Please post the details of the application release, database version and OS.
Under the Receivables Inquiry responsibility in the AR transaction forms (view invoice).
Unable to view invoices and going into enter mode. Was this working before? If yes, any changes have been done recently?
Do you get any error? Please elaborate more.
Thanks,
Hussein -
Purchase Order going into Error in process while ordering from SRM.
Hello All,
We are facing a typical issue where the PO is going into error while ordering from SRM. The error message is ' 17.09.2010 12:45:35 Purchase order XXXXXXX: G/L account XXXXXX cannot be used (please correct ) '
Is there any mechanism/tcode where we can list out the Backend errors in SRM?
We are using SRM 4.00.
Thanks.
Rgds,
Arnabask your FI /CO consultant
since there are different types of GL accounts like expense , inventory .
so he can guide you well what GL account is correct
as well check product category vs gl account configuration. -
When i send IDoc to ECC(using standard IDoc) , it goes into error.
error message: No batch input data for screen SAPLSPO1 0500
but when i try to execute this IDoc from WE19, it work perfectly.
any idea, <removed by moderator>....
Thanks in advances!!!
Regards,
Gaurav Nayar
Edited by: Thomas Zloch on Nov 10, 2010 11:17 AMHi,
Some input data missing during BDC, what you do, please execute IDOC by giving inbound function module and process it in fore ground, you may know which screen needs input data.
Thanks
RK. -
Add additional to LOV using CUSTOM.pll
Form: CSIMEDIT
Block: CSI_T_PARTY_ACCOUNTS
Field: BILL_TO_ADDRESS
The LOV ACCOUNT_BILL_TO from the field BILL_TO_ADDRESS only has 2 columns but I need to add 2 more columns. How can I do it in Custom.pll?
The first column is site_use_id, the second column is party_address. Currently, I concatenated the third column 'status' with party_address, the LOV show both information. However, after I picked the address and saved it, I got an error message when I click on the LOV button again due to the party_address query only contains party_address and it is different from the LOV list which is containing the part_address and status. It failed the validation.
I also tried to use another LOV 'SERIAL_NUM' that has 5 columns. Then set property:
lov_id := FIND_LOV('SERIAL_NUM');
rg_id := FIND_GROUP(rg_name);
SET_LOV_PROPERTY(lov_id, group_name, rg_name);
-- set Title --
Set_Lov_Property(lov_id, TITLE, 'Bill To Address' ) ;
-- set column properties --
set_lov_column_property(lov_id,2,TITLE,'Bill To');
set_lov_column_property(lov_id,2,WIDTH,25);
set_lov_column_property(lov_id,3,TITLE,'Status');
set_lov_column_property(lov_id,3,WIDTH,5);
-- hide other columns --
set_lov_column_property(lov_id,1,WIDTH,0);
set_lov_column_property(lov_id,4,WIDTH,0);
set_lov_column_property(lov_id,5,WIDTH,0);
But I got error message: FRM-41826: Cannot replace group;columns don't match LOV.
Please help!
Thanks.Hi Donny thanks for ur reply,
As i was new to the Custom.pll,i have opened the custom.pll throught Form Builder.I have found the packages of the Custom.pll,I have to add new Special Menu to it.If u have code can u please give me simple example.
If I press that Menu I have to open New Form that i have Customized.And also to get values into that form.
Can u please help me in this give me simple Example.In Which trigger i have to write the code and all the stuff....
Bit urget
If any one is having coding can pls send me to my mail id :[email protected]
Regards
Siva -
Messaging using CUSTOM.pll
Hello,
I have registered a message named 'HAC_ASN_PO_ALERT' with the message type 'Note'. I have generated the message and am using the CUSTOM.pll to show the message when a specific event occurs. I am using the code below to call the message.
FND_MESSAGE.SET_NAME('HAC','HAC_ASN_PO_ALERT');
FND_MESSAGE.SET_TOKEN('ASN_STRING',x_asn_string);
FND_MESSAGE.ERROR;
This works just fine, the message displays when I want it to, but it shows with the error bell as an error message. I wanted to display the message as a note with the note icon. I have looked at the FND_MESSAGE package and there is not a procedure called NOTE. I tried SHOW, but I got an error. Can anyone please help me to get this message to display correctly?
Thank you,
MikeI am facing the same issues in R12.. Any solution for this.
Thanks in Advance.
Chetan -
Purhase order output type ZYT3 going into error when triggeralong with ZMY1
Hi Experts,
We am currently having this problem:
While creating PO, we save 2 customized output types(ZMY1 & ZYT3 - 2 different print programs) together, with the same Dispatch time: Send immediately(when saving the application). But the ZYT3 will always have the error u2018No print-relevant changes to document existu2019(ME140).
We found that the error appears because the data in NAST is not passed to the customized program.
We put a breakpoint at the statement
"PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE US_SCREEN IF FOUND." in program RSNAST00 and the next step is going into the first statement of the customized program. For output type ZMY1, data in NAST is passed to the program. However when it reached the next output type ZYT3, data in NAST missing.
However, if we print ZYT3 individually or with different dispatch time, there is no problem.
Please let me know whatu2019s the possible cause. Any input will be really helpful. Thanks in advance.Can please share the processing log what it says?
You can find the details from message tab in initial screen of PO transaction. -
How to call trigger event when the checkbox is checked using custom.pll
Hi,
In recipt form i have one checkbox.when i check the box the popup should be open.
how to check the check box is checked or not.
any one help.me.
Regards,
M.Soundrapandian.You can probably do this easier using forms personalization - pl see ML Doc 279034.1 for details
HTH
Srini -
My I-Tunes search engine goes in to error when I try to search for something. What cam I do to fix this?
Do you mean the Search box at top right of iTunes?
goes in to error
What error does it "go in to"? -
There is an invoice approval via workflow. Task is a foreground task(dialog method) and user gets a screen where he has options to approve/reject/ see the docu. Data has been passed to the task container via wf-task binding. task is using a method of delegated BOR. I get an error in workflow that container is not assigned.
Most importantly it doesnot happen all the time. Is it any sync issue or something else. Please let me know.
Thanks in Advance,
PritamHi,
Probable i got the solution. There was one defect in the binding of task. At the time of importing parameter(task --> WF) container element FIPP as well as WIOBJECT of type FIPP was imported in the same parameter FIPP like this
&FIPP& <-- &FIPP&
&FIPP& <-- &_WI_OBJECT&
This was the conflicting importing parameter.
When i removed one of the importing parameter, error got disappeared.
Thanks for your suggestions.
Regards,
Pritam -
HP designjet Z3200ps that goes into error message 79.04 when trying to load paper.
The Designjet Z3200ps powers up and comes to ready and ask to load paper. It starts to take the paper and the carriage unit scans back and forth then the display shows error 79.04. I've upgraded to the latest Firmware, But it still does the same thing. Does anyone have any other answers. Thanks
This forum is focused on consumer level products. For the Designjet you may have better results posting in the HP Designjet forum here.
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
How to close a custom form from CUSTOM.pll
Dear Friends,
We need your help on the following issue related to Oracle Apps Forms.
We have a requirement to show a popup message (message should remain open and user should be able to continue working in the order entry form. User use this message as a reference while entering order details) when user enters a customer name or number in the order entry form . This is similar to the Stock Availability form which gets opened automatically when control enters into Order Entry Lines form, where the stock availability form remains open while entering line details.
To fullfil the requirement, we have designed a custom form with a single text field in which the message text (some customer information) will be shown.
We are using custom.pll to call this custom form (thru FND_FUNCTION.EXECUTE) when the control leaves customer number field. User could leave this custom form open and continue with entering order details. Till this point we could achieve what we want. i.e. we could show the popup message in the custom form after user enters a customer number.
The problem is, after the custom form is opened, when we enter a new order for different customer, we need to close the custom form (which is opened for the previous customer) if the customer is not qualified.
we could not achieve this. We tried using CLOSE_FORM, CLOSE_WINDOW, but did not help.
Any body have any suggestions on achieving this... Basically, we need your help to know how we can close the custom form from CUSTOM.pll.
Thanks,
UmaI thing you haven't any (supported) option to close a form via custom.pll.
For a long time, we have search a solution for the same problem without any result.
Maybe you are looking for
-
How to create a page break in PDF output
Hi there Does anyone know how to create a page break in the PDF output when using the EXPORT TO PDF command? I can create a page break using the page-break-after/before HTML stylesheet command, but this is not "interpreted" when the PDF is generated,
-
Error code 2755 when trying to install latest PC S...
I have just had my laptop rebuilt and am trying to install Nokia PC Suit 682 rel 27.0. After accepting the terms and conditions and clicking the install button I get the error message saying 'The system cannot open the device or file specified' and a
-
I don't seem to be able to use applications after i have synced my iPod. i downloaded them straight to the iPod usin it's wireless connection
-
i am having difficulties sharing my imovie 5.0.2 file. it stops short with the note that permissions or drive space are causing the problem. i repaired the permissions and my drive has 3x the needed space and ran a osx repair of the drive. in my movi
-
We have been asked by our client to create training manuals for the iPad. Is it possible to publish a book in iBooks author that can be distributed privately? This would be work that we would be paid by our client to produce. Thanks for any help.