Non labor Resource - Expenditure Types
Hi,
when i was doing the Project Types setup > Billing Information > Non Labor Section. I don't want to track the Expenditure type - Non labor resources usage cost and so I haven't attached the Expenditure type classes of usages to the the Expenditure Types. As i don't want to track those usage expenditure type, i have not created any rate schedule for Non labor.but, It is mandatory to enter the Non labor Bill Rate Schedule in that window.
What shall i do, i need to create a dummy rate schedule and close it or any other way for this?
Thanks,
Lavanya
Hi Lavanya,
By default, its a mandatory for the contract project types to have the labor and non-labor billing information filled in while creating the Project Types.
But if you have not associated the usage class , then it is fine that it will not use the non-labor bill rate schedule you are attaching to the project type. But if you have the expenditure type class of 'Miscellaneous Transaction' for any expenditure type it will use that Non labor schedule information attached to the project type.
But you can always override these values at the template level/project level.
Thanks,
Sathish Raju
Similar Messages
-
Showing multiple expenditure types in OTL Projects Timecard Layout
Does anyone know how to limit the expenditure types that show up in the standard OTL Projects Timecard Layout? I have two expenditure types for straight time classifications, Labor and Contingent Labor and I only want to show Labor for employee timecards. I can limit the expenditure type in the Projects-Purchasing Layout using Alternate Names, but that doesn't seem to work for the standard projects layout? Any help would be appreciated! Thanks for your assitance!
We were able to customize the list through the view for the expenditure types.
-
ExpTypeElementLOVVO - Expenditure type in timecard
Hi All,
Expenditure type LOV on timecard is using ExpTypeElementLOVVO view object which runs below mentioned sql at the time user hits a flashlight and puts in a search citeria.
ExpTypeElementLOVVO
select distinct havtl.alias_value_name aliasValueName,havtl.alias_value_id aliasvalueid,
display_column displaycolumn, expenditure_type, pa.description, uom_code,
unit_of_measure, cost_rate_flag, system_linkage_m, system_linkage_function,
sys_link_start_date_active, sys_link_end_date_active,
expnd_typ_start_date_active, expnd_typ_end_date_active, project_id
,had.alias_definition_id
,ELEMENT.EFFECTIVE_START_DATE ELEMENT_EFFECTIVE_START_DATE
,ELEMENT.EFFECTIVE_END_DATE ELEMENT_EFFECTIVE_END_DATE
,hav.date_from
,hav.date_to
--,ASGT.EFFECTIVE_START_DATE ASGT_EFFECTIVE_START_DATE
--,ASGT.EFFECTIVE_END_DATE ASGT_EFFECTIVE_END_DATE
,LINK.EFFECTIVE_START_DATE LINK_EFFECTIVE_START_DATE
,LINK.EFFECTIVE_END_DATE LINK_EFFECTIVE_END_DATE
,LINK.PEOPLE_GROUP_ID LINK_PEOPLE_GROUP_ID
,ASGT.ASSIGNMENT_ID ASGT_ASSIGNMENT_ID
,LINK.ELEMENT_LINK_ID LINK_ELEMENT_LINK_ID
,ELEMENT.POST_TERMINATION_RULE ELEMENT_POST_TERMINATION_RULE
,SERVICE_PERIOD.LAST_STANDARD_PROCESS_DATE SP_LAST_STANDARD_PROCESS_DATE
,SERVICE_PERIOD.FINAL_PROCESS_DATE SP_FINAL_PROCESS_DATE
,SERVICE_PERIOD.ACTUAL_TERMINATION_DATE SP_ACTUAL_TERMINATION_DATE
,asgt.person_id asgt_person_id
,had.alias_definition_id had_alias_definition_id
from hxc_alias_values_tl havtl,
hxc_alias_values hav,
hxc_alias_definitions had,
pa_online_expenditure_types_v pa,
PAY_ELEMENT_TYPES_F_TL ELEMENTTL,
PAY_ELEMENT_TYPES_F ELEMENT,
PAY_ELEMENT_CLASSIFICATIONS_TL CLASSIFICATIONTL,
PAY_ELEMENT_CLASSIFICATIONS CLASSIFICATION,
BEN_BENEFIT_CLASSIFICATIONS BENEFIT,
PAY_ELEMENT_LINKS_F LINK,
PER_ALL_ASSIGNMENTS_F ASGT,
PER_PERIODS_OF_SERVICE SERVICE_PERIOD
where hav.alias_definition_id = had.alias_definition_id
and havtl.alias_value_id = hav.alias_value_id
and havtl.language = userenv('LANG')
and hav.attribute2 = pa.expenditure_type
and hav.attribute3 = pa.system_linkage_function
and to_number(hav.attribute1) =ELEMENT.element_type_id
and hav.enabled_flag='Y'
and ELEMENT.ELEMENT_TYPE_ID = ELEMENTTL.ELEMENT_TYPE_ID
AND ELEMENTTL.LANGUAGE = USERENV('LANG')
AND CLASSIFICATION.CLASSIFICATION_ID = CLASSIFICATIONTL.CLASSIFICATION_ID (+)
AND DECODE(CLASSIFICATIONTL.CLASSIFICATION_ID,NULL,'1',CLASSIFICATIONTL.LANGUAGE) =
DECODE(CLASSIFICATIONTL.CLASSIFICATION_ID,NULL,'1',USERENV('LANG'))
AND ASGT.BUSINESS_GROUP_ID = LINK.BUSINESS_GROUP_ID
AND ELEMENT.ELEMENT_TYPE_ID = LINK.ELEMENT_TYPE_ID
AND ELEMENT.BENEFIT_CLASSIFICATION_ID = BENEFIT.BENEFIT_CLASSIFICATION_ID (+)
AND ELEMENT.CLASSIFICATION_ID = CLASSIFICATION.CLASSIFICATION_ID
AND SERVICE_PERIOD.PERIOD_OF_SERVICE_ID = ASGT.PERIOD_OF_SERVICE_ID
AND ELEMENT.INDIRECT_ONLY_FLAG = 'N'
AND UPPER (ELEMENT.ELEMENT_NAME) <> 'VERTEX'
AND not exists
(select 1
from HR_ORGANIZATION_INFORMATION HOI,
PAY_LEGISLATION_RULES PLR
WHERE plr.rule_type in
('ADVANCE','ADVANCE_INDICATOR','ADV_DEDUCTION',
'PAY_ADVANCE_INDICATOR','ADV_CLEARUP','DEFER_PAY')
AND plr.rule_mode = to_char(element.element_type_id)
AND plr.legislation_code = hoi.org_information9
AND HOI.ORGANIZATION_ID = ASGT.ORGANIZATION_ID
AND ELEMENT.CLOSED_FOR_ENTRY_FLAG = 'N'
AND ELEMENT.ADJUSTMENT_ONLY_FLAG = 'N'
AND ((LINK.PAYROLL_ID IS NOT NULL AND LINK.PAYROLL_ID = ASGT.PAYROLL_ID)
OR (LINK.LINK_TO_ALL_PAYROLLS_FLAG = 'Y' AND ASGT.PAYROLL_ID IS NOT NULL)
OR (LINK.PAYROLL_ID IS NULL AND LINK.LINK_TO_ALL_PAYROLLS_FLAG = 'N'))
AND (LINK.ORGANIZATION_ID = ASGT.ORGANIZATION_ID OR LINK.ORGANIZATION_ID IS NULL)
AND (LINK.POSITION_ID = ASGT.POSITION_ID OR LINK.POSITION_ID IS NULL)
AND (LINK.JOB_ID = ASGT.JOB_ID OR LINK.JOB_ID IS NULL)
AND (LINK.GRADE_ID = ASGT.GRADE_ID OR LINK.GRADE_ID IS NULL)
AND (LINK.LOCATION_ID = ASGT.LOCATION_ID OR LINK.LOCATION_ID IS NULL)
AND (LINK.PAY_BASIS_ID = ASGT.PAY_BASIS_ID OR LINK.PAY_BASIS_ID IS NULL)
AND (LINK.EMPLOYMENT_CATEGORY = ASGT.EMPLOYMENT_CATEGORY OR
LINK.EMPLOYMENT_CATEGORY IS NULL)
AND (ELEMENT.PROCESSING_TYPE = 'R' OR ASGT.PAYROLL_ID IS NOT NULL)
I was just wondering that on what basis this query is executed....I mean if i just cut and paste this sql and run....it fetches hundreds of records....wherein when I login and open my timecard and hit on expenditure type flashlight and enter %...I get only limited number of types as corresponds to the alternate name defined for my profile under preferences -> people criteria ( OTL Timecard resp ).
Even if I grab my person_id and put in the where clause above.....I see more values than those shown via timecard screen.
Thanks in advancePersonlization and customization won't work here. In what action, do you want to make those fields non editable?
--Shiv -
Hi all
We defined an Expenditure type with UOM as Amount instead of Hours. Is there any way we can change the UOM to Hours? From the application we are unable to update the UOM. We have also tried to delete the Expenditure type and recreate. But the expenditure type can not be deleted!
Please help.Hi
If you haven't yet used the expenditure type for actual labor costs or for budgeting you may forcely update the UOM directly on database. This is not recomended if the expenditure type was already used.
Dina -
Unicode and non-unicode string data types Issue with 2008 SSIS Package
Hi All,
I am converting a 2005 SSIS Package to 2008. I have a task which has SQL Server as the source and Oracle as the destination. I copy the data from a SQL server view with a field nvarchar(10) to a field of a oracle table varchar(10). The package executes fine
on my local when i use the data transformation task to convert to DT_STR. But when I deploy the dtsx file on the server and try to run from an SQL Job Agent it gives me the unicode and non-unicode string data types error for the field. I have checked the registry
settings and its the same in my local and the server. Tried both the data conversion task and Derived Column task but with no luck. Pls suggest me what changes are required in my package to run it from the SQL Agent Job.
Thanks.What is Unicode and non Unicode data formats
Unicode :
A Unicode character takes more bytes to store the data in the database. As we all know, many global industries wants to increase their business worldwide and grow at the same time, they would want to widen their business by providing
services to the customers worldwide by supporting different languages like Chinese, Japanese, Korean and Arabic. Many websites these days are supporting international languages to do their business and to attract more and more customers and that makes life
easier for both the parties.
To store the customer data into the database the database must support a mechanism to store the international characters, storing these characters is not easy, and many database vendors have to revised their strategies and come
up with new mechanisms to support or to store these international characters in the database. Some of the big vendors like Oracle, Microsoft, IBM and other database vendors started providing the international character support so that the data can be stored
and retrieved accordingly to avoid any hiccups while doing business with the international customers.
The difference in storing character data between Unicode and non-Unicode depends on whether non-Unicode data is stored by using double-byte character sets. All non-East Asian languages and the Thai language store non-Unicode characters
in single bytes. Therefore, storing these languages as Unicode uses two times the space that is used specifying a non-Unicode code page. On the other hand, the non-Unicode code pages of many other Asian languages specify character storage in double-byte character
sets (DBCS). Therefore, for these languages, there is almost no difference in storage between non-Unicode and Unicode.
Encoding Formats:
Some of the common encoding formats for Unicode are UCS-2, UTF-8, UTF-16, UTF-32 have been made available by database vendors to their customers. For SQL Server 7.0 and higher versions Microsoft uses the encoding format UCS-2 to store the UTF-8 data. Under
this mechanism, all Unicode characters are stored by using 2 bytes.
Unicode data can be encoded in many different ways. UCS-2 and UTF-8 are two common ways to store bit patterns that represent Unicode characters. Microsoft Windows NT, SQL Server, Java, COM, and the SQL Server ODBC driver and OLEDB
provider all internally represent Unicode data as UCS-2.
The options for using SQL Server 7.0 or SQL Server 2000 as a backend server for an application that sends and receives Unicode data that is encoded as UTF-8 include:
For example, if your business is using a website supporting ASP pages, then this is what happens:
If your application uses Active Server Pages (ASP) and you are using Internet Information Server (IIS) 5.0 and Microsoft Windows 2000, you can add "<% Session.Codepage=65001 %>" to your server-side ASP script.
This instructs IIS to convert all dynamically generated strings (example: Response.Write) from UCS-2 to UTF-8 automatically before sending them to the client.
If you do not want to enable sessions, you can alternatively use the server-side directive "<%@ CodePage=65001 %>".
Any UTF-8 data sent from the client to the server via GET or POST is also converted to UCS-2 automatically. The Session.Codepage property is the recommended method to handle UTF-8 data within a web application. This Codepage
setting is not available on IIS 4.0 and Windows NT 4.0.
Sorting and other operations :
The effect of Unicode data on performance is complicated by a variety of factors that include the following:
1. The difference between Unicode sorting rules and non-Unicode sorting rules
2. The difference between sorting double-byte and single-byte characters
3. Code page conversion between client and server
Performing operations like >, <, ORDER BY are resource intensive and will be difficult to get correct results if the codepage conversion between client and server is not available.
Sorting lots of Unicode data can be slower than non-Unicode data, because the data is stored in double bytes. On the other hand, sorting Asian characters in Unicode is faster than sorting Asian DBCS data in a specific code page,
because DBCS data is actually a mixture of single-byte and double-byte widths, while Unicode characters are fixed-width.
Non-Unicode :
Non Unicode is exactly opposite to Unicode. Using non Unicode it is easy to store languages like ‘English’ but not other Asian languages that need more bits to store correctly otherwise truncation will occur.
Now, let’s see some of the advantages of not storing the data in Unicode format:
1. It takes less space to store the data in the database hence we will save lot of hard disk space.
2. Moving of database files from one server to other takes less time.
3. Backup and restore of the database makes huge impact and it is good for DBA’s that it takes less time
Non-Unicode vs. Unicode Data Types: Comparison Chart
The primary difference between unicode and non-Unicode data types is the ability of Unicode to easily handle the storage of foreign language characters which also requires more storage space.
Non-Unicode
Unicode
(char, varchar, text)
(nchar, nvarchar, ntext)
Stores data in fixed or variable length
Same as non-Unicode
char: data is padded with blanks to fill the field size. For example, if a char(10) field contains 5 characters the system will pad it with 5 blanks
nchar: same as char
varchar: stores actual value and does not pad with blanks
nvarchar: same as varchar
requires 1 byte of storage
requires 2 bytes of storage
char and varchar: can store up to 8000 characters
nchar and nvarchar: can store up to 4000 characters
Best suited for US English: "One problem with data types that use 1 byte to encode each character is that the data type can only represent 256 different characters. This forces multiple
encoding specifications (or code pages) for different alphabets such as European alphabets, which are relatively small. It is also impossible to handle systems such as the Japanese Kanji or Korean Hangul alphabets that have thousands of characters."<sup>1</sup>
Best suited for systems that need to support at least one foreign language: "The Unicode specification defines a single encoding scheme for most characters widely used in businesses around the world.
All computers consistently translate the bit patterns in Unicode data into characters using the single Unicode specification. This ensures that the same bit pattern is always converted to the same character on all computers. Data can be freely transferred
from one database or computer to another without concern that the receiving system will translate the bit patterns into characters incorrectly.
https://irfansworld.wordpress.com/2011/01/25/what-is-unicode-and-non-unicode-data-formats/
Thanks Shiven:) If Answer is Helpful, Please Vote -
Non-yielding Resource Monitor - Issue on PROD server
Hi
My PROD server frequently restarting after generating below dump.
Pls help me to resolve the issues
=====================================================================
BugCheck Dump
=====================================================================
This file is generated by Microsoft SQL Server
version 9.00.5000.00
upon detection of fatal unexpected error. Please return this file,
the query or program that produced the bugcheck, the database and
the error log, and any other pertinent information with a Service Request.
Computer type is AT/AT COMPATIBLE.
Current time is 11:33:40 01/23/12.
8 Unknown CPU 9., 3 Mhz processor (s).
Windows NT 5.2 Build 3790 CSD Service Pack 2.
Memory
MemoryLoad = 99%
Total Physical = 65533 MB
Available Physical = 505 MB
Total Page File = 121256 MB
Available Page File = 46 MB
Total Virtual = 8388607 MB
Available Virtual = 8321060 MB
**Dump thread - spid = 0, PSS = 0x0000000000000000, EC = 0x0000000000000000
***Stack Dump being sent to E:\MSSQL2K5\MSSQL.1\MSSQL\LOG\SQLDump0111.txt
* BEGIN STACK DUMP:
* 01/23/12 11:33:40 spid 0
* Non-yielding Resource Monitor
* Short Stack DumpHi, everyone.
Do you have a solution for the mentioned problem? My dump looks like the dump in the first message. Server that runs ms sql server instance stops responding to any input, and I should reboot it. And yes I have MAX memory for the sql server set to 49152
My dump:
This file is generated by Microsoft SQL Server
version 11.0.3128.0
upon detection of fatal unexpected error. Please return this file,
the query or program that produced the bugcheck, the database and
the error log, and any other pertinent information with a Service Request.
Computer type is Intel(R) Xeon(R) CPU X5650 @ 2.67GHz.
Bios Version is INTEL - 0
BIOS Date: 09/30/09 12:52:30 Ver: 08.00.10
24 X64 level 8664, 2 Mhz processor (s).
Windows NT 6.2 Build 9200 CSD .
Memory
MemoryLoad = 99%
Total Physical = 73663 MB
Available Physical = 63 MB
Total Page File = 137151 MB
Available Page File = 61709 MB
Total Virtual = 8388607 MB
Available Virtual = 8302677 MB
**Dump thread - spid = 0, EC = 0x0000000000000000
***Stack Dump being sent to C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\LOG\SQLDump0023.txt
* BEGIN STACK DUMP:
* 03/16/15 00:05:40 spid 844
* Non-yielding Resource Monitor
* Short Stack Dump
Thanks! -
How can i restrict the Expenditure Type values at a specific OU ?
Dear Guys,
I would like to ask about the Expenditure Types,
I have implemented two projects for different Operating Units ,
when navigating to any Projects responsibilty,and navigating the Expenditure Type field
the values exist are all the values implemented across the OU not the values entered at this OU
How can i restrict the Expenditure Type values at a specific OU
Regards
Amr HussienHello
When you set up a project there is an option called Transaction Control.
This option allow you to list the allowed or restricted elements of costs for the project.
You may enter the transaction control on a project template and that will be copied to any new project.
The cost elements may be expenditure types, expenditures categories, suppliers, employees, etc.
In your case, I suggest to set up specific project templates for each operating units. On each template enter the list of allowed expenditures types for that OU.
Doing so, the system restricts users from entering any expenditure item, supplier invoice, purchase cost etc, against an expenditure type, which is not allowed.
Dina -
Non-build-in-data type mapping error
Hi,
I started a new web service design using a pre-defined Schema. I created a schema project and use XML bean as my web service method parameter.
It works fine in workshop test IDE. But when I deployed it and tried to generate client jar, it gave me Failed to do type mapping error.
What steps I should do to fix this non-build-in data type problem?
thanks
MayHi,
I started a new web service design using a pre-defined Schema. I created a schema project and use XML bean as my web service method parameter.
It works fine in workshop test IDE. But when I deployed it and tried to generate client jar, it gave me Failed to do type mapping error.
What steps I should do to fix this non-build-in data type problem?
thanks
May -
How 2 avoid a Non-XA resource from listing in Global Transaction?
<pre>
Hey,
I am using container managed transaction in a stateless session bean. We are using two datasources, one xa and non-xa. I am using these two datasources in a single transaction and i am getting an exception that both can't participate in the same transaction.
Is there a way that I don't want to enlist my non-xa resource with transaction manager?
I have come across the following approach.
I have seen Simulate Two Phase for Non XA, but you are saying to be careful with this option as for Example, Non-XA and XA says OK during prepare phase(phase I) and then XA resources decides to roll back in phase II, Non-XA can't revert as it is already commited,
But I have also come across LAST PARTICIPANT NON-XA along with mutliple XAs option in websphere, like this if I update my Non-XAs in the end, will WEBLOGIC takes care of all XAs and Non-XAs as single atomic operation or it does partially ???
Appreciate your help.
Thanks,
Rao Kotha.
</pre>You can make the non-XA driver based data-source 'not to honor the global
transaction'. Which version of weblogic are you using?
By default, when you create a data source, it is a TxDataSource (it honors
global tx). In the console, there is a check box to disable the default
behavior which will make the data source not to participate in transactions.
--Sathish
<Janardhana Rao Kotha> wrote in message news:[email protected]..
<pre>
Hey,
I am using container managed transaction in a stateless session bean. We
are using two datasources, one xa and non-xa. I am using these two
datasources in a single transaction and i am getting an exception that
both can't participate in the same transaction.
Is there a way that I don't want to enlist my non-xa resource with
transaction manager?
I have come across the following approach.
I have seen Simulate Two Phase for Non XA, but you are saying to be
careful with this option as for Example, Non-XA and XA says OK during
prepare phase(phase I) and then XA resources decides to roll back in phase
II, Non-XA can't revert as it is already commited,
But I have also come across LAST PARTICIPANT NON-XA along with mutliple
XAs option in websphere, like this if I update my Non-XAs in the end, will
WEBLOGIC takes care of all XAs and Non-XAs as single atomic operation or
it does partially ???
Appreciate your help.
Thanks,
Rao Kotha.
</pre> -
Java.lang.IllegalStateException: cannot add non-XA Resource to global JTS t
Hi,
I am using JCAPS 5.1.2.
As one of my project requirement I am invoking a jcd from page flow and that jcd uses 2 oracle otd, each oracle otd corresponds to database which resides in two different machines/hosts.
When jcd is invoked from page flow, i got following error,
"java.lang.IllegalStateException: cannot add non-XA Resource to global
JTS transaction."
[#|2007-07-17T19:13:06.209+0530|SEVERE|IS5.1.2|javax.enterprise.resource.resourceadapter|_ThreadID=17; ThreadName=Worker: 3;stacktrace-id=0;|RAR5029:Unexpected exception while registering component
java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:171)
at com.sun.enterprise.resource.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:97)
at com.sun.enterprise.resource.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:71)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:142)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:202)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:148)
at com.stc.gjc.spi.DataSource.getConnection(DataSource.java:67)
at com.stc.connector.oracleadapter.base.SessionImpl.connect(SessionImpl.java:130)
at com.stc.connector.oracleadapter.OracleSession.open(OracleSession.java:98)
at com.stc.connector.oracleadapter.OracleConnector.open(OracleConnector.java:90)
at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.<init>(OracleApplicationConnection.java:63)
at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.<init>(OracleApplicationConnection.java:50)
at com.stc.connector.oracleadapter.appconn.OracleApplicationConnectionFactory.getConnection(OracleApplicationConnectionFactory.java:133)
at com.stc.oracle.runtime.ejb.OracleEWayRuntimeHandler.initializeService(OracleEWayRuntimeHandler.java:256)
Please let me know is there any work around for above problem
Message was edited by:
VenkateshSampoornamHi Paul,
Thanks for your reply. I ddidn't specify XA at page
flow level.
But the problem is rectified for me.
I have two jcds in which one of them connects to two different oracle databases for e.g host A and host B.
JCD1 connects to host A and host B[ 2 oracle otds]
JCD2 connects to host B. [single oracle otd]
I had three external applications for each otd
In deployment profile, i connected two external applications to single external system for HOST B.
When i created one more new external system for host b and moved one external application to that.
After then the problem didn't occur again.
null -
HT2534 why my itunes doesn't have the none button on payment type?
why my itunes doesn't have the none button on payment type?
I haven't gotten anywhere, unfortunately.
Just to confirm we're having the same problem: I'm using a 4th generation iPod touch and I'm using the Nike+ iPod app to link to the Nike+ Sensor that goes in the insert in the shoe.
After I finish a workout, I click "Send to Nike+" which switches to Safari and loads nikeplus.com. I log in and... it doesn't seem to do anything else... Nothing shows up on nikeplus.com.
Has this pretty much been your experience as well? -
I have visa, mastercard, amex, discover and paypal - no "None" option for payment method. What do I do now? Assuming I don't want Apple to have my credit card info for no reason.
I figured out how to do this and I will explain it here so if you are trying to figure out how to get the None payment option then please read this as I will explain it in great detail so you can not fail when tryiong to figure it out. By the way I had to do this 7 times to finally figure it out, I was literally on my last try and I told myself if it didn't work one more time I was going to just return the iPhone I just bought a day and a half ago. So here it is the walk through that will really work:
Before we start I want to suggest that you do this on your computer not your iPhone. I attempted this on my iPhone the first time and it did not work. Meaning it did not give me the "None" option for payment types. The method that finally worked for me was doing this on my home computer. The following is exactly how I achieved this:
#1 Important read and follow each step individually and exactly before moving on or you may have to repeat the entire process!!!!!
#1 cont. If you already have an Apple ID that you have made with your favorite email account and you are not getting the "None" option after following the steps given on the walk through then guess what you have to scrap that Apple ID, there is no way around it unless you want to give CC info which is why you are here in the 1st place right? I know totally stupid and ******** as heck right? But there you go now you can forget about the other Apple ID you made. You are now going to have to create an entire new email account so you can do this like I did 5 times, but you only need to do it once, thank heavens right!? You have to do this unless you have an email account that you have not already attempted to creat an Apple ID with, if you have an email account that you have not used while attempting to create an Apple ID with then you can use that email account, if not then you need to make a new one, again, I know!?!? How fricken ******** can you get? Thank the Apple folks they designed it this way for God only knows why?
I don't know of anyway to delete an old Apple ID there might be someone on these forums that knows. The way I see it is if I never put personal information in it and it never worked who's ever going to care about it, I made 6 Apple ID's and none of them worked so I just forgot about them. I finally figured it out on the 7th one.
================================================================================ =
#2 OK, step two now. So if you needed to create a whole new email account you're probably feeling about as ****** as I was at this point, except I was 5 times as ******.
So in step number two, you just need to open up iTunes at this point. Once the program is open there is an iTunes store icon/button in the upper right corner of the program. Click on that button. (please note it does not matter if your phone is linked up with your computer).
================================================================================ =
#3 Step three. Click on the App Store optionnear the top of the screen in the center.
================================================================================ =
#4 Scroll down the page until on the right hand side there will be in bold Top Free Apps. Choose any one of the FREE apps and click on it.
================================================================================ =
#5 After clicking on the app it will pop up with a box asking if want to create Apple ID click on that option. Finish all the stuff secret questions and all to create a new Apple ID, yes you have to make a new one.
================================================================================ =
#6 Finally you will get to the page where it looks just like the payment page but the None option will be there now, don't ask why, again, only God and the horrible web page designers at Apple know why. You will still need to fill out the information on that page but you will notice as long as you have chosen the None option that it is not asking for any credit card information this time. Fill out the information and it will send a confirmation email thing to your new email account. Do the confirmation stuff that it requests and vioala you can now use the Home Sharing option in iTunes and sync your files. Wow, kind of a very long and ******** journey but we finally made it, yayyyyy!!!!
Apple should really, really, seriously considered getting this fixed ASAP!! -
Dear All,
How to default distribution account through purchase requisition, selecting the project expenditure type
Thanks
Abdul.Hi Abdul,
If you meant defaulting Purchase Order distribution accounts from the (backing) requisition, then the accounts from requisitions will default into the autocreated PO.
If you seek to default distribution accounts for Purchase Requisition using Projects, then the account generator need to have customized rules defined to default account for project enabled distributions based on the Project/Task/Organization/Expenditure Type/Date combination entered.
This note is an extract from the user's guide, and has good detail on defaulting rules of accounts for Purchase Documents:
How Does The Account Generator Default The Accounts In Oracle Purchasing? (Doc ID 1067139.1)
Hope this helps.
Vanha -
JAX-RPC - dynamic wsdl - non-built-in data types
I thought my recent exp with developing a JAX-RPC client using a dynamic wsdl to communicate to a non-weblogic Web Service might help somebody out there. :-)
JAX-RPC Mechanism in Weblogic for dynamic_wsdl seems to work only with built-in data types. Weblogic also supports non-built-in data types, but you need to do some extra work! For the user-defined objects, you need to generate their types and register them.
Note: The samples given in Weblogic 8.1 do not use non-built-in data types!
Make sure you use the ant task "autotype" in your build.xml to generate the appropriate types (objects to support java-xml and xml-java converstion), types.xml from the wsdl. Register the types.xml file in your calling client code.
If you do not use register the types for the user-defined classes used in the web services method signatures, then you are likely to get the foll. exception.
javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementw
eblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml
.soap.SOAPElement class context=TypedClassContext{schemaType=['http://svcVodafonePooled.wsdlgen.jipi
lot.vodafone.com']:getStock}
C:\Tutorial\WS\dynamic_wsdl>ant run
Buildfile: build.xml
run:
[java] Creating the service...
[java] Creating the call...
[java] invoking the call....
[java] javax.xml.rpc.JAXRPCException: failed to invoke operation 'getStock' due to an error in
the soap layer (SAAJ); nested exception is: Message[ failed to serialize interface javax.xml.soap.SO
APElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface
javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://svcVodafonePooled.ws
dlgen.jipilot.vodafone.com']:getStock}]StackTrace[
[java] javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementw
eblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml
.soap.SOAPElement class context=TypedClassContext{schemaType=['http://svcVodafonePooled.wsdlgen.jipi
lot.vodafone.com']:getStock}
[java] at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:328)
[java] at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:297)
[java] at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:645)
[java] at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:206)
[java] at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:558)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:411)
[java] at Main.main(Main.java:61)
[java] Caused by: weblogic.xml.schema.binding.SerializationException: mapping lookup failure. c
lass=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://svcVod
afonePooled.wsdlgen.jipilot.vodafone.com']:getStock}
[java] at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(RuntimeUtils.java:151)
[java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:187)
[java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
[java] at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:324)
[java] ... 9 more
[java] ]
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:578)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:411)
[java] at Main.main(Main.java:61)
[java] Exception in thread "main"
[java] Java Result: 1The foll. code worked fine for me in Weblogic 8.1 SP3, on Windows 2000.
Note: the 2 important lines of code:
TypeMappingRegistry registry service.getTypeMappingRegistry();
registry.registerDefault(new DefaultTypeMapping("types.xml"));
package auth;
import java.net.URL;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Service;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
import javax.xml.rpc.encoding.TypeMapping;
import javax.xml.rpc.encoding.TypeMappingRegistry;
import weblogic.webservice.core.encoding.stream.SOAPElementCodec;
import javax.xml.rpc.encoding.*;
import weblogic.webservice.encoding.DefaultTypeMapping;
public class DClient1 {
static private void print(String msg) {
System.out.println("DClient1: " + msg);
public static void main(String[] argv) throws Exception {
System.setProperty("javax.xml.soap.MessageFactory", "weblogic.webservice.core.soap.MessageFactoryImpl");
System.setProperty( "javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
ServiceFactory factory = ServiceFactory.newInstance();
String targetNamespace = "http://www.vishwa.com/amazingworld";
QName serviceName = new QName(targetNamespace, "GeminiPasswordService");
QName portName = new QName(targetNamespace, "GeminiPasswordServicePort");
QName operationName = new QName("", "checkPassword");
URL wsdlLocation = new URL("http://localhost:7001/GeminiPasswordService/GeminiPasswordService?WSDL");
print("Creating the service...");
Service service = factory.createService(wsdlLocation, serviceName);
print("Creating the call...");
Call call = service.createCall(portName, operationName);
TypeMappingRegistry registry = service.getTypeMappingRegistry();
registry.registerDefault(new DefaultTypeMapping("types.xml"));
print("invoking the call....");
Object[] inParams = new Object[2];
inParams[0] = "clark1";
inParams[1] = "kent1";
Object result = call.invoke(inParams);
print("Client return value: = " + result.toString());
QName operationName1 = new QName("", "getBook");
print("Creating the call...");
Call call1 = service.createCall(portName, operationName1);
print("invoking the call....");
Name n = new Name();
n.setFirstname("Walker");
n.setAge(50);
Object[] inParams1 = new Object[1];
inParams1[0] = n;
Book b = (Book) call1.invoke(inParams1);
print("author: " + b.getAuthor());
print("money: " + b.getMoney());
} -
Accessing Non-Built-In Data Types webservice??
While trying to inoke a webservice, which takes in non-built-in data types, the
following EXCEPTION is thrown.
[java] javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException:
mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.jay.com/com/jay/obsoon/orderstatus']:DoOBSStat
usWebService}
While trying to inoke a webservice, which takes in non-built-in data types,
ERROR is thrown.
[java] Calling Web Service at: ServiceImpl[
[java] WebService[
[java] name=DoOBSStatusWebService,
[java] javax.xml.rpc.JAXRPCException: failed to invoke operation 'checkJavaObjects'
due to an error in the soap layer (SAAJ); nested exception is: Message[ failed
to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException:
mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.jay.com/com/jay/obsoon/orderstatus']:DoOBSStatusWebService}]StackTrace[
[java] targetNamespace=http://www.jay.com/com/jay/obsoon/orderstatus,
[java] protocol=http,
[java] ]
[java] ]
[java] javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException:
mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.jay.com/com/jay/obsoon/orderstatus']:DoOBSStat
usWebService}
[java] at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:328)
[java] at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:297)
[java] at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:645)
[java] at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:206)
[java] at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:558)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:411)
[java] at com.jay.obsoon.orderstatus.Client.example(Client.java:87)
[java] at com.jay.obsoon.orderstatus.Client.main(Client.java:40)
[java] Caused by: weblogic.xml.schema.binding.SerializationException: mapping
lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.jay.com/com/jay/obsoon/orderstatus']:DoOBS
StatusWebService}
[java] at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(RuntimeUtils.java:151)
[java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:187)
[java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
[java] at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:324)
[java] ... 10 more
[java] ]
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:578)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:411)
[java] at com.jay.obsoon.orderstatus.Client.example(Client.java:87)
[java] at com.jay.obsoon.orderstatus.Client.main(Client.java:40)
[java] Exception in thread "main"
[java] Java Result: 1
CLIENT CODE:
package com.jay.obsoon.orderstatus;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Service;
import javax.xml.namespace.QName;
import javax.xml.rpc.encoding.*;
import java.io.*;
public class Client
private static String TARGET_NAMESPACE = "http://www.jay.com/com/jay/obsoon/orderstatus";
private static QName xsdString = new QName("http://www.w3.org/2001/XMLSchema",
"string");
public static void main(String[] args) throws Exception
System.setProperty("javax.xml.soap.MessageFactory", "weblogic.webservice.core.soap.MessageFactoryImpl");
System.setProperty( "javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
Client client = new Client();
String wsdl = (args.length > 0? args[0] : null);
client.example(wsdl);
public void example(String wsdlURI) throws Exception
ServiceFactory factory = ServiceFactory.newInstance();
QName serviceName = new QName(TARGET_NAMESPACE, "DoOBSStatusWebService");
QName portName = new QName(TARGET_NAMESPACE, "DoOBSStatusWebServicePort");
QName operationName = new QName("checkJavaObjects");
Service service = factory.createService(serviceName); System.out.println("Calling
Web Service at: "+ service);
TypeMappingRegistry tmr = service.getTypeMappingRegistry();
TypeMapping tm = (TypeMapping)tmr.createTypeMapping();
tm.register(Order.class, serviceName, new com.jay.obsoon.orderstatus.OrderCodec(),
new com.jay.obsoon.orderstatus.OrderCodec());
Call call = service.createCall();
call.setPortTypeName(portName);
call.setOperationName(operationName);
call.setTargetEndpointAddress(wsdlURI);
call.addParameter( "order", serviceName, ParameterMode.INOUT );
call.setReturnType( XMLType.XSD_STRING );
Order order = new Order();
order.setOrderID("ABC");
order.setOrderDate("05182004");
log("Hope:" + call.invoke( new Object[] { order } ));
private static void log(String s)
System.out.println(s);
Please let me know what wrong am i doing while accessing the webservice.
Thanks
JayHi Naichen,
You're going to need to register some type mappings in your client code :-)
To know which ones, you should examine the <your-service-name>.xml file, in the
client proxy .JAR, which is produced by the clientgen Ant task. It should contain
XML that looks something like this:
<wsdd:type-mapping-entry xmlns:lcl0="http://www.openuri.org/"
class-name="org.openuri.www.invoke"
type="lcl0:invoke"
serializer="org.openuri.www.invokeCodec"
deserializer="org.openuri.www.invokeCodec">
</wsdd:type-mapping-entry>
<wsdd:type-mapping-entry xmlns:lcl0="http://www.openuri.org/"
class-name="org.openuri.www.invokeResponse"
type="lcl0:invokeResponse"
serializer="org.openuri.www.invokeResponseCodec"
deserializer="org.openuri.www.invokeResponseCodec">
</wsdd:type-mapping-entry>
You'll need to create type mapping calls in you client code that looks like this:
import javax.xml.rpc.encoding.TypeMapping;
import javax.xml.rpc.encoding.TypeMappingRegistry;
import weblogic.webservice.core.encoding.stream.SOAPElementCodec;
import weblogic.xml.xmlnode.XMLNode;
import com.bea.xml.XmlObject;
TypeMappingRegistry registry = service.getTypeMappingRegistry();
TypeMapping typemapping = registry.getTypeMapping(SOAPConstants.URI_NS_SOAP_ENCODING
typemapping.register(
javax.xml.soap.SOAPElement.class,
new QName("http://www.w3.org/2001/XMLSchema", "anyType"),
new SOAPElementCodec(),
new SOAPElementCodec()
typemapping.register(
javax.xml.soap.SOAPElement.class,
new QName("http://www.openuri.org/", "YourXMLBeanClassDocument"),
new SOAPElementCodec(),
new SOAPElementCodec()
YourRequestXMLBeanClassDocument request = null;
YourResponseXMLBeanClassDocument response = null;
// invoke operation
try
XMLNode xmlNodeResponse = (XMLNode)call.invoke(new Object[]{ asXMLNode(request)
response = YourResponseXMLBeanClassDocument.Factory.parse(xmlNodeResponse.toString());
log("inStock(String,Call)", "response.xmlText()=\n" + response.xmlText());
catch (Exception e)
e.printStackTrace();
private static XMLNode asXMLNode(XmlObject xmlObject) throws Exception
XMLNode xmlNode = new XMLNode();
xmlNode.read(xmlObject.newInputStream());
return xmlNode;
You may not have to do the type mapping for the invoke and invokeResponse types
(or any type relating to an operation/operationResponse element), but I'm pretty
sure you'll need to do it for the XMLBean types, used as input arguments (or return
values) to the web service operations. Send me the WSDL, and .xml files from the
client proxy .jar, if you can't figure things out from the info I've provided
here. I'll send you back what the client code needs to look like, based on the
contents of these two files :-)
Regards,
Mike Wooten
"Naichen" <[email protected]> wrote:
>
I created one document style webservice by weblogic 81 sp2 workshop,
both input
and output to webservice are XML beans.
When I tried call it with proxy jar file generated by weblogic, it works
fine,
When I tried to call it with javax.xml.rpc.Call.
then I got the similar Exceptions, like
javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException:
mapping lookup failure. class=interface javax.xml.soap.SOAPElement class
context=TypedClassContext{schemaType=['http://www.openuri.org/']:invoke}
at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:328)
at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:297)
at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:645)
at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:206)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:558)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:411)
at com.ual.rcc.wsclient.CommonClt.run(CommonClt.java:58)
at com.ual.rcc.wsclient.CommonClt.main(CommonClt.java:65)
Caused by: weblogic.xml.schema.binding.SerializationException: mapping
lookup
failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:invoke}
at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(RuntimeUtils.java:151)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:187)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:324)
... 10 more
Maybe you are looking for
-
Amount of times i ahev palyed a game
How do I reset the number that counts the amount of times I have played a certain game?
-
Hello, I hope this forum admins are OK with this post, else please re/move it. We are having a Flash contest at FFILES.com , users can submit a flash photo gallery, the user with best gallery system will receive $250.00. There are more details here:
-
We are using PTO/ATO Models and want to ensure we only issue a credit note if the complete model was returned. Somehow Oracle interfaces each component/option directly to receivables interface. Do you know a way to ensure complete credit notes ? (oth
-
Hello, Can anybody tell me the supported languages of OBIEE ? Does OBIEE supports Arabic text and numbers? can we make the numbers in the reports in Arabic? Many Thanks
-
Zero Balancing Account for PCA in ECC6.00
Hi All, I would like to create the Zero Balancing account in ECC 6.00 as Balance sheet account. could you please tell me the what are the implications if i create this zero balancing account as balance sheet. but as per the be