GetURL / LoadVars with POSTing values
Hi
Seems like there are lots of getURL / LoadVar problems and
this one seems bizarre to me.
I am trying to submit form entries in Flash to an external
perl script. I understand that locally Flash won't function with
getURL now, so have uploaded it to my server and tried testing it.
I tried just calling a getURL from within Flash with the
following:
wholeString = "
http://myHost.com/cgi-bin/FormMailer.pl?recipient=1&subject=NewFlashTest";
getURL(wholeString,"_self", "POST");
I know that the perl script and this format function as I've
sent the following from a form within my website:
<form method="post" action="
http://myhost.com/cgi-bin/FormMailer.pl?recipient=1&subject=NewTest">
<input type="hidden" name="recipient" value="1" />
<!--input type="hidden" name="subject" value="Webdesign
feedback form" /-->
Name: <input type="text" name="name" /><br />
Address: <input type="text" name="mail_address"
/><br />
E-mail: <input type="text" name="email" /><br />
Telephone: <input type="text" name="telephone"
/><br />
<input type="submit" />
</form>
This HTML form functioned exactly as it should. However, my
Flash script did call the function, but the perl script returned
saying that no recipient was passed to it. Yet the complete URL,
including the recipient value is contained in the address bar of
IE.
So, I tried with LoadVars instead. I tried this:
myObject = new LoadVars();
myObject.recipient = 1;
myObject.subject = "Testing of LoadVars";
myObject.name = "with LoadVars";
myObject.email = "[email protected]";
myObject.send("
http://myhost.com/cgi-bin/FormMailer.pl"
,"_self","POST" );
At the moment this is situated in a function called from an
onRelease on a button.
However, this appeared to do nothing and I receive nothing
from the perl script mailer.
Anyone have any suggestions? Thanks.
When you use your form you are sending the variables
recipient and subject using both methods, GET and POST. Maybe this
is why the script works because it depends on this fact (it is not
the right thing to do though).
In your second example using LoadVars change the last line
to:
myObject.send("
http://myhost.com/cgi-bin/FormMailer.pl?recipient=1&subject=NewTest",
"_self", "POST");
This way you'll be doing the same as your form is doing.
If on the other hand it still doesn't work maybe it is due to
security restrictions. If the host you are calling for example is
myHost.com from flash the this is the same domain you need to use
for the html page that contains the flash file. Otherwise flash
will be blocked. Flash blocks itself from sending and reding data
from internet if the file is in your local machine and viceversa.
It blocks comunication too when the file is not in the same domain.
Even if the domain is the same but you write it different. For
example if you have your own server you can start you app using the
domain localhost. But if flash is calling data using 127.0.0.1 then
flash will block communication even though both ways of
communication refer to the same server.
Similar Messages
-
How to compare dropdown pre value with post value in sharepoint designer list workflow
How to compare dropdown pre value with post value in sharepoint designer list workflow
Hi,
Can you provide more details about your requirement? It would make others easier to find a solution for you.
By default, a workflow will be triggered after submitting data in the NewForm or EditForm.
If you want to monitor the value changed in a drop down menu which is supposed to be in NewForm or EditForm, it would be more appropriate to apply custom JavaScript in the NewForm
or EditForm page.
About how to detect the value changed using JavaScript, the demos in this thread would be helpful:
http://stackoverflow.com/questions/12080098/dropdown-using-javascript-onchange
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Variable, hierarchy, only leaves with posted values presented
Hello friends
Small question on strange behavioyr in BEx query. The query is based on the multiprovider built with Info Cube and a characteristic Cost Element. The columns are restricted using "constant selection" and the option to present all values is on. I have the Cost Element in rows and I display it using external hierarchy. When I run the report, I can see al of the values of Cost Elements, both for posted and not posted amounts. When I create the variable based on the Cost Element Info Object (hierarchy node, optional one), I have the values only for posted Cost Elements, even if I don't put the value of this variable. Any idea on this?
KooyotHello
I just found the solution.
Variable needs to be "multiple single values"
Kooyot -
GR Value is not matching with PO Value while posting good receipt.
Hi Experts,
My client has raised the PO with accounts assignment category K (COST CENTRE) with material description.
but he has received invoice receipt before good receipt.while invoice receipt he has entered wrong value for some qty as per PO intially and cancelled that wrong entry.
I have gone through original & cancelled invoice document accounting entries. below is entries:
Original invoice document accounting entries:
GR/IR Clearing account: Debited
Vendor account: Credited
during cancelling the above document it should be vendor acc is debited and GR/IR account is credited but in the system below entries taken place
Cancelled invoice document accounting entries:
Vendor account : Debited
GR/IR Account : Credited
Consumption Account : Credited
Why consumption acc taken place here. pls help what are the possibilitis....
these entries affecting good receipt value means while taking goods receipt for some qty out of full qty value is not matching with PO value.
but while cancelling the GR documents system taking correct values as per PO. Please help.
Kindly help in this regards
Regards
MohanHi,
Check the Credit Memo document whether G/L tab is there & whether any G/L account is entered ?
I think instead of cancelling the MIRO document they might have posted a vendor credit memo manually by specifying a consumption GL.
Thanks & Regards, -
Asset Acquisition with Asset Value Date earlier than GI post.date
Dear all,
I am curently using SAP ECC 6.0. We are not creating AuC assets but directly capitalizing assets from investment accounts.
If a material is issued with a date in March and i try to acquire it with asset value date from a previous period, for example in February, the system doesnt issue any message and lets me post the transaction. The accountants claim that this hadnt been possible in the earlier version of SAP 4.6 that we had been using and that the system had issued an error message - "Posting not possible (Value date earlier than capitalization date)"
The accounting logic is that you cant capitalize an asset with a date earlier than the date when it has been in use, i.e. in our case it`s the date the material has been issued from the warehouse.
Does someone know what logic does SAP follow in this case - and if i can set a validation control that will check and compare the two dates?
Any opinion would be appreciated
KR
Severina KolevaWe are on ECC 5.0 and we do get that message, but it is a warning.
AA348...
that said, you can setup a validation using GGB0 and asset accounting -
Post-element text with computed value
I have a page item (P10_X) with post-element text referencing a application level item using &G_ITEM. notation. G_ITEM is computed on the page and the computation needs to take into account the value of P10_X so the firing point is "after footer".
This leads to a Catch-22 because the item and post-element text is rendered before the computation so the value of G_ITEM is not accurate.
Any ideas? ThanksNot sure I understand. Suppose P10_X=10 when it is rendered. G_ITEM is computed as :P10_X (i.e. 10) + (select ...). The post-element text for P10_X refers to &G_ITEM. so it uses the "stale" value of G_ITEM; the latest value is not computed until after all regions are rendered.
Edit: Turns out that P10_X obtains it value in an Before Header application process, not via its Source attribute. So I can put the computation for G_ITEM at the After Header point and so everything gets computed and rendered properly.
Edited by: Vikas2 on Jul 14, 2009 4:05 PM -
Moveing average price after posting invoice with different value than GR
Hello all
I have a question as in subject.
If I will post goods receipt and after this I would like to post an invoice in MIRO with different value than in goods receipt , the MAP on my stock will change about this different???Hi,
Your MAP will get recalculated as the price difference will change the total value of the stock and the stock quantity will remain the same
MAP=Total value/Total stock
Hope this will help you
Reward if useful
Thanx and Regards
SHYAM.R -
Posting with Zero Values in AFAB
Hi all,
My client wants to run depreciation with zero values, since they are maintaining Assets in FA Module but doing manual deprecations due to certain unavoidable reasons.
By mistake we ran depreciation for 4 months for the assets in SAP. I know that we cannot reverse those entries. But I have passed rectification entries in Finance.
But I am not able to update the Asset Masters with the correct values. How can I revert back the values in Asset Accounting so that my net book value is also 100 % now? Will AFAR work and if then how?
Thanks & Regards,
SajanHi Srinu,
Thanks for your response.
The situation is that, we went live in 2008 and we implemented Asset Accounting also. But client did not migrate legacy assets into SAP. They started using Asset Accounting only for new Assets. They did not run depreciation using AFAB. Infact, they calculated it manually and posted depreciation.
Now the thing is that we will not be able to open year 2010 in Asset Accounting unless we close year 2008. But since, depreciation was not carried out, system is not allowing us to close year 2008. I was trying to run depreciation for year 2008 with out posting any financial entries in the system and I achieved it in quality client. But unfortunately in production, it posted entried for July-Nov 2008.
Now I want to revert that as well as run AFAB with out posting any entries for Nov & Dec 2008 so that I can close this year.
Hope you have understood the requirement. Any way out from this?
Thanks & Regards,
Sajan -
Copa assessment from cost center posted with zero values
Hello all,
We are running for the first time in my clients system assessment cycle for actual values from cost center t copa
The cycle at the test run shows the values and the reciever tracing factor allright but in update run the document created with zero values
Can anyone adress me why this happnes
Thanks
MichalHi,
You must be getting some errors in update run, like profit center update (if new gl active) or other, please check and revert.
Br -
Dynamic action with set value on date field
Hi,
I'm using APEX 4.02
I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
I've tried using the source value as is in a select statement :
select :P33_GEBOORTEDATUM from dual;
and also type casted based on the date format :
select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
but still no luck.
On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
Any suggestions would be greatly appreciated. If you need any extra info just let me know.
Cheers
Bas
b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
Edited by: user3338841 on 3-apr-2011 7:33Hi,
Create a dynamic action named "set age" with following values.
Event: Change
Selection Type: Item(s)
Item(s): P1_DATE_OF_BIRTH
Action: Set value
Fire on page load: TRUE
Set Type: PL/SQL Expression
PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
Page items to submit: P1_DATE_OF_BIRTH
Selection Type: Item(s)
Item(s): P1_AGE
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1 -
Hi,
In our BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report. Can any one please help on this.
Is it BW problem or BO problem?
I checked in some other threads but it's not given solution.
Thanks,
ManjunathaHi,
Is it BW problem or BO problem? : BO
is it causing problem with hierarchly data only ? without hierarchies data is matching or not?
Post same in SAP BusinessObjects Web Intelligence .
Thanks. -
How to preset fields in a transaction BP with default values
Hi!
I want to fill few fields in transaction BP with default values.
This should be if there`s a new business partner to insert.
If i can do this depending on the selected role it was the best
First i thought on SPA/GPA-parameters ... but then i can`t do it in depence on the selected role.
In customizing i can tell only if a field should be displayed or not, for input or not, ... but no values to insert.
Is here anybody with a good idea for me?
I`ve posted my question first in crm-section but i think here it`s better
Thanks a lot in advance.
Best regards,
IngoHi,
There is one possibility which requires an enhancement of the
BDT event ISDAT and a call to the function module
BUP_BUPA_FIELDVALUES_SET. This means that an ISDAT function module needs to be written (transaction BUS7) which calls the function module BUP_BUPA_FIELDVALUES_SET with the needed values that are to be defaulted. You can read the role value using BUS_PARAMETERS_ISSTA_GET (T_RLTYP).The fields which are possible can be found in the DDIC structure BUSDEFAULT. However this is limited only to the fields inside this structure.
Thanks and warm regards,
Smita. -
Hi,
We are applications 12.0.6 with 10.2.0.3.0 database. I'm trying to submit the "PRC: Generate Draft Revenue for a Single Project" through fnd_request.submit_request and is erroring out with "PA: Error - Entered Accrue through date is not within open/future PA period". I'm able to run the same program from the application with the same parameters. I'm passing Accue date of 2009/08/31 00:00:00 from the program and I can see the same value when submitted frm the applications also.
Value set for this Accrue date parameter is "PA_SRS_DATES2". It is setup as format type "Standard Date" and maximum size is 11.
Thanks for your help,
Shree.
Here is the script
SELECT TO_CHAR (rec1.per_end_date, 'RRRR/MM/DD HH24:MI:SS')
INTO v_rev_accrue
FROM DUAL;
fnd_file.put_line (fnd_file.LOG,
'Revenue Accrue Date is :' || v_rev_accrue
fnd_file.put_line (fnd_file.LOG, 'Parameters for GDR :');
fnd_file.put_line (fnd_file.LOG,
'Argument1 is :' || TO_CHAR (rec1.project_id)
fnd_file.put_line (fnd_file.LOG, 'Argument4 is :' || v_rev_accrue);
v_fc_req_id :=
fnd_request.submit_request (application => 'PA',
program => 'PARGDR_SINGLE',
sub_request => FALSE,
start_time => NULL,
argument1 => rec1.project_id,
argument2 => 'N',
argument3 => 'Y',
argument4 => v_rev_accrue,
argument5 => NULL,
argument6 => NULL,
argument7 => NULL,
argument8 => NULL,
argument9 => NULL,
argument10 => NULL,
argument11 => 'Y',
argument12 => 'N',
argument13 => NULL,
argument14 => NULL,
argument15 => NULL,
argument16 => NULL,
argument17 => NULL,
argument18 => 'N',
argument19 => 'N',
argument20 => 'N'
IF NVL (v_fc_req_id, 0) = 0
THEN
gv_debug_name :=
'Error in Submitting the draft revenue program program. ';
fnd_file.put_line (fnd_file.LOG, gv_debug_name);
RAISE general_error;
ELSE
COMMIT;
fnd_file.put_line (fnd_file.LOG,
'draft revenue program. Request Id:'
|| TO_CHAR (v_fc_req_id)
END IF;
Here is the log for the request submitted via fnd_request.submit_request.
Projects: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
PARGDR_SINGLE module: PRC: Generate Draft Revenue for a Single Project
Current system time is 13-AUG-2009 18:59:19
Entering parmai()
...Connected to Oracle
Accrue Thru date from Command line is : 2009/08/31 00:00:00
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
PA: Error - Entered Accrue through date is not within open/future PA period
Exceptions posted by this request:
Concurrent Request for "PRC: Generate Draft Revenue for a Single Project" has completed with error.
Concurrent request completed
Current system time is 13-AUG-2009 18:59:20
Here is the log for the request submitted via the application
Projects: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
PARGDR_SINGLE module: PRC: Generate Draft Revenue for a Single Project
Current system time is 10-AUG-2009 17:12:11
Entering parmai()
...Connected to Oracle
Accrue Thru date from Command line is : 2009/08/31 00:00:00
project:196 delete:N regenerate:Y acc_thru_dt:2009/08/31
start project: end project:
Operating unit is 153Revenue is running in Normal revenue mode
Revenue is not based on specific project type...
Revenue is not based on specific organization...
Revenue is not based on specific customer...
Revenue is not based on specific Agreement...
Revenue is running for MCB/Non MCB projects...
Revenue is running for Unrelease revenue mode...
Revenue is not creating the detail report ...
Revenue Processing Parameter List
=================================
-------------- < parameter list > -----------------------
Accru Through Date ----------------------------------------> 2009/08/31
Project ID ------------------------------------------------> 196
From Project Number --------------------------------------->
To Project Number ----------------------------------------->
Adjusting Revenue Run -------------------------------------> No
Project Type ID -----------------------------------------> 0
Organization ID ------------------------------------------> 0
Customer ID ----------------------------------------------> 0
Agreement ID ----------------------------------------------> 0
Multi Currency Projects -----------------------------------> No
Release Draft Revenue -------------------------------------> No
Include Detail Report -------------------------------------> No
-------------- < End of parameter list > -----------------------
...Request ID = 714111
This concurrent request is not being rescheduled
Current system time is 10-AUG-2009 17:12:11
...about to delete revenue for project id 196
...0 draft revenues deleted
Current system time is 10-AUG-2009 17:12:11
...about to process adjustments
SELECT p.project_id, p.segment1,
p.distribution_rule, p.project_level_funding_flag,p.project_currency_code,
p.project_bil_rate_date_code,
p.project_bil_rate_type,
to_char(p.project_bil_rate_date,'YYYY/MM/DD'),
p.project_bil_exchange_rate,
p.projfunc_currency_code,
p.projfunc_bil_rate_date_code,
p.projfunc_bil_rate_type,
to_char(p.projfunc_bil_rate_date,'YYYY/MM/DD'),
p.projfunc_bil_exchange_rate,
p.revproc_currency_code,
p.funding_rate_date_code,
p.funding_rate_type,
to_char(p.funding_rate_date,'YYYY/MM/DD'),
p.funding_exchange_rate,
p.multi_currency_billing_flag,
p.assign_precedes_task,
p.enable_top_task_customer_flag,
p.enable_top_task_inv_mth_flag,
nvl(p.inv_by_bill_trans_curr_flag, 'N'),
nvl(p.revtrans_currency_type, 'PROJ_FUNC_CURR_ONLY')
FROM pa_projects p, pa_project_types t
WHERE p.project_id = :project_id
AND pa_project_utils.check_prj_stus_action_allowed(p.project_status_code,'GENERATE_REV') = 'Y'
AND :start_project_number||'x' != :end_project_number||'y'
AND p.project_type = t.project_type
AND t.project_type_class_code = 'CONTRACT'
AND EXISTS (SELECT /*+ INDEX(pf pa_summary_project_fundings_u1)*/ NULL
FROM pa_summary_project_fundings pf
WHERE pf.project_id = p.project_id
AND nvl(pf.revproc_baselined_amount, 0) != 0)
AND NOT EXISTS
(SELECT NULL
FROM pa_draft_revenues r2
WHERE r2.project_id = p.project_id
AND r2.released_date||'' is null
AND r2.generation_error_flag||'' = decode(:mass_gen,
1, 'Y', r2.generation_error_flag)
AND (EXISTS (SELECT NULL
FROM pa_expenditure_items_all i
WHERE i.project_id = p.project_id
AND i.cost_distributed_flag ||''= 'Y'
AND i.revenue_distributed_flag = 'N'
AND i.expenditure_item_date
<= NVL(TO_DATE(:acc_thru_dt,'YYYY/MM/DD'),sysdate)
AND (EXISTS (SELECT /*+ LEADING(l)*/ NULL
FROM pa_draft_revenues r, pa_cust_rev_dist_lines l
WHERE r.project_id = i.project_id
AND ((l.expenditure_item_id = i.adjusted_expenditure_item_id AND i.adjusted_expenditure_item_id is not null )
OR (l.expenditure_item_id = i.expenditure_item_id))
AND NVL(l.reversed_flag,'N') = 'N'
AND l.line_num_reversed IS NULL
AND r.project_id = l.project_id
AND r.draft_revenue_num = l.draft_revenue_num
AND (r.released_date||'' is not null
OR r.generation_error_flag||'' = decode(:mass_gen,
1, 'N', 'E')))
or exists (
select 1 from pa_expenditure_items ei2
where ei2.project_id = i.project_id
and ei2.expenditure_item_id=i.adjusted_expenditure_item_id
and ei2.revenue_distributed_flag='Y'
and ei2.raw_revenue=0))
union all
SELECT /*+ LEADING(v)*/NULL
FROM pa_events v
WHERE v.project_id = p.project_id
AND ((v.revenue_distributed_flag = 'N'
AND v.completion_date
<= NVL(TO_DATE(:acc_thru_dt,'YYYY/MM/DD'),sysdate))
OR (substr(p.distribution_rule,1,4) = 'COST'
AND v.revenue_distributed_flag = 'Y'
AND v.completion_date
> NVL(TO_DATE('2009/08/31','YYYY/MM/DD'), sysdate)))
AND (DECODE(NVL(v.bill_trans_rev_amount, 0), 0 ,
DECODE(NVL(v.zero_revenue_amount_flag, 'N'), 'Y', 1, 0),1) = 1)
AND NVL(revenue_hold_flag, 'N') = 'N'
AND EXISTS (
SELECT NULL
FROM pa_tasks t
WHERE v.task_id is not NULL
AND t.ready_to_distribute_flag = 'Y'
AND v.task_id = t.task_id
UNION ALL
SELECT NULL
FROM pa_tasks t1
WHERE v.task_id is NULL
AND t1.ready_to_distribute_flag = 'Y'
AND v.project_id = t1.project_id )
AND Exists (select null from pa_draft_revenues r,pa_cust_event_rev_dist_lines l
where l.project_id = v.project_id
AND ( l.task_id = v.task_id OR v.task_id is NULL )
AND l.event_num = v.event_num
AND NVL(l.reversed_flag,'N') = 'N'
AND l.line_num_reversed IS NULL
AND r.project_id = v.project_id
AND r.draft_revenue_num = l.draft_revenue_num
AND (r.released_date||'' is not null
OR r.generation_error_flag||'' = decode(:mass_gen,
1, 'N', 'E')))
union all
SELECT /*+ USE_CONCAT */ NULL
FROM PA_Billing_Extensions be, PA_Billing_Assignments bea
WHERE bea.active_flag = 'Y'
AND bea.billing_extension_id = be.billing_extension_id
AND (bea.project_id = p.project_id
OR bea.project_type = p.project_type
OR bea.distribution_rule = p.distribution_rule)
AND be.calling_process in ('Revenue','Both')
AND nvl(be.call_after_adj_flag, 'N') = 'Y'
AND be.trx_independent_flag = 'Y'))
Current system time is 10-AUG-2009 17:12:11
...0 projects processed for adjustments
Current system time is 10-AUG-2009 17:12:11
...about to generate revenue for project id 196
...Fetching next project
Current system time is 10-AUG-2009 17:12:11
...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'PRE', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'PRE', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
Leaving pauoarchn()
...no rows to process for this project.
Current system time is 10-AUG-2009 17:12:11
...generated revenue for project id 196, number 72DM000001
...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'REG', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'REG', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
l_inv_by_btc_flag is ...N
l_mcb_flag is ...Y
l_rpc_code is ...GBP
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
...Else loop 1
...else loop 2
...else loop 4
...else loop 5
...non_zero_amount
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
...Else loop 1
...else loop 2
...else loop 4
...else loop 5
...non_zero_amount
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Current system time is 10-AUG-2009 17:12:11
...generated revenue for automatic events for project id 196, number 72DM000001 calling loc REG
...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'POST-REG', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'POST-REG', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
...generated revenue for automatic events for project id 196, number 72DM000001 calling loc POST-REG
...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'POST', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'POST', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...Fetching next project
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
...about to call AutoAccounting
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Entering pafvsu
Allocating pafvcs structure
Allocating memory for structure, fdfkai
Allocating memory for structure, fdfkao
Allocating flex input and output structure
Assigning ptype
Calling pagtfn
Nullig out
Setting everything that does not need to be allocated
Allocating optional arrays
Checking a_line_id
Checking a_trans_ind
Checking a_param_lst
Checking a_extra_atr
Allocating required array
Allocating auto accounting elements
Describing kff and control processing options
Tune flex validation system options
Allocate main cache
Allocate additional memory for main cache
Allocate ksv if needed
Store pointer to text strings in last ksv element so we can free later
val [¿], segval [00000000]
val [00000000], segval [000000]
val [000000], segval [7210OCOA01]
val [7210OCOA01], segval [0000]
val [0000], segval [72OXLFTG]
val [72OXLFTG], segval [66101010]
val [66101010], segval [7210]
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
...returned from AutoAccounting
...about to update pe_expenditures_all for intercompany processing
Current system time is 10-AUG-2009 17:12:11
Entering parddl()
...setting error codes and bad code combination id to null
... Update draft revenues for marking autoaccounting error if any
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update draft revenues without generation error to normal state
Current system time is 10-AUG-2009 17:12:11
1 rows updated.
... Update pa_cust_event_rev_dist_lines for setting bad CCID to null
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_events for marking AutoAccounting error if any
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_events for setting revenue_distributed_flag to 'N'
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_cust_rev_dist_lines for setting bad CCID to null
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_expenditure_items_all for marking AutoAccounting error if any
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_expenditure_items_all for setting revenue_distributed_flag to 'N'
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
Leaving parddl()
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
0 rows updated with Generation error due to ccid=-1
Current system time is 10-AUG-2009 17:12:11
0 rows updated with Generation error PA_REV_GEN_ERROR
Current system time is 10-AUG-2009 17:12:11
...1 projects processed for revenue generation
Deleting automatic event for which revenue has generation error
Current system time is 10-AUG-2009 17:12:11
...about to update proj summary funding amounts
executing pa_billing.check_spf_amounts('B',196, , ) Calling check_spf_amounts...Inside the Single projects If
Current system time is 10-AUG-2009 17:12:11
...about to generate reports
SEL-SUC:72DM000001 4 1048 AP Exploration Operating DML 101 31-AUG-09 121659.83
Current system time is 10-AUG-2009 17:12:12
...completed generating reports
Process completed.
0 rows deleted from distribution_warnings table.
Start of log messages from FND_FILE
Request id is :714111
Before calling the insert event for top task_id :19839
Parameters to the insert event API :
Revenue amount is :12106.73
Bill amount is :12106.73
Project id is :196
Event Type is :BILLING
Top Task id is :19839
organization id is :239
completion date is :31-AUG-2009
event description is :Financing Fee
Return status after calling insert event is :0
error message after calling insert event is :
Before calling the insert event for top task_id :14612
Parameters to the insert event API :
Revenue amount is :109553.1
Bill amount is :109553.1
Project id is :196
Event Type is :BILLING
Top Task id is :14612
organization id is :239
completion date is :31-AUG-2009
event description is :Expenditure
Return status after calling insert event is :0
error message after calling insert event is :
End of log messages from FND_FILE
Executing request completion options...
------------- 1) PRINT -------------
Printing output file.
Request ID : 714111
Number of copies : 0
Printer : noprint
Finished executing request completion options.
Concurrent request completed successfully
Current system time is 10-AUG-2009 17:12:12
---------------------------------------------------------------------------Duplicate thread.
fnd_request.submit_request error with PA_SRS_DATES2 value set
fnd_request.submit_request error with PA_SRS_DATES2 value set -
ERS generated document with zero value for SES
Hi,
I have maintained service entry sheet.
Accounting entry is generated.
When I run T code MRRL, it has generated document with zero value.
This is not a free goods PO.
Why this is happening?
Please guide on this issue.
Regards,
PiyushHi,
Creating an ERS zero document is an expected system behavior ,you
could create an ERS zero document by doing the following wrong
procedure:
1. Create PO with ERS falg ON.
2. Perform GR for PO.
3. Create the invoice by MIRO.(Not MRRL).
4. Run MRRL (LIV-ERS).
For every purchase order with flag 'ERS' a table entry is generated.
If a goods receipt is posted, this GR should be invoiced via ERS
(Tr. MRRL). Manually posted invoices should be avoided, because
the table entry will not be deleted. A new invoice receipt must be
created while running ERS (but with amount and quantity zero and without
FI documents) in order to give a message to the vendor because he
has sent you an invoice by mistake.
Could you please check also the note:1069215
Best regards
Erika -
How do you populate a page item in apex with a value read from excel
Dear All
I am working on application where I am uploading a csv file in oracle apex. I then need to access a value in Cell B2 of the csv file and populate a page item called
:P2100_AUTHORISATION_ID with this value. Many of the examples I have found upload the data using v_data-array into a table but I don't need to do that I just need to get the value from the csv file and then display additional information about the file allowing the user to either or continue or cancel the request to upload. I am running into a small problem that I can't explain and wondered if anyone had any ideas.
Here is the code I am using to try and populate and item called :P2100_AUTHORISATION_ID but when I poulate the item the value is always 0. But if I replace the line :P2100_AUTHORISATION_ID:= v_data_array(2) with a raise_application_error(-20001,v_data_array(2)); The correct value is displayed in the eror. Any Help would be appreciate and I apologise in advance if this akes no sense at all:-)
declare
--variables needed to read excel data from flow files
v_blob_data BLOB;
v_blob_len NUMBER;
v_position NUMBER;
v_raw_chunk RAW(10000);
v_char CHAR(1);
c_chunk_len number := 1;
v_line VARCHAR2 (32767) := NULL;
v_data_array wwv_flow_global.vc_arr2;
v_rows number;
v_sr_no number := 1;
begin
--------------------------------------get file info from www_flow_files
select blob_content into v_blob_data from wwv_flow_files
where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
v_blob_len := dbms_lob.getlength(v_blob_data);
v_position := 1;
--Read and convert binary to char
WHILE ( v_position <= v_blob_len ) LOOP
v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
v_char := chr(p_bl_wd_data_entry.hex_to_decimal(rawtohex(v_raw_chunk)));
v_line := v_line || v_char;
v_position := v_position + c_chunk_len;
-- When a whole line is retrieved
IF v_char = CHR(10) THEN
-- Convert comma to : to use wwv_flow_utilities </span>
v_line := REPLACE (v_line, ',', ':');
-- Convert each column separated by : into array of data </span>
v_data_array := wwv_flow_utilities.string_to_table (v_line);
--get filename from wwv_flow_files
select filename into :P2100_FILE_NAME from wwv_flow_files where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
:P2100_AUTHORISATION_ID:= v_data_array(2);
-- Clear out
-- v_line := NULL;
--v_sr_no := v_sr_no + 1;
END IF;
END LOOP;
end;
Best Regards
LynnHi Joel
Continuing on from my last question, there was something else I want to ask if you dont mind.
Now that I have the v_data_array(2) value in a page item I would like to use as an input value to a procedure to return some information I need displayed on the page. To do this I need to convert it to a number but when I try to so this I get the following error
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
When I use the wwv_flow.debug that you told me about it is outputting a value '4851 ' so it look like there may be some sort of asii character causing a problem. I have tried using trim(v_data_array(2)) and ascii(v_data_array(2)) but nothing seems to work.
Would you know how to convert a v_data_array value to a number? At the moment I am attemting to do it withiin the same code I attached in my earlier post but I have replaced the assignment of :P2100_AUTHORISATION_ID with the code below where P_BL_WD_DATA_ENTRY.getauthid is the procedure returning the values I need.
:P2100_AUTHORISATION_ID:= P_BL_WD_DATA_ENTRY.getauthid(to_number(v_data_array(2)));
Thanks
Lynn
Maybe you are looking for
-
Problem in generating a PDF From XSTRING From RFC
Hi All, I have done the ADS Configuration successfully. When I try to create empty interactive using one text field, and deployed it, the application displays the PDF form. Now I want to display a PDF report, for this I am calling a RFC which returns
-
Hi, HW: Sun Solaris 2.8 I would really appreciate it you can cc: me if you can shed any light as to whats going wrong, and what I should do to fix the following problem. Portal server doesn't allow one to access /console (or /login) - 0 length docume
-
IPhoto 11 Upgrade/Transfer Issue
Hi there, I have just bought a new iMac and migrated over all of my content from my old MacBook where i had my Photo library installed on an external drive. This included an upgrade from Photo 9 to 11 and I installed the 9.1 update first as well. The
-
I updated Firefox but now it says it will not work b/c the application may be damaged or incomplete. What can I do. It worked perfectly before I updated the app.
-
Looking up an object that isn't in the JNDI tree
We currently have this current hypothesis. Could someone verify this? If you make a call using JNDI and try to retrieve something that's not registered ("com.foobar.weblogic.SomeClass"), it will be dynamically instantiated and returned, as long as th