G/L code error in new Procurement Catalog
Dear All,
We are currently using SRM 4.0 version.
Recently we had created a new catalog for a particular plant. The catalog was created sucessfully, also the new product categories were successfully pulled in SRM from R/3. We have also maintained the Call Structure for the catalog. However while shopping for the materials in the new plant, we get an error saying "No G/L account was entered. Enter a G/L account ". On debugging, we found that in the BADI "BBP_DETERMINE_ACCT" , the field item_data-ordered_prod is NOT showing the material number with the leading zeros, due to which a BLANK G/L account is obtained. The necessary valuation class and the G/L code is maintained in the backend system and is the same for all the materials.
This error is happening ONLY for the newly created plant and only in the PRODUCTION client.
Please guide us as to whether there is a customization which we are missing out on or any other suggestions.
Thanks ,
Bhakti.
This seems issue of ECC config only.
You can compare the config of new & old plant
& Dev & PROD enviornment
BR
Dinesh
Similar Messages
-
View code transfer to New Procurement catalog
Dear Experts,
Is there any possibility to reassign the existing views for a procurement catalog to a new procurement catalog, as the requirement is to have new procurement catalog id,please advice.
Thanks and Regards,
Sathya Kumar.Solved by myself.
-
Error message while importing upgraded LR3 catalog to new LR4 catalog
I'm using a Win7 x64 system, 3Ghz Xeon dual core, 8 GB ram system. After upgrading a LR3 catalog to LR4, it would not display all images in GRID VIEW in the upper level folders. i.e. D:/Photos/2011. It will display the images in the 2011 folder but not in the Photos folder. And yes I do have the "Show Photos in SubFolders" selected.
By importing this updated LR4 catalog to a new LR4 catalog the display problem disappears. However, I get an error message at the end of the import saying that "Lightroom could not import this catalog because of an unknown error." This occurs after it says it is importing updated keywords. But, as compared to the LR3 catalog, the new LR4 catalog shows the correct number of images in the catalog, shows the correct number of collections and seems to have all the keywords in the keyword list panel.
Because there seems to be some sort of catalog database upgrade error, I am hesitant to use LR4 for production at this time. Does anyone have any suggestions as to what this error might be, or a work around for the error so I can be confident in my LR4 catalog?
Thanks,
Tony...I've pgraded to LR4.1 RC1 and then created a new catalog, imported from my original LR3 cat. It updated that temporary cat and then imported to the new LR4 cat without issues or error messages. I then just did an upgrade to my original LR3 cat and saved it in another location. Upgrade went without hitch or error messages and I am now using that catalog. So far, so good with the new candidate.
Tony... -
I have recently restored everything on my iMac after getting a new hard drive. When i try to use Elements, i get the following error code ERROR 150:30. Any ideas?
Did you use migration assistant to copy over programs, documents, and settings? You can't do that with PSE. Elements is not a tidy package in accordance with the apple developer guidelines. The installer strews stuff all of your hard drive in place the migration assistant isn't programmed to look and you can never hope to find all h the bits. You must always install PSE from scratch on a new machine. By attempting to copy it you have made a lot of trouble for yourself.
You will need to download and run this:
Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
and then you can go around and manually remove what you can reach. Look in applications, your hard drive>library>application support>adobe, your username>library>preferences. In the user library also delete any saved application states for PSE.
Then you can reinstall from scratch. -
Receiving error code 0x8002006E on new iMac running 10.7.2
Receiving error code 0x8002006E on new iMac running 10.7.2. Have seen threads form 2008 on laptops with error but with no solutions. Any suggestions?
Thanks for the suggestion. The AppleCare technician had me try an SMC Reset and it corrected the problem. There is information in this inthe article below.
http://support.apple.com/kb/HT3964?viewlocale=en_US -
I just got a new iPad3 ...I was trying to download the apps but it didn't work it gives [code error 1009] what can I do .
iPad: Basic troubleshooting
http://support.apple.com/kb/TS3274
iOS: Resolving update and restore alert messages
http://support.apple.com/kb/TS1275
Cheers, Tom -
New Security Code Error after *#7370#
Hi. I recently updated my N8's firmware to Belle and then one day it started getting stuck few seconds after powering up. I reset it using *#7370# code and rebooted the phone. after rebooting it is asking for a New Security Code and then to confirm it but after i confirm it, it give 'Code Error' message and asks for New Security Code again. Badly Stuck. tried all codes i have ever used but the phone is locked. Please HELP
@abuturab
Have a look at this Nokia resource:http://europe.nokia.com/find-products/nokia-belle-update/nokia-belle-update-faq
Happy to have helped forum with a Support Ratio = 42.5 -
Invalid Key code Error while installing crystal report server 11
While installing crystal report server 11,i am facing an erro which says Invalid Key code Error.I had raised this issue to SAP customer support and attaching the conversation that we had.PLEASE HELP me to resolve the issue.
MAILS--Dear Mohit,
Thanks for the patience.
We have received the below update from the Licensing Team.
You received your permanent key in respect of these licenses - the key is for Crystal Reports Server XI.
You did not purchase these licenses for Crystal Reports Server, but purchased it for Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer. The software included was version XIR2, but you elected to use version XI instead and received key .
You would need to enroll the licenses in maintenance if you want to upgrade them.
In case of any queries please create a ticket via the Service Market Place.
Regards,
Jessy
Customer Interaction Center
SAP Active Global Support
Hello Jessy,
The customer received their permanent key in respect of these licenses - the key is for Crystal Reports Server XI.
They did not purchase these licenses for Crystal Reports Server, they purchased Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer. The software included was version XIR2, but they elected to use version XI instead and they received key .
They cannot decide to upgrade now - they must enrol these licenses in maintenance if they want to upgrade them.
Kind regards,
Rosemary
From: BOSAPASIA
Sent: 29 September 2009 05:49
To: Savage, Rosemary
Subject: FW: Crystal Reports Server Installation Issue
Importance: High
HI Rose ,
Need your assistance on the below issue.
Customer purchased Crystal Report Server XI R2 in 2005. When he is trying to install it now, he is getting an Invalid Key code Error.
He has provided us the Scanned copies of the Key code and the registration number.Can you please help and check if he can be provided with a Keycode.
Regards,
Jessy
CIC Team Lead
Customer Interaction Center
Global Support Centre India
SAP Labs India Pvt Ltd
Hi,
Providing you with the required details to proceed further
Registration Number-
Registration Email Address-taxmantra.support
And also please find attached the scanned copy of the Registration key we got for the Crystal report server.
Dear Mohitk,
Thank you for your information.
I checked with the concerned colleague and received the below update:
Please check from where you got this key code. If from a paper, please scan it to us. Please let them track to the original paper or email.
If you have registered the key code, please provide us the registration number or registration email address so that we will try to check for you.
If you did not register before, as the promotion is over so the key code could not be replaced.
I request you to kindly check the same at your end and revert with the details.
Moreover, there are two ways for Crystal Report customer to get support.
One is customer with bundled product such like BOE and under maintenance. These customers will have an S-user ID and password to log a case in service market place via http://service.sap.com/message
A learning map was provided, listed on left column.
The other is customer with only Crystal report product, the support is via SDN.
http://service.sap.com =>Crystal Reports and Xcelsius Support=>Crystal Reports and Xcelsius Forums
Customers can first check whether other customer has got the same issue and find the reply from our engineers.
You may also post your own thread for support.
Anything else I could help, please do not hesitate to contact again.
Hi,
I am providing you with the details required to resolve the issue related to Crystal report installation,for reference of the issue please refer the mail below.
Please find attached the Scanned Document containing the details as per the details required by you.
Hope to see a quick resolution for the issue.
Dear Mohit,
Thank you for your e-mail.
As discussed, I understand that youu2019ve procured Crystal Reports Server 11 in 2006. However youu2019re facing issues with key codes while reinstalling the same. We request you to kindly provide us with below details for further assistance.
Your customer number:
Your customer name and address:
Purchase order number:
Any other products purchased along with Crystal Reports Server 11
Any S-User Id:
Any old case ID:
Please feel free to contact us if any further queries.
Hi,
I am raising this concern on behalf on Taxmantra project (Tata Consultancy Services noida).
We have bought licensed Crystal Reports Server 11 near by 2006.We are trying to install the crystal server but while installing ,we have encountered with an error message that:-
"The product key code you have entered is incorrect"
We are facing the same issue in 2006,I am attaching with this email the conversations that was held in 2006 to get the correct key code.
Please help us to resolve the issue as early as possible.
My contact number:
If you need any further information do let me knowAjit,
By design, the product is not able to be installed under the superuser account.
1. Create a new user and specify a home directory for the user without a quota set.
2. Copy or move the installation files to a directory that the new user can read. I suggest you move the installation files directly into the new user's home directory.
3. Logon as the new user (or su - newuser)
4. run the installation shell script using that new user's account.
NOTE: Ensure the system meets the requirements from the supported platforms documents.
.Tony -
Can somebody help me get rid of the following compile errors:
coreservlets/OrderPage.java:61: setNumOrdereed(int, int) in coreservlets.ShoppingCart
cannont be applied to (java.lang.String,int)
cart.setNumOrdered(recordingid, numItems);
.\coreservlets\shoppingCart.java:44 cannot resolve symbol
symbol : variable recordingid
location: class coreservlets.ShoppingCart
if (order.getrecordingid() == (recordingid)) {
.\coreservlets\ShoppingCart.java:49: cannot resolve symbol
symbol : variable recordingid
location: class coreservlets.ShoppingCart
itemOrder new order = new ItemOrder(Catalog.getItem(recordingid));I know that not very helpful with out the code but the code is very big so if anyone wants me to post extracts from the code please tell me.Thank you i put that code in but now get the following:
coreservlets/OrderPage.java:40: incompatible types
found : java.lang.strgin
required: int int recordingid = request.getParameter("recordingid")!=null?request.getParameter("recordingid"):1;
^/code]
coreservlets/OrderPage.java:48: addItem(java.lang.String) in coreservlets.ShoppingCart cannot be applied to (int)
cart.additem(recordingid);
.\coreservlets\AhoppingCart.java:44: cannot resolve symbol
symbol: variable recordingid
location: class coreservlets.ShoppingCart
if (order.getrecordingid() == (recordingid)) {
.\coreservlets\AhoppingCart.java:49: cannot resolve symbol
symbol: variable recordingid
location: class coreservlets.ShoppingCart
ItemOrder newOrder = new ItemOrder(Catalog.getItem(recordingid));
4 errors.
Also could you explain what the line you added to the code means:
!=null?request.getParameter("recordingid"):1;
!=null?request.getParameter("numItems"):"1";and how come you got rid of if (recordingid != null) {Thanks for any help with these errors
OK I HAVE GOT RID OF ALL THE ERRORS APART FROM THE TOP ONE:
code]coreservlets/OrderPage.java:40: incompatible types
found : java.lang.strgin
required: int
int recordingid = request.getParameter("recordingid")!=null?request.getParameter("recordingid"):1;
/code]
Message was edited by:
ajrobson -
Code works on new form not on older form
Hi
I am trying to change an existing form (add some code). I tested the code in a new form I create on my computer but when I do the same on a form supplied and created on a different computer the code won't work
What I see is that the form properties of a new form on my computer give Version 9.xxx and on the form that was created on the other computer the Version is listed as 8.xx
Anyone know how I can convert the Version 8.xx file to a Version 9.xx?
Or someone know how to set a EnclosedOption group from optional to required in Version 8? In version 9 I use Gender.validate.nullTest="error" or Gender.validate.nullTest="disabled" but this doesn't work on the old Version 8.xx PDF File.
Help greatly appreciated!
regards
MeirJenn Hi
Two more questions if i may.
In the Dynamic version that you sent me we ended up with the entire ExclusionGroup with a large red box around it where in the static each option used to have the Red instead. And it seems to be a very thick red box.
1) Is there anyway to control the width of the Red Box?
2)I switched the version that you sent me back to "Static" and then in the verification options added "color fields" and this gives us the functionality that we originally wanted.
The challenge with this solution is that the "page # of ##" on the master page doesn't render.
Any suggestions would be appreciated.
Regards
Meir R. -
I was upgrade to SQL Server 2012 and Visual Studio 2010 was upgraded with SP1 the same day. This is x64 machine.
Microsoft SQL Server Management Studio 11.0.2100.60
Microsoft .NET Framework 4.0.30319.261
Operating System 6.1.7601
Problem 1) With SQL Server Management Studio, selecting "New Query" a warning box is displayed: "The 'Microsoft.Practices.EnterpriseLibrary.Configuration.Design.VisualStudioIntegration2010Package, Microsoft.Practices.EnterpriseLibrary.Configuration.Design.VisualStudioIntegration2010,
Version=1.0.0.0, Culture=netutral, PublicKeyToken=null' package did not load correctly. The problem mayhave been cuased by a configuration change or by the installation of another extension. You can get more information by running the
application together with the /log parameter on the command line, and then examining the file ...\AppDate\Roaming\Microsoft\AppEnv\10.0\ActivityLog.xml'. Continue to show this error message?
Problem 2) In a Query Initellisense works intermittently but most of the time it will not display anything. I have tried Edit|Intellisense|Refresh Cach size and also seperately, Edit | Intellisense | List Members but neither has helped. Also
tried different selections for Tools|options| T-SQL | Intellisense| Maximum Script Size; no luck either.Hi WallyJim,
For your first problem, possible workaround:
In Programs and Features (or Add/Remove Programs), right click the Microsoft Enterprise Library 5.0 Optional Update 1 program and select change. Remove the VisualStudio2010 integration.
Then, install the EnterpriseLibrary Configuration extension from Microsoft via the Extension Manager in VS2010. This will allow you to launch the configuration editor from VS2010, but will not be installed for SSMS.
For more information, please refer to
https://connect.microsoft.com/SQLServer/feedback/details/620532/error-message-on-new-query-window-opening.
For your second problem, the following conditions might affect the behavior of IntelliSense:
There is a code error above the cursor.
The insertion point is inside a code comment.
The insertion point is inside a string literal.
The automatic options are turned off.
For more information, refer to Troubleshooting IntelliSense (SQL Server Management Studio):
http://msdn.microsoft.com/en-us/library/ms173434.aspx.
Thanks,
Maggie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread. -
Error while creating custom catalog in ATG 10.0.3
Hi All,
I am getting the below error while adding the Catalog Folder and during adding a new Catalog.
CONTAINER:atg.repository.RepositoryException; SOURCE:java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("ATG_CORE"."DCS_GEN_FOL_CAT"."ASSET_VERSION")
at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6816)
at atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1019)
at atg.ui.repository.model.RepositoryAgentImpl.addRepositoryItem(RepositoryAgentImpl.java:3087)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at atg.security.proxy.UserSessionProxy$SessionSkeletonHandler.invoke(UserSessionProxy.java:251)
at atg.rmi.context.ContextualSkeletonImpl.invoke(ContextualSkeletonImpl.java:105)
at sun.reflect.GeneratedMethodAccessor307.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("ATG_CORE"."DCS_GEN_FOL_CAT"."ASSET_VERSION")
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
at atg.service.resourcepool.MonitoredPreparedStatement.executeUpdate(MonitoredPreparedStatement.java:1080)
at atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
at atg.adapter.gsa.Table.insert(Table.java:1380)
at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6739)
... 21 more
Kindly help to resolve this issue.How are you adding the catalog? The error clearly means that the DB query is inserting null into the ASSET_VERSION column of DCS_GEN_FOL_CAT table. ASSET_VERSION column is non-null and required to maintain the repository asset versions in ATG content administration (CA).
I suspect that you probably tried to do something which resulted in inserting into CA schema's DCS_GEN_FOL_CAT table outside a CA project context. You should add the catalog folder through BCC to have a CA project context. In case you are importing the data by executing startSQLRepository on CA schema then make sure that it is imported within a project context by specifying project, user, and comment options. -
Applescript 'Contacts' code error with Maverick
After upgrading from MacOSX 10.6.8 to Maverick my applescripts are creating errors. One example is the following script which works fine if you run it from within the 'Applescript Editor.app' (v 2.6.1) under Maverick but creates a "Data paste section" error -1743 from the 'Contacts' app if you run the script indpendently. Any hints anyone on how I might return this script to full indpendent functionality?
Script to load a raw address for conversion and inserting into Address Book
Wish list
1. Check if 'New Address' Group already exists and if it doesn't then create one.
2. Provide a dialog that enables the user to specify which group to attach the new address to.
3. Find the new address and show it in Address Book.
4. Create a list of existing Groups to chose from to reduce keyboard error. --> done but the resultant window is not complete - no scroll bar becomes active.
Problem code:
set theFiles to (every file of folder addressesFolder) as alias list
global ABactive, aExists
property testText : "http://address-parser.com"
property newGroup : "New Addresses" --> Default group for new address additions
property aPrefix : ""
property aFirstName : ""
property aMiddleName : ""
property aLastName : ""
property aSuffix : ""
property aPosition : ""
property aDepartment : ""
property aCompany : ""
property aCompany2 : ""
property aStreet : ""
property aStreet2 : ""
property aPostbox : ""
property aPlace : ""
property aPostPlace : ""
property aState : ""
property aZip : ""
property aPostboxCode : ""
property aCountry : ""
property aPhone : ""
property aPhone2 : ""
property aMobile : ""
property aFax : ""
property aEmail : ""
property aWebsite : ""
property aNote : ""
set newline to ASCII character 10
-- Select the desired file
try
set addressFile to (choose file with prompt "Choose an address file:" of type {"public.text"} without invisibles) as text
-- set addressFile to (choose file with prompt "Choose an address file:" of type {"public.text"} default location addressesFolder without invisibles) as text
-- note the data type set for 'addressFile' is 'text'
on error number -128
-- User pressed 'Cancel' button
return
end try
set AppleScript's text item delimiters to {":"}
set fileName to last text item of addressFile
set AppleScript's text item delimiters to {""}
(* If there is an error while processing the address file, delay it just long enough to close the file access. Otherwise continue. *)
set addressFileReference to open for access addressFile
-- 'addressFileReference' is the 'returned access number'
-- Check first to see whether the file was created with output from the expected source
try
set wholeFile to read addressFileReference as text
if (offset of testText in wholeFile) is equal to 0 then
display dialog "File chosen is:" & return & fileName & return & return & "This file does not appear to contain output from the 'http://www.address-parser.com' demo page." buttons {"Cancel"} default button 1 with title "Error!" with icon stop
end if
on error number -128
-- User pressed 'Cancel' button
close access addressFileReference
set wholeFile to ""
return
end try
close access addressFileReference
set wholeFile to ""
-- Reopen file (need to clarify why EOF error if two read calls made with file open).
set addressFileReference to open for access addressFile
try
set AppleScript's text item delimiters to {""}
-- Read address file contents in 'addressFileContents' as a list delimited by paragraph and tab.
set x to paragraphs of (read addressFileReference as text)
set addressFileContents to {}
set AppleScript's text item delimiters to tab
repeat with i from 1 to count x
set addressFileContents's end to x's item i's text items
end repeat
set AppleScript's text item delimiters to {""}
repeat with i from 1 to count of addressFileContents
if (item i of addressFileContents) is not {} then
--Every line must be checked as there is no set order
if text item 1 of (item i of addressFileContents) is "Prefix= " then ¬
set aPrefix to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "First name= " then ¬
set aFirstName to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Middle name= " then ¬
set aMiddleName to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Last name= " then ¬
set aLastName to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Suffix= " then ¬
set aSuffix to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Position= " then ¬
set aPosition to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Department= " then ¬
set aDepartment to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Company= " then ¬
set aCompany to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Company - line 2= " then ¬
set aCompany2 to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Street address= " then ¬
set aStreet to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Street address - line 2= " then ¬
set aStreet2 to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Postbox address= " then ¬
set aPostbox to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Place name= " then ¬
set aPlace to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Post place name= " then ¬
set aPostPlace to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "State/Region/Province= " then ¬
set aState to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "ZIP/Postal code= " then ¬
set aZip to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Postal code of postbox= " then ¬
set aPostboxCode to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Country= " then ¬
set aCountry to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Phone= " then ¬
set aPhone to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Phone 2= " then ¬
set aPhone2 to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Mobile phone= " then ¬
set aMobile to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Fax= " then ¬
set aFax to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Email= " then ¬
set aEmail to text item 2 of (item i of addressFileContents)
if text item 1 of (item i of addressFileContents) is "Web site= " then ¬
set aWebsite to text item 2 of (item i of addressFileContents)
--Collect unrecognised elements and place them in the 'Note' field
if text item 1 of (item i of addressFileContents) contains "Unrecognized values:" then
set i to i + 1
set aNote to "Additional address bits:"
repeat with i from i to count of addressFileContents
--display dialog "Note text reads:" & return & "aNote:" & tab & "'" & aNote & "'" & return & "Line #:" & tab & i & return & (item i of addressFileContents) as text default button 1 with title "Debug Dialog"
if (item i of addressFileContents) is not {} then
if item 1 of (item i of addressFileContents) is "" and ¬
item 2 of (item i of addressFileContents) is not "" then
set aNote to aNote & newline & text item 2 of (item i of addressFileContents)
end if
end if
end repeat
end if
end if
end repeat
on error errMsg number errNum
close access addressFileReference
-- do some sort of error processing here
display dialog "An error occurred with the following number and description: " & return & errNum & return & errMsg & return & return & "Item " & (i as string) & tab & "'" & (item i of addressFileContents) & "'" with title "Data load section."
error errMsg number errNum
end try
close access addressFileReference
--Debug dialogs
--display dialog (item 1 of addressFileContents as text) & return & return & (item 2 of addressFileContents as text) & return & return & (item 3 of addressFileContents as text) & return & return & (item 4 of addressFileContents as text)
--display dialog "title:" & tab & tab & tab & aPrefix & return & "first name:" & tab & tab & aFirstName & return & "middle name:" & tab & tab & aMiddleName & return & "last name:" & tab & tab & aLastName & return & "suffix:" & tab & tab & tab & aSuffix & return & "job title:" & tab & tab & tab & aPosition & return & "department:" & tab & aDepartment & return & "organization:" & tab & aCompany with title "Just prior to new record insertion:" with icon note
--check if Contacts application is active
tell application "System Events"
if exists application process "Contacts" then
set ABactive to true
else
set ABactive to false
end if
end tell
--display dialog "title:" & tab & tab & tab & aPrefix & return & "first name:" & tab & tab & aFirstName & return & "middle name:" & tab & tab & aMiddleName & return & "last name:" & tab & tab & aLastName & return & "suffix:" & tab & tab & tab & aSuffix & return & "job title:" & tab & tab & tab & aPosition & return & "department:" & tab & aDepartment & return & "organization:" & tab & aCompany with title "Just prior to create new entry:" with icon note
--create new address entry
tell application "Contacts"
try
--if the aCompany2 variable is filled append its contents to the aCompany variable
if aCompany2 is equal to "" then
set thePerson to make new person with properties ¬
{title:aPrefix, first name:aFirstName, middle name:aMiddleName, last name:aLastName, suffix:aSuffix, job title:aPosition, department:aDepartment, organization:aCompany}
else
set aCompany to aCompany & newline & aCompany2
set thePerson to make new person with properties ¬
{title:aPrefix, first name:aFirstName, middle name:aMiddleName, last name:aLastName, suffix:aSuffix, job title:aPosition, department:aDepartment, organization:aCompany}
end if
--set the Company view binary if no First and Last name
if (first name of thePerson is equal to "") and (last name of thePerson is equal to "") then ¬
set the company of thePerson to true
tell thePerson
if aPhone is not equal to "" then ¬
make new phone at end of phones with properties ¬
{label:"work", value:aPhone}
if aPhone2 is not equal to "" then ¬
make new phone at end of phones with properties ¬
{label:"other", value:aPhone2}
if aMobile is not equal to "" then ¬
make new phone at end of phones with properties ¬
{label:"mobile", value:aMobile}
if aFax is not equal to "" then ¬
make new phone at end of phones with properties ¬
{label:"fax", value:aFax}
if aEmail is not equal to "" then ¬
make new email at end of emails with properties ¬
{label:"Work", value:aEmail}
if aWebsite is not equal to "" then ¬
make new url at end of urls with properties ¬
{label:"Work", value:aWebsite}
if aStreet is not equal to "" then
if aStreet2 is equal to "" then
make new address at end of addresses with properties ¬
{label:"work", street:aStreet, city:aPlace, state:aState, zip:aZip, country:aCountry}
else
make new address at end of addresses with properties ¬
{label:"work", street:aStreet & ", " & aStreet2, city:aPlace, state:aState, zip:aZip, country:aCountry}
end if
end if
if aPostPlace is equal to "" then set aPostPlace to aPlace
if aPostbox is not equal to "" then
if aPostboxCode is not equal to "" then
make new address at end of addresses with properties ¬
{label:"postal", street:aPostbox, city:aPostPlace, state:aState, zip:aPostboxCode, country:aCountry}
else
make new address at end of addresses with properties ¬
{label:"postal", street:aPostbox, city:aPlace, state:aState, zip:aZip, country:aCountry}
end if
end if
if aNote is not equal to "" then set note to aNote
end tell
-- place the new entry into a group
set myGroups to name of every group
set theGroup to (choose from list myGroups with prompt "Attach to which group?" without multiple selections allowed and empty selection allowed) as text
--If user selects 'Cancel' button the value of the result variable is 'false'
if theGroup is not "false" then
add thePerson to group theGroup
else
-- create a default group and place the entry in there; first testing to see whether the default group already exists
try
if group newGroup exists then ¬
display dialog "newGroup exists" with icon 1
add thePerson to group newGroup
on error number -1728
-- newGroup does not exist so create it
display dialog "newGroup does not exist. Make new group with newGroup" with icon 1
set theGroup to make new group with properties {name:newGroup}
add thePerson to group newGroup
end try
end if
save application "Contacts"
set selection to (thePerson)
activate
--set flag that new address entry was successful by seeking
if the selection is equal to properties ¬
{title:aPrefix, first name:aFirstName, ¬
middle name:aMiddleName, last name:aLastName, ¬
suffix:aSuffix, job title:aPosition, ¬
department:aDepartment, organization:aCompany} then ¬
set aExists to true
on error errMsg number errNum
-- do some sort of error processing here
display dialog "An error occurred with the following number and description: " & return & errNum & return & errMsg with title "Data paste section."
error errMsg number errNum
end try
--if we opened the AB, we'll close it
if not ABactive then quit
end tell
--clear address variables content in case of repeat use
set aPrefix to ""
set aFirstName to ""
set aMiddleName to ""
set aLastName to ""
set aSuffix to ""
set aPosition to ""
set aDepartment to ""
set aCompany to ""
set aCompany2 to ""
set aStreet to ""
set aStreet2 to ""
set aPostbox to ""
set aPlace to ""
set aState to ""
set aZip to ""
set aPostboxCode to ""
set aCountry to ""
set aPhone to ""
set aPhone2 to ""
set aMobile to ""
set aFax to ""
set aEmail to ""
set aWebsite to ""
set aNote to ""
-- Delete original file if contents have been successfully added
if aExists then
try
tell application "Finder"
if exists file addressFile then
delete file addressFile --moves it to the trash
end if
end tell
on error errMsg number errNum
display dialog "Inserting new address was successfiul, however an error occurred while deleting the original file:" & return & addressFile buttons {"Cancel"} default button 1 with title "Error!" with icon stop
display dialog ""
end try
end if
-- End of 'add address' scriptWell, after a few days of restoring my cellphone (The C6-01 I mentioned before), I came to this:
- After Hard resetting, the Lock Code is still erroneous;
- After firmware reinstalling, Lock Code is erroneous;
- Pulling out the battery, leaving the cellphone with no power for several hours, give the same result;
- Downgrading firmware (previous version) did not fix the problem;
Interesting thing is, after power on, the cellphone asks for the code lock: entering ANY number, returns "Code Error", and simply goes back to normal operation.
Everything is working, except I can no use de Lock Code, or any function related to it.
Of course, is pretty annoying to enter the lock code every time I power-on the cell. -
Error in New Models Creation - Loadbalancing /Single Server locally
Is there any possibility of below error when Creating New Models with Single Server and but NOT Working with Load balancing Option.
The same code worked when connecting to Single Server locally but doesn't work when New models were created by selection of loadbalancing Option on Remote Server..during development on source from DTR Server(SLD)..
I get below error when New Model created with loadbalancing option
Error - com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null
Edited by: Raghu v on Jan 26, 2008 1:27 PMHi,
In EAS, I am getting some for Planning Outline(Essbase outline is working fine), While starting the Planning service through start menu, it throwing error as
Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source)
Error encountered with Database connection, recreating connections.
Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
Thanks,
CP -
Just tried to import a new CD into my iTunes music library, but get this error code "error occurred while converting file. You do not have the privilege to make changes"....any thoughts? Have not tried to change anything- only import CD ??
Do you have read& write permissions to your iTunes library?
See this thread: Re: "Error has occurred... You do not have the privilege to make changes."
Maybe you are looking for
-
Problem Activating Source system RSAR 374, RSAR 375
Hi all, Hoping you can help me with this issue. I have two systems,one R/3 4.7 system and another BW 3.0B system.Both are recently installed. created user in client 800 on R/3. created user in client 100 on BW. i established RFC destination between b
-
i bought an airport express for my home, i have a new imac intel core duo, its my first mac ever so I'm still learning. i also have an older PC that connects to the airport express as well. the problem I'm having is that the wireless connection drops
-
i wanna release standard purchase order i cant not find release strategy tab in header of document level while iam using me29n t code can anyone can answer this ?
-
ORA-00257: archiver error. and database is noarchivelog mode
Hi, I've a Oracle 10.2.0.4 64bit database under Windows. The database has been from the beginning in noarchive log mode. How is it possible it's generating ora-0257 errors? regards, Ivan
-
Is there a way to change where the site name information is stored in Dreamweaver? I have Deep Freeze installed in my lab and when we create a site I put the local root folder on the network but the site that I create under New Sites gets deleted whe