Error in create Customer code.
hi,
when i try to create the new customer, am getting "ACCT GROUP SOLD to PARTY user EXT. NO". can you please suggest where we need to assing , whether the customer number is auto genrate or manuall number?
and how the running number interval which is defined (OVZC) can allocate to customer account group?
Thanks
Bala
may be your customer number range marked for external, please remove the check mark in defination of number range under this path.
SPRO> Financial Accounting > Customer Accounts > Master data > Preparations for Creating Customer Master Data > Create Number Ranges for Customer Accounts > select your number range and remove check mark for External number range.
if you want to see the number range assigned to your account group, check below path.
SPRO> Financial Accounting > Customer Accounts > Master data > Preparations for Creating Customer Master Data > Assign Number Ranges to Customer Account Groups.
Similar Messages
-
Error while creating customer account sites from backend
I am creating Customer Account Sites using the TCA API from Toad.
I am getting the following error
The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
The Operating unit has been defined.
I am using the following code:
DECLARE
p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
x_return_status VARCHAR2(2000);
x_msg_count NUMBER;
x_msg_data VARCHAR2(2000);
x_cust_acct_site_id NUMBER;
BEGIN
p_cust_acct_site_rec.cust_account_id := 9462;
p_cust_acct_site_rec.party_site_id := 5473;
--p_cust_acct_site_rec.language := 'US';
p_cust_acct_site_rec.org_id := 126;
p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
hz_cust_account_site_v2pub.create_cust_acct_site(
'T',
p_cust_acct_site_rec,
x_cust_acct_site_id,
x_return_status,
x_msg_count,
x_msg_data);
dbms_output.put_line(SubStr('x_return_status =
'||x_return_status,1,255));
dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
IF x_msg_count >1 THEN
FOR I IN 1..x_msg_count
LOOP
dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
FND_API.G_FALSE ), 1, 255));
END LOOP;
END IF;
END;
Thanks and Regards,
K tannaDuplicate post.
Error while creating customer account sites
Error while creating customer account sites -
While creating customer from AR responsibility, I am getting an error while clicking "details" tab for "Ship to"
error I am getting are
1. The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
2. Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: Operating unit -1 does not exist in the target database. ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.GL_GLOBAL", line 65 ORA-06512: at line 1 ;
any idea why is it coming, I checked Operating unit profile option i.e MO: Op Unit and MO: Sec. , all are fine.The error is occuring because Oracle is trying to validate/set a DFF.
Check the DFF attached to the customer entity, address entity or site use entity.
Especially look at the value sets attached to the DFF.
Look at the value set definition and the default value for the field.
Hope this helps,
Sandeep Gandhi -
Error While Creating Customer Account Site.
Hi ,
I am creating a customer thru API's.
I am succesffuly creating location,party,party site,party site use,customer account.But unable to create customer account site. I am getting the below error:
Unable to process your transaction. The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
Could anyone help me to resolve out this issue.Hi,
What is the application release?
Did you set the Application/Multi-org context properly before using this API?
Note: 732671.1 - 'Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly
Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
Regards,
Hussein -
Error while creating customer master data
dear sir,
i have created customer master and maintined all level general,compnay code and sales level data.and again deleted all areas thru t-code XD06.and thru se16n i have deleted the entires in kna1 knb1 knvv table
again while creating one with same name showing error while maintaing sales level data
Check: Table KNA1 does not exist, table KNVI does
Message no. F2061
plz help how do i rectify this problem and maintain the same cutomer no (external) again.
regards,
DebeshHi,
you did the wrong thing, don't remove the entries from standard table like KNA1, KNVV etc, SAP will maintained the entries in lot of tables same time.
XD06 is used to set delete indicator, after wards you may create new customer master, if any problem for name you may change the name field as 'delete' for old customer.
Now to solve your issue, i believe you need to first save the entries with maintainace of general data (KNA1) and then use XD02 to maintain the Sales area data, pl try this way it should work.
If this way will not work, pl maintain the tax indicator in table KNVI manually to solve the issue.
regards
Vivek.
Edited by: Vievk Vardhan on Dec 7, 2009 6:41 PM -
Error while creating customer account sites
I am creating Customer Account Sites using the TCA API from Toad.
I am getting the following error
The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
The Operating unit has been defined.
I am using the following code:
DECLARE
p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
x_return_status VARCHAR2(2000);
x_msg_count NUMBER;
x_msg_data VARCHAR2(2000);
x_cust_acct_site_id NUMBER;
BEGIN
p_cust_acct_site_rec.cust_account_id := 9462;
p_cust_acct_site_rec.party_site_id := 5473;
--p_cust_acct_site_rec.language := 'US';
p_cust_acct_site_rec.org_id := 126;
p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
hz_cust_account_site_v2pub.create_cust_acct_site(
'T',
p_cust_acct_site_rec,
x_cust_acct_site_id,
x_return_status,
x_msg_count,
x_msg_data);
dbms_output.put_line(SubStr('x_return_status =
'||x_return_status,1,255));
dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
IF x_msg_count >1 THEN
FOR I IN 1..x_msg_count
LOOP
dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
FND_API.G_FALSE ), 1, 255));
END LOOP;
END IF;
END;
Thanks and Regards,
K tannaHi,
Please mention the application release along with the database version and OS.
Please see if ('Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly [ID 732671.1]) helps.
More details about setting the application context can be found in these docs.
Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
Note: 462383.1 - SQL Queries and Multi-Org Architecture in Release 12
Note: 165042.1 - FAQ - Multiple Organizations Architechure (Multi-Org)
Thanks,
Hussein -
Error while creating customer master XD01
i have created own account group and assigned external number range when am creating customer in xd01 am getting error in partner tab the SP,SH,BP,PY the no is blank and when am trying to save its gives error document is incomplete the error Message no. F2643
Diagnosis
The account group of the current customer is not defined for the required partner usage.
where as when am assining internal number range its working fine kindly help
ThanxHi Mukesh
Please check the following again,
IMG > Logistic > SD > Basic functions > Partner determination > Customer master
Define the Partner functions. If you are defining new then specify the "PARTNER TYPE" for each Partner function.
- Define Account group. You can use existing one (0001-sod-to-party) or you can copy it or create new.
- Define your Partner determination procedure.
- Assign the required Partner functions (SP,SH,PY and BP are mandatory) to your Account group, so that they will be permitted for your Account group.
- Assign the "Partner functions" to your new "Procedure ". Here you specify which are "mandatory" and which are "not changeable".
- Assign the "Account group" to your new "Procedure".
Now, go to XD01,enter your Account group,External number,company code,Sale area and proceed.
If you are finding problem then,fill up all your data (general data, company code data), go to sales area data, fill up sales ,shipping and billing document tab and save it.
Next, go to XD02, sales area data >partner function tab, here fill up the places for respective Partner functions. -
Getting error while creating Customer Invoice Request via Web Service
Hello,
I am trying to create customer invoice request via web service.
But I am getting the error message "No scheme configuration found for scheme '&CIRHP&' " continuously.
It is working fine in reference tenant. But using the same payload its giving error in another tenant.
Can you please tell me what is the root cause for this error?
I have included the payload used in the prototype tenant(Payload.txt) and screen shot of the error.
Thanks and Regards,
SriramHi,
Check the WSDL file is wellformed or not..You can test it using tools like XML Spy.
Might be the attribute tag is missing something..If WSDL file is correct then, create proxy by selecting the WSDL file from local machine..
Regards,
Sunitha -
Error in Creating Custom Business Methods using ADF Business Comp. Tutorial
I've been working with Jdev 10g Preview for a while. Now that we have Jdev 10g, I have to unlearn some of the Preview methods and learn the "real" way of doing things. To that end, I went out to the "Creating Custom Business Methods using ADF Business Components" tutorial. Unfortunately, I've found what I think is a mistake in the example code.
Specifially, ADF treats the default iterator on View Objects differently than previous BC4J versions. In the older versions, the iterator was positioned before the first row when you first executed a query. In that case, the hasNext() method was used to see if you had any rows at all. In ADF, however, the default iterator is positioned at the first row. So, if your query only returns one row, then the hasNext() method returns false!
Here's the code posted in the tutorial:
public Number getDeptSalaryTotal(String dept_id)
// get a department view object
DepartmentsViewImpl dept = getDepartmentsView1();
dept.setWhereClause("DEPARTMENT_ID = " + dept_id);
dept.executeQuery();
dept.first();
EmployeesViewImpl emps = getEmployeesView3();
Number salaryTotal = new Number(0);
while (emps.hasNext() )
Row empsRow = emps.next();
salaryTotal =
salaryTotal.add((Number)(empsRow.getAttribute("Salary")));
return salaryTotal;
As you can see, this is coded using the pre-10g semantics. It checks hasNext() at the top of the while loop. If there is only one Employee in the Department, hasNext() will return false since the emps View Object will already be positioned at the first and only row. There won't be a next row. So, the salaryTotal will be zero instead of the correct value. Alternatively, if there is more than one row, then hasNext() will be true, but the routine will skip the first row and start totalling salaries from the second row on.
The routine should be recoded as follows:
public Number getDeptSalaryTotal(String dept_id)
// get a department view object
DepartmentsViewImpl dept = getDepartmentsView1();
dept.setWhereClause("DEPARTMENT_ID = " + dept_id);
dept.executeQuery();
dept.first();
EmployeesViewImpl emps = getEmployeesView3();
Number salaryTotal = new Number(0);
Row empsRow = emps.first(); // Get the first row
while (empsRow != null ) // while we have a row
salaryTotal =
salaryTotal.add((Number)(empsRow.getAttribute("Salary"))); // add in the salary
empsRow = emps.next(); // get the next row
return salaryTotal;
I haven't actually executed this code, so there may be a typo or two in there. However, the basic idea is sound -- I think!
Please update the tutorial so we don't mislead people right at the start! :-)Gary:
I have two questions for you:
1) Could you post the preferred code here?
2) Why is it the preferred method? I would think that creating and destroying another object (the temporary iterator) would be a bad thing. -
Error while creating company code with country usa
hi all,
when I am creating company code for with us country here i am getting the following error
u201C Communication error with the external tax system (VERTEX_MS0018)u201D
Can any one please give the solution for this, that will be help full to me.Thanking you
maheshYou are probably using VERTEX as an external tax system. When using VERTEX, SABRIX, etc. as an external tax system linked to SAP, connections need to be set up properly. Please work with your Basis Team for RFC communication to work properly between SAP and VERTEX.
-
HTTP Unauthorized 401 Error when calling custom code Workflow-Activity (SharePoint 2013)
Hi,
from one day to the other the custom code activity within a SP2013 workflow gives me the following error:
Activity in progress Retrying last request.
Next attempt scheduled in less than one minute.
Details of last request:
HTTP Unauthorized to
http://server/subsite/_vti_bin/client.svc/sp.utilities.utility.ResolvePrincipalInCurrentcontext(input=@ParamUser,scopes='15',sources='15',inputIsEmailOnly='false',addToUserInfoList='False')?%40ParamUser='i%3A0%23.w%7Csp2013-dev%5Cadministrator'
Correlation Id: 9d507c00-1e24-af73-fcea-faa4a0a61ae1
Instance Id: 5c91916e-918b-453a-bf48-e61649afa3d0
After some time the workflow gets cancelled automatically. The custom code activity ran many times before without any errors.
Thanks a lot in advance!Hello,
this KB could help also:
HTTP Unauthorized to /_vti_bin/client.svc/sp.utilities.utility.SendEmail
Regards,
Alex
Alex Pitulice, MICROSOFT
Bitte haben Sie Verständnis dafür, dass im Rahmen dieses Forums, welches auf dem Community-Prinzip
„IT-Pros helfen IT-Pros“ beruht, kein technischer Support geleistet werden kann
oder sonst welche garantierten Maßnahmen seitens Microsoft zugesichert werden können. -
Build app with ODT and Oracle UDT - Error while creating custom class
Hello CShay,
I am testing you sample code to create UDT with ASP.Net app. It is also published in Oracle magazine.
The article is also published at following link:
http://www.oracle.com/technology/oramag/oracle/08-may/o38net.html
I am able to successfully implement all the steps before "Using Custom Class Wizard". When I right click on any of the object (CUSTOMER_OBJ, PHONELIST_OBJ, and ADDRESS_OBJ) and select Generate Custom Class, I get the following error:
Oracle custom class wizard.
Class can be generated only for either C#, VB or Managed C++ projects.
Am I missing any thing?
Thanks in advance for your help.Yes I confirm that I choose File->New Website.
I don't see the following option
File -> New Project, and then under Visual C#, select ASP.NET Web Application
I am using VS2005 Professional Edition.
The options I see under Visual C# are:
If I click on
Windows tab:
Windows Application
Windows Control Library
Console Application
Empty Project
Class Library
Web Control Library
Window Servcie
Crystal Report Application
and Search Online Templates in My Templates tab.
Couple of options for Smart Device which also doesn't include ASP.Net
then Database, Starter kits and Office tabs which also doesn't include ASP.net thing.
I don't know how did you see that option or you might be using different version of VS (Enterprise).
But right now I am stuck.
Please provide me your valuable comments.
Thanks for your help. -
Error while creating Custom Defined Functions in Essbase
<p>Hi All,<br>I am trying to create CDF(Custom Defined Functions) in Essbase. Iwant to create a function which take list of child member andreturn the first child. For this, i have created a java file called"ChildAccess.java" which contains the following code:<br>public class ChildAccess<br>{<br>public static char GetFirstMember(char [] members)<br>{<br>return members[0];<br>}<br>}<br>I have compiled and made jar file called"ChildAccess.jar" and pasted it at"ARBORPATH/java/udf". Then i restarted the Essbase Serverand run the following MaxL command to register the function<br>create or replace function '@ChildAccess' as<br>'ChildAccess.GetFirstMember'<br>spec '@ChildAccess(memberRange)'<br>comment 'adds list of input members'.<br>Till here i am not getting any error but when i am using thisfunction in my calc script as given below<br><br>FIX(@ChildAccess(@CHILDREN("Abc")))<br><br>it gives the following error<br>"Error:1200414 Error parsing formula for [FIX STATEMENT]<br>(line 2)"argument[1] may not have size[6] in function[@CHILDREN]"<br>NOTE: The SIZE[6] is giving the no. of child in member"ABC".<br><br>Thanks in Advance<br>Arpit</p>
If you want to use the CDF in a FIX statement you need to make sure that it returns a member name rather than a number:<BR><i><BR>public class ChildAccess<BR>{<BR> public static String GetFirstMember(String[] members)<BR> {<BR> return members[0];<BR> }<BR>}<BR></i><BR>I prefer to define the function against a specific application rather than globally because you only need to restart the application in order to pick-up any modifications to the .jar file. So the MaxL function definition would be:<BR><i><BR> create or replace function appname.'@_GETFIRSTMEMBER' as<BR> 'ChildAccess.GetFirstMember(String[])';<BR></i><BR>and in the calculation script the FIX statement would become:<BR><i><BR> fix ( @member( @_GetFirstMember( @name( @children( "Abc" ) ) ) ) )<BR></i><BR>This looks a little messy so you can use a macro to simplify it:<BR><i><BR> create or replace macro appname.'@GETFIRSTMEMBER'(single) <BR> as '@member( @_GETFIRSTMEMBER( @name( @@1 ) ) )' <BR> SPEC "@GETFIRSTMEMBER(memberRange)";<BR></i><BR>and then the FIX statement could be written:<BR><i><BR> fix( @getfirstmember( @children( "PRODUCT" ) ) )<BR></i>
-
Dump Error in Create Customer XD01 and FD01
Dear Experts.
When I am trying to create the customer by using the transaction code XD01 and FD01, I am getting the dump error as below.
"No component exists with the name "ISU_ACTIVT", but there are the foll"
"owing components with similar names: "PS_ACTVT" and "IM_ACTVT". ."
Kindly help me to resolve this issue.
Thanks
AswinHi Aswin,
Attached thread deal with the same kind of issue. Please have a look.
IS-U authorization
Warm regards,
Murukan Arunachalam -
Error when creating custom controller
I have a non-visual WebDynpro DC that contains a single data model. The model has been added to the public part of the DC.
I have another visual WebDynpro DC that makes use of the data model in the first DC. If I explicitly reference the model in the first DC, everything works just fine. I can input data, invoke the model, and see the response displayed on the page.
However, I'm trying to create a custom controller that hides the data model. When in the data modeller for the visual WD DC, I right click on the 'Custom Controllers' pane, and select 'Apply Template'. I create a Service Controller, and select the model that's been imported (actually, that's been referenced as a used component) from the first DC. I then select the data elements from the context that I want bound into this custom controller. Click next, give a more descriptive method name, and then click Finish. I get an internal error as follows:
Source controller implementation file is not accessible (D:/src/.dtc/LocalDevelopment/DCs/example.com/test-wd-view/_comp/gen_wdp/packages/com/example/wd/AdderModelCust.java)
Exception: java.lang.NullPointerException
Am I doing this correctly, or am I missing a step or two?Hi Ken,
you didn't miss some steps, this seems to be a bug in the tools. Please open a OSS message with the following information:
- which Studio version you use (NW04/04s? SP?)
- description of how to reproduce the effect
- Studio's error log attached (.log file in <YourWorkspaceFolder>/.metadata)
In the meanwhile to circumvent the error you should try to
- create a new custom controller manually in WD explorer and launch Service Controller template from this controller (context menu in WD explorer)
- if this fails as well, manually create the context definitions and method implementation that the template would produce.
Regards
Christian
Maybe you are looking for
-
Travel adapter for IPod touch 32 GB 3rd generation
Dear All, I do have a brand new IPod touch 32 GB, 3rd generation. As I will be travelling to the US I need a travel adapter. The travel adapter offered by Apple is per description only compatible with the 1st and 2nd generation. Are you experienced?
-
A Kernel Panic and two Crashes since updating to 10.8.1
I've been running a 15" MacBook Pro (Mid 2009) for about a year and a half. It's factory stock (no hardware modifications) with a 2.8 Core 2 Duo processor and 4gig RAM with a 500GB HD. It came with 10.5 installed. I upgraded to 10.6, 10.7 & 10.8 r
-
Weblogic.management.DeploymentException while deploying spring app on 12C
War file deployeed and tested on 11g is failing to deploy on 12C with error below. log4j:ERROR Could not parse input source [org.xml.sax.InputSource@69a890d4]. java.lang.SecurityException: SHA1 digest error for log4j.xml at sun.security.util.Man
-
Overlap transitions choppy after exporting 'Full Quality' QuickTime
I have a movie created with images and music, no video. I used the overlap transition between each image. All images have a slight Ken Burns effect. Then I exported to Full Quality Quicktime to bring into iDVD. I originally tried to export right to i
-
I have a made some changes to an existing view. The change is adding a join and a new column from new table. I have created a version2 with all these changes. I want to make sure that same data exists in both the views. what is the best way to test t