Customer number generation

Oracle Gurus,
Customer creation number generation as Automatic, where we are doing this setup in applications.
For supplier we give the setup in Financial options but I am not able to trace out for customer automatic number generation.
If anyone know the setups, please let me know the steps and setups.
Please advise.
Edited by: satish.ygl on 09-Sep-2012 19:21

Hi Satish,
Set the sequence number
Pl. go thru following navaigation path :
Go to Application Developer responsibility >Menu > Application> Database > Sequence
Query on sequence RA_CUSTOMERS_NUM_S and set Start Value to 20000 .
Retest it.
HTH
Sanjay

Similar Messages

  • How to Create an Custom Employee Number Generation ...

    Dear Friends,
    We are Implementing HRMS Suite Version12i, for one of the Client in Middle east.
    One question about Custom Person Numbering.
    How to create custom employee numbering Based on the User Person Type?
    Example:
    Two person types
    o Permanent Employee
    o Probationary employees
    We Need to give two different numbering schemes for each person type.
    eg Permanent Employee will use a seq begin 100000 whereas Probationary employees (other user type) will use a sequence beginning 200000.. Can any pls let me know how to handle the Custom Employee Number Generation (with Setups)
    With regards
    Swpana

    Hi,
    Could you please help me to write/or send a sample of a Person Number Generation Formula.
    I don't see the noteid : 279458.1 on metalink,I get the following message:
    Article or Bug cannot be displayed. Possible reasons are:
    The article Id or bug number was entered incorrectly. Please check and try again.
    The article Id or bug number does not exist (was referenced incorrectly).
    The article or bug is not classified as publicly accessible ("non-public").
    The content is being updated and it is temporarily unavailable but will be made available again soon.
    If you still have questions about why you could not access this article or bug, please use Feedback.
    Please help!!

  • Custom Employee Number Generation Using Fast Formulas

    Hi,
    I have a requirement to generate custom employee numbers like "EMP100001". we have already created a business group with the setting of Employee number generation as Automatic. but we need to generate custom employee number as Format given above instead of automatic number generation.
    I have created my own PL/SQL Package to generate custom employee number as per Person Type. Also created a Fast Formula Function with the following parameters -
    Name = Get_Custom_Number
    Data Type = Text
    Class = External Funtion
    Alias Name = NULL or what you want the alias to be
    Description = Returns the next custom number value
    Definition = CUSTOM_EMP_NUMBER_GENERATION.Get_Custom_Number (PL/SQL Function)
    Proving the following Context usages and Parameters details to the Fast Formula Function -
    Context usages:-
    Number = 1
    Context Name = BUSINESS_GROUP_ID
    Data Type = Number
    Parameters as defined in PL/SQL function
    1 p_legislation_code Text Input Only
    2 p_person_type Text Input Only
    3 p_person_number Text Input Only
    4 p_party_id Number Input Only
    5 p_person_id Number Input Only
    6 p_national_id Text Input Only
    7 p_date_of_birth Date Input Only
    Than i created a Fast Formula using the following navigation
    Total Compensation > Basic > Write Formula
    with following details -
    Name = EMP_NUMBER_GENERATION
    Type = Person Number Generation
    Description = Returns next Employee number
    and wrote my formula code.
    When i created a Employee from Enter and Maintain People screen it is showing automatic number instead of my custom employee number.
    I m not able to find where i m missing the logic or some parameters?
    If anyone has come across such situation, please provide some pointers here.
    Thanks
    Renu

    What is the application release?
    Please review these docs and see if it helps.
    Is it Possible to Update Generate Employee Number Method From Automatic to Manual? [ID 393827.1]
    Need To Change The Employee Numbering From Automatic To Manual [ID 291634.1]
    Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr [ID 452044.1]
    How to Prefix a Zero on Custom Employee Numbers [ID 822425.1]
    How To Implement Custom Person Numbering Using FastFormula Based on User Person Type Instead of System Person Type [ID 372696.1]
    Thanks,
    Hussein

  • Employee and contractor number generation

    We are implementing Oracle HRMS Rel 11i. We would like to record regular employees and contractor details. For contractors, we need to track and report on their assignments (department, job, location) and payrate alongwith their general information. So I feel that contractors should correspond to 'Employee' person type. A further requirement is that the employee/contractor number generation needs to be automatic and separate ranges (employees starting with 1 and contractors starting with 5000) need to be used. Is it right to set contractors as employee type and is automatic number generation using separate ranges possible?

    Yes, you should have contractors as employee system type, otherwise you can not pay them.
    we can not define a sequence to that with out wirting custom code.
    But we can do it by creating either a new user person type or user status (on assignment) and use that to track the contractors. which also gives you flexibility in reports, by filtering the assignment status or person type, which ever you want to configure.

  • How to Customize Employee Number Generation?

    m trying to generate a custom employee,applicant numbers through a dummy business group.
    I've created on Application: Oracle E-Business 11.5.10.2 the work structure and am now on the step of customizing the employee generating number.
    I followed the link steps:
    Below steps already done:
    Technical Side:
    1- Create New Sequence in DB.
    -----Sequence Code----------
    DROP SEQUENCE APPS.APPSLEAD_CUST_NUMB;
    CREATE SEQUENCE APPS.APPSLEAD_CUST_NUMB
    START WITH 1
    MAXVALUE 999999999999999999999999999
    MINVALUE 0
    NOCYCLE
    NOCACHE
    NOORDER;
    2- Create New Package for issuing the numbers.
    ----------Package Code--------------
    Create or replace package appslead_package as
    Function get_emp_custom_number (
    p_business_group_id IN number
    ,p_legislation_code IN varchar2
    ,p_person_type IN varchar2
    ,p_person_number IN varchar2
    ,p_party_id IN number
    ,p_person_id IN number
    ,p_national_id IN varchar2
    ,p_date_of_birth IN date
    ) return varchar2;
    end appslead_package;
    Create or replace package body APPSLEAD_PACKAGE as
    Function GET_EMP_CUSTOM_NUMBER (
    p_business_group_id IN number
    ,p_legislation_code IN varchar2
    ,p_person_type IN varchar2
    ,p_person_number IN varchar2
    ,p_party_id IN number
    ,p_person_id IN number
    ,p_national_id IN varchar2
    ,p_date_of_birth IN date
    ) return varchar2 as
    /*Check if the person id is exists on the system or not*/
    cursor person_exists is
    select employee_number,applicant_number,npw_number
    from per_all_people_f
    where party_id = p_party_id;
    --and p_effective_date between effective_start_date and effective_end_date;
    lseq_num number;
    l_next varchar2(30);
    l_emp_num varchar2(30);
    l_apl_num varchar2(30);
    l_npw_num varchar2(30);
    begin
    open person_exists;
    fetch person_exists into l_emp_num,l_apl_num,l_npw_num;
    if person_exists%notfound then
    Select to_char(Appslead_Cust_Numb.Nextval) Into lseq_num From Dual;
    l_next := 'AppsLead-'||lseq_num;
    return l_next;
    Else
    If p_person_type = 'EMP' then
    l_next := l_emp_num;
    Elsif p_person_type = 'APL' then
    l_next := l_apl_num;
    Elsif p_person_type = 'CWK' then
    l_next := l_apl_num;
    End if;
    End if;
    Close person_exists;
    return l_next;
    end get_emp_custom_number;
    End appslead_package;
    Functional Side:
    1- Create or Modify Business Group Employee numbering method to Manual.
    2- Create New Formula Function.
    3- Create New Formula EMP_NUMBER_GENERATION with Type "Person Number Generation"
    ------Formula Script--------
    EMP_NUMBER_GENERATION
    Create Custome formula for generation employee number*/
    DEFAULT FOR Person_Number IS ' '
    DEFAULT FOR Party_ID IS 0
    DEFAULT FOR Person_ID IS 0
    DEFAULT FOR National_ID IS ' '
    DEFAULT FOR DATE_OF_BIRTH IS '1900/01/01 00:00:00' (date)
    DEFAULT FOR Hire_Date IS '1900/01/01 00:00:00' (date)
    INPUTS ARE
    Legislation_Code (text),
    Person_Type (text),
    Person_number (text),
    Party_id,
    Person_id,
    Date_of_birth (date),
    Hire_date (date),
    National_ID (text)
    Next_Number = '0'
    Invalid_msg = ' '
    IF Person_Type = 'EMP' then
    Next_Number = TO_CHAR(Get_Emp_Custom_Number(Legislation_Code,Person_Type,Person_Number,Party_Id,Person_Id,National_ID,Date_Of_Birth))
    Else
    Invalid_msg = 'This is not an person_type of Employee!'
    Return Next_Number
    Now, when I create a new employee I need the employee number to appear as
    "AppsLead-Emp-00001"
    But its not, and the screen of employee master is not allow to create an employee without filling the number.
    How to do the same?
    What should be the Employee Number Generation ?
    1- Automatic generation with Global Sequencing
    2- Manual
    If your answer is manual, in the employee master screen, the employee id is required and when you create the employee the id should be entered.

    there are some fast formula you can use.
    Please check metalink

  • Changing customer number in alv top of page for every new customer

    hi experts,
    in alv grid display top-of- page, how to change customer number  customer name for every new customer.
    please help me.
    Regards
    Naveen.

    You may look into this blog
    http://help-abap.blogspot.com/2008/09/salv-model-5-add-header-top-of-page.html
    This is has been contributed by one of the SCN contributor Naimesh Patel.

  • What algorithm does Excel 2010 use for Pseudo Random Number Generation (MT19937?)

    Does Excel 2010+ use the Mersenne Twister (MT19937) algorithm for Pseudo Random Number Generation (PRNG), implemented by the RAND() function?
    This has been a nagging question for some time now, with "hints" that it indeed does.  However, a relatively thorough search turns up no definitive documentation.  The most direct indication is perhaps given by Guy Melard [Ref 9] where
    he tests Excel 2010's RAND() function using the Crush battery of tests in TestU01 by L'Ecuyer & Simard.  Melard references a "semi-official" indication that Microsoft did indeed implement MT19937 for the RAND() function in
    Excel 2010, but this reference no longer seems to be available. http://office.microsoft.com/enus/excel-help/about-solver-HP005198368.aspx?pid=CH010004571033.
    The other references below [Ref 1-10] document the history of the statistical suitability of the PRNG and probability distributions in various versions of Excel.  This includes the Wichmann-Hill PRNG implementations supposedly (arguably) used in
    Excel 2003 & 2007 for random number generation.  But still, we have no answer as to which PRNG algorithm is used in
    Excel 2010 (and 2013 for that matter).
    Microsoft indicates that RAND() has been improved in Excel 2010; Microsoft states, "...and the RAND function now uses a new random number algorithm." (see https://support.office.com/en-ca/article/Whats-New-Changes-made-to-Excel-functions-355d08c8-8358-4ecb-b6eb-e2e443e98aac). 
    But no details are given on the actual algorithm.  This is critical for Monte Carlo methods and many other applications.
    Any help would be much appreciated. Thanks.
    [Ref 1] B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 97. 
    Computational Statistics & Data Analysis. Vol. 31 No. 1, pp 27-37. July 1999.
    http://users.df.uba.ar/cobelli/LaboratoriosBasicos/excel97.pdf
    [Ref 2]L. Knüsel.  On the accuracy of the statistical distributions in Microsoft Excel 97. Computational Statistics & Data Analysis. Vol. 26 No. 3, pp 375-377. January 1998.
    http://www.sciencedirect.com/science/article/pii/S0167947397817562
    [Ref 3]B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 2000 and Excel XP. 
    Computational Statistics & Data Analysis. Vol.40 No. 4, pp 713-721. October 2002.
    https://www.researchgate.net/publication/222672996_On_the_accuracy_of_statistical_procedures_in_Microsoft_Excel_2000_and_Excel_XP/links/00b4951c314aac4702000000.pdf
    [Ref 4] B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 2003. 
    Computational Statistics & Data Analysis. Vol.49. No. 4, pp 1244-1252. June 2005.
    http://www.pucrs.br/famat/viali/tic_literatura/artigos/planilhas/msexcel.pdf
    [Ref 5] L. Knüsel. On the accuracy of statistical distributions in Microsoft Excel 2003. Computational Statistics & Data Analysis, Vol. 48, No. 3, pp 445-449. March 2005.
    http://www.sciencedirect.com/science/article/pii/S0167947304000337
    [Ref 6]B. McCullough, D.Heiser.  On the Accuracy of Statistical Procedures in Microsoft Excel 2007. 
    Computational Statistics & Data Analysis. Vol.52. No. 10, pp 4570-4578. June 2008.
    http://users.df.uba.ar/mricci/F1ByG2013/excel2007.pdf
    [Ref 7] A. Yalta. The Accuracy of Statistical Distributions in Microsoft<sup>®</sup> Excel 2007. Computational Statistics & Data Anlaysis. Vol. 52 No. 10, pp 4579 – 4586. June 2008.
    http://www.sciencedirect.com/science/article/pii/S0167947308001618
    [Ref 8] B. McCullough.  Microsoft Excel’s ‘Not The Wichmann-Hill’ Random Number Generators. Computational Statistics and Data Analysis. Vol.52. No. 10, pp 4587-4593. June 2008.
    http://www.sciencedirect.com/science/article/pii/S016794730800162X
    [Ref 9] G. Melard.  On the Accuracy of Statistical Procedures in Microsoft Excel 2010. Computational Statistics. Vol.29 No. 5, pp 1095-1128. October 2014.
    http://homepages.ulb.ac.be/~gmelard/rech/gmelard_csda23.pdf
    [Ref 10] L. Knüsel.  On the Accuracy of Statistical Distributions in Microsoft Excel 2010. Department of Statistics - University of Munich, Germany.
    http://www.csdassn.org/software_reports/excel2011.pdf

    I found the same KB article:
    https://support.microsoft.com/en-us/kb/828795
    This was introduced (according to the article) in Excel 2003. Perhaps the references in notes 2 and 3 might help.
    The article describes combining the results of 3 generators, each similar to a Multiply With Carry (MWC) generator, but with zero carry. MWC generators do very well on the Diehard battery of randomness tests (mentioned in your references), and have
    very long periods. But using zero carry makes no sense to me.
    Combining the three generators only helps if the periods of the 3 are relatively prime (despite what the article implies). Then the period of the result will be the product of the 3 periods. But without knowing the theory behind these generators, I have
    no idea what the periods would be. The formulas for MWC generators fail here.
    Richard Mueller - MVP Directory Services

  • SAP customer number unknown for installation number

    Hi There,
    We're facing some problems after a reconfiguration of some things in Solution Manager. We have SAP EHP 1 for SAP Solution Manager 7.0. Have made two days ago the installation of the latest SP, but not the kernel yet.
    The problem is in the job SEND_SYSTEM_RELATIONSHIP_TO_SUPP. The error is:
    08.01.2010 10:43:24 Job started                                                                                00           516          S
    08.01.2010 10:43:24 Step 001 started (program AI_SC_SEND_SYSTEM_RELATIONSHIP, variant , user ID SOLMAN_BTC)      00           550          S
    08.01.2010 10:43:24 SOL determined as monitoring Solution Manager system                                      AI_SC_EN        075          S
    08.01.2010 10:43:24 SAP customer number unknown for installation number 00XXXXXXXX               AI_SC_EN        097          E
    08.01.2010 10:43:24 Job cancelled after system exception ERROR_MESSAGE                                           00           564          A
    The info about the system:
    solman:soladm 21> disp+work
    disp+work information
    kernel release                701
    kernel make variant           701_REL
    compiled on                   HP-UX B.11.23 U ia64
    compiled for                  64 BIT
    compilation mode              UNICODE
    compile time                  Feb 24 2009 21:53:01
    update level                  0
    patch number                  32
    source id                     0.032
    supported environment
    database (SAP, table SVERS)   700
                                  701
    operating system
    HP-UX B.11
    Thanks,
    Joao

    Hi João Cesar,
    I´m faccing with the same error... I installed the solution manager Ehp1 and it have SPS20 applied which correspond to ST 400 level 20 (SAPKITL430).
    When I am in transaction SMSY in section Systems and I press the button "READ SYSTEM NUMBER" is shown an error message that says "SAP customer number unknown for installation" the details of help says:
    Diagnosis
    Installation number &V1& that is assigned to some system(s) in transaction SMSY is not assigned to an SAP customer number in table AIINSTALLATIONS.
    Procedure
    Please check the log of background job REFRESH_ADMIN_DATA_FROM_SUPPORT for errors.
    So, when I entry in that job log I found this error:
    No customer numbers maintained in view V_AISAPCUSTNOS   |  AI_SC_EN   |  106
    Then I went in table/view V_AISAPCUSTNOS and inside does not contain any data!!!
    All the notes I found were related to lower versions and so I could not implemented the snotes corrections!!  Any notes for my release that are related with this problem?
    Joao Cesar what you did for solve this problem??? You didn´t mentioned!! You only mentioned that you implemented some notes.. but which ones?!!?

  • Customer number not in the inspection lot for a make to order scenario

    Hi All,
    I know that standard SAP will get the Customer number into Insp. lot only for insp. types 10/11/12.  I am wondering if someone know a way to get the customer no. into insp. lot for insp. type 04 where the material is make-to-order scenario and the Production/Process order has the Sales order and customer no. without activating User-exit.  The quality users want to be able to see the customer no. in insp. lot without having them to go to process order. 
    It makes no sense to me why the customer no. is not brought into insp. lot when that is available in the Prod/process order, which can further be used to select the customer specific insp. plans for 04 insp. type Insp. lot without using Variant configuration.
    Any light on this topic is appreciated.
    Thanks.

    Hi Srikant,
    I guess.........
    Normally the inspection lot refers the triggering document that are the trigger cause for them.
    - Inspection type 01: - Purchase Order and GR material document.
    - Inspection type 03: - Pro. Order Number
    The same way...
    The inspection type 10\11\12 are purely related to the SD, and directly integrates QM and SD. Hence in the inspection lot for the inspection types directly integrated to SD, it will furnish the Sales order number \ Customer.
    But the inspection type 04 is purely have it's relation to Production process. So it will have the details related to integrations it has i.e. the "Pro. Order." Hence it integrates QM-PP, it have the data related to PP (Pro Order), not the SD's one.
    But I think one way you can achieve it,
    Assign the Customer number also to the inspection plan along with the Material. So I think at the time of assigning the inspection plan to the inspection lot, it will refer the Customer number also and will display the Customer number along with Task list Group\Group Counter, in the inspection specification screen in QA03/02
    Regards,
    Shyamal

  • Reg smartforms -  creating a new page for each customer number

    Dear friends,
    This is a sample program for smartform.
    Below is my coding ...
    TABLES : KNA1.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    TYPES : BEGIN OF ZFS_KNA1,
            KUNNR TYPE KNA1-KUNNR, 
            NAME1 TYPE KNA1-NAME1,
            ORT01 TYPE KNA1-ORT01,
             END OF ZFS_KNA1.
    DATA : ITAB TYPE STANDARD TABLE OF ZFS_KNA1 INITIAL SIZE 0,
           WA TYPE ZFS_KNA1.
    SELECT KUNNR NAME1 ORT01 PSTLZ LAND1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR IN S_KUNNR.
    Now i am having one secondary window (cusotmer number) and main window(name and city).
    I am able display list of cm nos, names and city in one page.
    But i want to display name, city and number of customer in one single page.
    suppose 5 customer numbers are there.....then 5 seperate pages should be displayed.
    pls help me.
    Regards,
    S. Vinod

    Hi,
    In your loop node... you have sort criteria....
    give the fieldname of the customer number KUNNR and check the check box under the begin of sort event...
    An event node is created... under that event  node... create command node for triggering new page and dont forget to tick the checkbox for " not on first page" in the conditions tab....
    and under that you can create text elements to display the data
    regards
    padma

  • Replication of BP linked with Customer number from R/3 to CRM

    Hi,
    We are trying to replicate BP linked with the customer number.
    In R/3 when a BP is created automatically a customer is created for this BP (due to activation of synchrozination- BP -->Customer ) with different numbers and is available in the customer-general data tab of the BP in the field - Customer number.
    Both BP and Customer are having different numbers this needs to be replicated to crm as a BP with the Customer number appearing in the Identificatio tab as R/3 customer number (identification type).
    Example - A BP with number-100 is created then automatically a customer with number 2000 is attached to this BP -100. The same needs to be replicated  to CRM. Both BP and customer shud have same GUID.
    With the settings that is done now two records are getting created seperately one with BP number and other with customer number based on settings in PIDE.
    How can we configure this?
    Thanks & Regards
    Prathiba

    Hi,
    I think you are using some IS component in ECC. Hope you are using BUPA_MAIN and BUPA_REL objects for downloading BP's to CRM. In PIDE you do not need to maintain mapping for customer.

  • Customer number needed in "GL a/c line item display" for customer gl?

    Hi SAP Experts,
    while running GL account line item display in FBL3N,customer number is not displaying against the gl accounts relating to customer reconcilation account or the gls relating to the customer line item entry.my clients need that in either ASSIGNMENT field(where presently showing the document entry date as defult) or in a different column.for that he even does not want to write any report.
    How can i solve this problem?
    Plz guide me.
    I need a quick response.
    Regards,
    Biswa

    Hi,
    Check If you are using the G/L account which is the reconciliation account for your customer, then it is possible to display the special field1-U_KUNNR and it is ALSO possible to add Sort Key 031 into the Assignment field of that account in FS00 tab Control Data and therefore to display your 'Customer no.' in the Assigment field in FBL3N.
    If you are using the G/L account which is the offsetting entry or the other side of the posting, then it is NOT possible to display your 'Customer no.' neither in the Assignment field, nor adding the
    special field 1-U_KUNNR to the display. At this stage, notes 112312 and 217189 may be of use, which enable you to use a Business Transaction Event to populate offsetting account information.
    I hope these helps.
    Regards
    Ravinagh Boni

  • Number Generation Failure While Reversing Sub. Challan

    hi all,
    While reversing the sub contracting Challan, I am getting this Error "Number Generation Failure". Kindly guide where to maintain the Number range & Object.
    regards
    Dhinakar

    Hi Jeyakanthan,
    Thanks for your response
    I maintaned number range for object : J_1i57c in T.cde j1i9....
    still it is showing the same error.....
    hope to hear back from you......
    Thanks&Regards,
    Chand

  • How to find out the company code given the customer number

    I am new to SAP please help me out? How do you find out the answer.

    Hi,
    Goto T.Code SE11/Se16/SE16n.
    Key in the table name as KNB1.
    Enter your customer number.
    Execute.
    You will get your company code here.
    Another way is Goto XD02/XD03.
    Enter your customer number.On company code press F4.Enter the customer number and press Enter.A list of company code in which your customer presents will appear.
    Regards,
    Krishna.

  • Customer Number in Assignment Field while doing MIGO 453

    Hi ,
    In the Sales Return Process , we take the Goods in by 651 Standard.
    When this Return Stock is being transferred to unrestricted by MIGO 453, I am not able to establish any link betwee the Original Customer & this Stock which is being transferred. No mention in the Delivery document or the GI document of the original customer.
    Also, there is a Partner Tab on the MIGO screen under "Detail Data" , but even when i manually enter in the Customer number here, it does not get reflected anywhere in the subsequent delivery & GI document.
    The requirement is to populate the Assignment Field in the Accounting Document of the 453 GI, with the Customer number , from whom the Goods were returned from .
    This will be a HU managed Storage Location .
    Thanks & regards
    ANMol

    I dont think this is possible due to the fact the said fields are based on copy control VTFL (if it is delivery related billing) and VTFA (if it is order related billing) where at header level, you have two fields, viz.Assignment Number and Reference number. You cannot create on your own other than what is provided to select.
    thanks
    G. Lakshmipathi

Maybe you are looking for