Master Data UDO & Numbering Series

Hi experts,
my question is simple: is it possible to assign a Numbering Series (created via "Numbering Series - Setup" menu) to a Master Data UDO, so to let me add a new record within UdoTable without specify "manually" the field "Code"?
And, if this is possible, how can i do that?
Last, but not least, is there a similar way to solve this problem?
I am working with Business One v9.0 PL05.
Thanks in advance.
M.

Hi Marco,
Master Data UDO: no. Master Document UDO: yes.
Personally, I'm using this query to do it:
SELECT RIGHT('00000000' + CONVERT (varchar(32), ISNULL (MAX(Code), 0) + 1), 8) Code FROM [{0}] to get generically the next value.
As you can see, the query takes the name of the UDO table as its single parameter. This is 3 lines of code then (which I have encapsulated in a function, Inside my fraamework) to get the correct value.
Regards,
Eric

Similar Messages

  • Vendor Master Data: Tax Numbers for Bidders

    Hi experts,
    I would like to maintain Tax Numbers for Bidders (SRM7).
    I can see that, somehow, corresponding table to handle tax numbers is not displayed when maitaining Bidders from portal. Such table is only displayed when maintaining Suppliers.
    Does anybody know why? In order to implement the requirement, I thought of using Search Term 1 as Tax Number for Bidders, but I donot really like this way, taking into account that there is already a standard table to handle tax numbers :S.
    Thanks in advance
    Regards
    Vicente

    Hi Vicente,
    This is true. You cannot maintain tax numbers for bidders because they are not yet the finalised suppliers with whom you would want to carry out business. Only once you have accepted a bidder via supplier registration or supplier qualification, will these bidders be converted to suppliers. Then you can maintain tax numbers for them.
    The norm is that sensitive information like Tax details should not be maintained until you do business with the potential supplier.
    Regards,
    Nikhil

  • Numbering Series in XL Reporter

    Hi Experts,
    Can anyone suggest/provide a guide on how to create such a report. I'm trying to design a report from XL Reporter which will display Items from specific vendor transacted in AR Invoice and Credit Memo and I can choose specific numbering series for that document.
    Parameters:
    Start Date
    End Date
    Vendor
    Numbering Series
    Thank you

    Hi,
    In XL Reporter 2007, the field 'Series' on document headers are not exposed to the meta data, therefore you cannot use this field in your reports. Any reports upgraded from 2005 version which contains this field may have problem executing in 2007
    Refer this note:[1260849|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001260849] on the same.
    Hope this clarifies your issue.

  • Linking UDO to Item Master Data

    Hello Everyone
    I just created a User Define Object to store alternative codes for items. In the master data i put all the itemcodes and a description. In the Master Data rows I store all the alternative codes and the supplier that item can have. Sometimes they are few alternativa codes, sometimes a lot
    Now I want for the these UDO be related to the Item Master Data so it can me update in the same place. Any ideas?

    Ok. These how the UDO works now:
    In the master data level, i use the itemcode. When i double click the line, it takes me to another table with the alternative codes for that specific itemcode only
    I added a UDF to the item master date and linked to the table (i tried linking them to the udo but could not find how) so it shows all the rows in the table, not just the ones matching that item. I tried with 2 UDF but still could not relate the two. Any ideas how???
    Can it be done with the Screen Painter?? Where can i fin documentation about the Screen Painter usage?? I only found documentation on installation

  • UDO with different numbering series

    Hi, we have a UDO with 2 different numbering series. When adding documents to the default, it is ok and adds the doc to the next avaialble number. The problem is when selecting the second serie, when adding the doc, it gets added to the default serie. A message says: "the actual posted document number is..
    Does anyone have an idea why this happens??
    THanks

    Eddy,
    Thanks for your answer. I am using SDK 2007.
    When I created de UDO, I set manageseries = yes. I enter the series into sbo form. But when I try to use a serie other diferent than default, when the document is posted, I get the message : "the actual posted docuement is ..." and show me the numbering of default series.
    This is way that I am using to set the number to docnum:
    oEdit = oForm.Items.Item("SrValue").Specific
    oEdit.Value = GetDocNumBySerie(as_series)
    Public Function GetDocNumBySerie(ByVal au_serie As Integer) As Integer
    Dim oCmpSrv As SAPbobsCOM.CompanyService
    Dim oSeriesService As SAPbobsCOM.SeriesService
    Dim oSeries As SAPbobsCOM.Series
    Dim oSeriesParams As SAPbobsCOM.SeriesParams
    'get company service
    oCmpSrv = oCompany.GetCompanyService
    'get series service
    oSeriesService = oCmpSrv.GetBusinessService(SAPbobsCOM.ServiceTypes.SeriesService)
    'get series params
    oSeriesParams = oSeriesService.GetDataInterface(SAPbobsCOM.SeriesServiceDataInterfaces.ssdiSeriesParams)
    'set the number of an existing series
    oSeriesParams.Series = au_serie
    'get the series
    oSeries = oSeriesService.GetSeries(oSeriesParams)
    'Return the series num
    Return oSeries.NextNumber
    end function
    Thanks for your help.
    Lucas

  • How to downlaod vednor master data into excel sheet in SAP Application ser

    Hi friends
    I want to download SAP vendor master data into excel sheet and the file should be stored in SAP Application server Location with padding zeros.
    Please help me.
    Thanks

    Hi Ramesh,
    You can download the data into application server using the following code. You will have the vendor details in the internal table. Then you will open a file and transfer the data as follows.
    *   Download internal table to Application server file(Unix)
    DATA: e_file like rlgrap-filename value '/usr/sap/tmp/file.txt'.     
      open dataset e_file for output in text mode.
      lOOP AT it_datatab......
        transfer it_datatab to e_file.
      ENDLOOP.
      close dataset e_file.
    In application server you will have only files and not excel sheets.
    Reward points if useful,
    Aleem.

  • Insert data in a user master data Table

    Hi every body,
    I've created a User Master data table named 'MyTable'. i want to add data to this table but there is an error which occur : 'to generate this. First Define the Numbering Series in the Administration Module'.  I want to add data to this table using C# code,  without using UDO.
    Is it possible?
    Thank you for helping me
    Haifa

    Hi,
    thank you for your answer.
    I didn't understand very well, i will ask the question in an other way.
    it is possible to insert records in a master data table by using the code C#
    I mean :
                usertable = _Company.UserTables.Item(tablename);
                usertable.Code = code;
                usertable.Name = name;
                usertable.UserFields.Fields.Item("U_ContCode").Value = ContCode;
                usertable.UserFields.Fields.Item("U_CardCode").Value = CardCode;
                lRetCode = usertable.Add();
    without encountering the problem of numbering series.
    Haifa

  • 4002 - first define the numbering series in the administration module

    Hi all,
    I have created the User tables and object type as Document and Document Rows.
    While adding the records thru DI API objects using SAPbobsCOM.UserTable i am getting error like
    4002 - "first define the numbering series in the administration module".
    Is it possible to add the Document and Document rows tables or Master Data and Master Data rows tables thru DI API objects.
    Please confirm.
    Regards,
    Benjamin Rosary.B

    As far as I know this is not possible. You can't add to a table that is not of type "No Object" using the DI API.

  • Master Data-Generic Delta

    hello guys
    I have some doubts when it comes Generic Extraction of Master Data from a source system(say SAP R3) with possible deltas...
    1.I heard from my friend,that while working with Master Data Generic Extraction (involving deltas),we generally do FULL LOADS....itsnot a common practise to do initialisation and then delta update as in the case of Transaction Data...Is that true?
    I know that it varies from case to case,but generally speaking,how often do we do these FULL LOADS?
    2.Suppose,if I say,I will go the unusual way and choose to do Master Data Deltas exactly like we do with Transaction Data deltas(first initialisation with data transfer then delta updates now and then)....how do we choose if its time stamp or numeric pointer incase of Master Data fields....
    suppose,I want to set characteristic 'Location' as delta-field,what do I choose out of numeric pointer,calendar day and time stamp?and why should I choose it?
    how about incase of Characteristic 'Customer Phone number'?
    Thanks fr ur time
    S

    Hi ,
    In generic delta you can choose only one field as delta option ie whatever changes happens for a record thar field shold get updated only then you will get delta for those records.
    Choosing numeric pointer for text fields like location wont help for you. May be phone number you can try as numeric pointer if it is purely a number series which uses new numbers always.
    If you are choosing these fields whenever there in chamge in this fields you will get delta. No other change in the same record will be captured
    Thanks,
    Arun

  • Master Data row delete problem

    Hi.
    I have an UDO(master data with details) form, I use code below to remove single detail line and to keep row numbering correct, for which UserDatasource is used, "row" is a currently selected matrix row number.
    form.DataSources.DBDataSources.Item("@MYDETAILS").RemoveRecord(row - 1);
    for (int i = row - 1; i < form.DataSources.DBDataSources.Item("@MYDETAILS").Size; i++)
             form.DataSources.UserDataSources.Item("udsRowNo").Value = (i + 1).ToString();
             form.DataSources.DBDataSources.Item("@MYDETAILS").Offset = i;
             matrix.SetLineData(i + 1);
    matrix.DeleteRow(matrix.RowCount);
    if (form.Mode == BoFormMode.fm_OK_MODE) form.Mode = BoFormMode.fm_UPDATE_MODE;
    This code work fine, but when datasource(so matrix too) contains just one line and after RemoveRecord(row-1) form.DataSources.DBDataSources.Item("@MYDETAILS").Size returns 0, after forms Update (Update button click)  form.DataSources.DBDataSources.Item("@MYDETAILS").Size again returns 1.
    Can anybody help me?
    Thanks.
    Edited by: Rui Pereira on Dec 23, 2008 11:23 AM

    hi
    try this code
    oDBDataSource.Clear();
                            oMatrix.DeleteRow(i);
                            oMatrix.FlushToDataSource();
    may be it helps you
    rajesh saini

  • Payroll period does not correspond to master data error in INLK run & soln

    Dear All,
    Just wanted to share this Issue and solution which i found after debugging.
    I am not sure it is 100% correct.
    I am working on indian payroll and was doing lagacy data transfer with INLK schema
    i was used to get error '2 payroll period does not correspond to master data'
    and this was for only new joinees in that period .what i found out after debugging is
    for e.g. employee is hired in 03.06.2011 .and record in t558b is
    90300035 1  2011    1 2011 3 01.06.2011 31.06.2011
    where 01.06.2011 is a for period begin date ,
    now in payroll program this is being checked with joining date in following subroutine check_aper_versus_t558b
    so it ends up with above error.now if i go and change 01.06.2011 to 03.06.2011 in T558B then payroll will be successful.
    I dont no whether this is right approach but this removed that error.Just wanted to share so
    It might help the members.

    la diferencia es la fecha del campo FPBEG que debe ser la fecha para los empleados que no esten con el año o periodo completo
    the difference is the date field FPBEG Table T558B to be the date for employees who are not full with the year or period

  • Modify Reconciliation Account of Customer Master Data

    Hi,
    I need to change Reconciliation Account into master data for some customer
    I've already changed the field  status group of customer by customizing, setting into area 'Company code data' the Reconciliation Account as optional entry.
    But that field into master data of customer remain not editable.
    What am I missing?
    Any assistance would be greatly appreciated.
    Best Regards.
    Eric

    Hi,
    If you do not have data for the customer account, you can change directly.
    But, if you already have data posted, this is the procedure of changing recon account, if you have data.
    All Document Items that were created in the old account will be posted in the same old account when you have a payment posting, compensations, etc.
    All document created after the change will be posted in the new account as well as the payment postings, compensations and others. 
    The system will separate the postings in accordance with the moment at the documents were created. 
    You should run balance sheet adjustment program after any reconciliation account change. 
    The system performs any adjustments required due to the change of reconciliation accounts or G/L accounts. The items from the old reconciliation accounts are allocated to the new accounts. 
    Since you cannot post to the reconciliation accounts directly, the postings are made to temporary adjustment accounts. 
    These adjustment accounts should be displayed along with the relevant reconciliation account in the balance sheet. The postings are then reversed after the balance sheet has been created. 
    The program for sorting the payables and receivables makes the necessary adjustments automatically. This means that you have to define the adjustment account numbers and the posting keys for these postings in the system. 
    If you purchase and install the FI-LC Consolidation application and have bought up a previous customer or vendor (thus also taking on his/her payables and receivables), please refer to the note in the report documentation on changed reconciliation accounts. To define the account numbers, select the activity Define adjustment accounts for changed reconciliation accounts in the Accounts Receivable and Accounts Payable Implementation Guide.
    You should only run this program if your new reconciliation account is classified differently from the original in your FS. e.g.. AR to Intercompany accounts. It will just reclassify the existing balance. The line items will not be transferred. If not then no need to run the program at all.
    You can do a test in the development client before you do the change in the production. 
    Good Luck,
    Raghu

  • How to Assign a Constant Value to a Dim. Member when pulling Master Data?

    BPC Gurus:
    I am trying load Vendor and Customer Master data into BPC dimension.  My Dimesnion has memebrs: ID, EVDESCRIPTION, PARENTH1, TYPE.  I have successfully pulled the ID and the description from 0CUSTOMER and 0VENDOR.  However, I
    need to have a ttext value for 'PARENTH1' and 'TYPE'.  For Customers, I want to add a FIXED value "'CUSTOMER' for every
    Customer ID pulled in and also for "TYPE", I want a value of "CUSTOMER".  When I maintainthe Dimension, I want to see
    th followingvalues:
    ID                          EVDESCRIPTION                                   PARENTH1                         TYPE
    0000000001         WALMART                                            CUSTOMER                        CUSTOMER
    0000000002          TARGET                                               CUSTOMER                        CUSTOMER
    and so ON
    Since we have Vendor Numbers in the same Diemsnion, when I pull Vendors, I need to have similar values as:
    ID                          EVDESCRIPTION                                   PARENTH1                         TYPE
    0000005050         ABC Supply Inc.                                   VENDOR                            VENDOR
    0000005051         BASF                                                    VENDOR                            VEDOR
    and so ON
    How can assign a Fixed value to the member Propert?  Can I achieve it in Conversion file....? 
    ( My atempts failed...).
    Any suggestion recommendation would be gretaly appreciated.
    Munna.

    Hi,
    For adding fixed values to the properties, you can use the transformation file. In the mapping section, you can specify a constant value. This value will be written to properties of all the members while importing master data. However, for parenth, its a bit different. First thing is that, you need to have a member called CUSTOMER, then only you can have CUSTOMER in the parenth column. Even if you add it and use the mapping section for this purpose, then it will write CUSTOMER to parenth for all the members (even to CUSTOMER member). And this will be wrong. So, you will need to write it manually.
    Hope you got the idea.

  • Unable to edit First no in Numbering series

    Hello Experts
    One of my client has entered data in Purchase Order for first time .
    First PO in the database .
    But unfortunately numbering series wasn't set , and by default general document numbering had 25 as its next no for PO.
    And user added the document with out checking the Document Number.
    Then tried to edit the " First No " in numbering series , but it is not allowing me to edit that coloumn.
    I was trying to edit because , as  the user started from 25.i would like to make the first no as 25.then that particular series will be closed .
    Is there any work around so that i can edit the first no . or any other work around that i can get rid of this scenario.
    Regards
    Krishna Vamsi

    Hi Krishna,
    I have a solution to your issue. Navigate into Administration --> Systerm initialisation --> Document Numbering double click on the purcahse order series # --> Series -Purchase order- setup.
    Change the Period indicator from the existing row default and define a newname and flag (tick) the LOCK checkbox and then create a new line by right clicking and add row with the required First No.,  set the period indicator to Default and set the new line "set as default".
    The PO will start with the new numbering series.
    Regards,
    Rakesh N

  • Error while creating document numbering series via SDK add on

    Dear Experts,
    We receive the following error while creating the document numbering series through the SDK add on
    [Microsoft][SQL Server Native Client 10.0][SQL Server]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Too many parameters were provided in this RPC request. The maximum is 2100.
    From the above error message I can suspect the following possibilities
    1. The limit for the document numbering must be less or equal to 2100.
    2. There is a problem in the coding in SDK where it does not allow more than 2100 lines in the database.
    We tried to create manually for the same fiscal year and period indicator disconnecting the add on, the same error occured.
    Then we created a seried for a single document with the period indicator for the next fiscal year, it allowed.
    After creating the document numbering for the next fiscal year, we were able to create the numbering for the previous year also.
    Kindly help us on how to solve the same.
    With regards,
    Yeshwanth Prakash

    Hi
    You have, as far as i can determine without seeing the template,defined no Part Appraiser Column (PAPP) in your template. But you have defined a function on the template to automaticly default the part appraisers.
    On the Appraisal document persons (appraiser / appraisee) are getting defaulted as part-appraisers although no part appraisal column excist,and therefor 00 Part Appraisers are allowed. This gives the error. Remove the Part Appraisers default functionality from the template and this problem will be solved.
    FYI: The reason why this doesn't give a business check error is that the functions to default participants are BAdI's and we have no means of determining wether or not a BAdI implentation will create an inconsistency on the appraisal document.
    Also, the reason that it occurs as a S message and not as E or W is because of programming restrictions in combination with messages. All errors on the Appraisal Document will come as 'S' messages.

Maybe you are looking for

  • IPhone causing iTunes crash

    I'm connecting my iPhone to the computer I am using and it has never had problems before but suddenly it is. It's been synced with it several times and the settings have not been changed. The computer reads that it's there because the iPhone camera w

  • Q190 Windows Media Center Missing

    Hello I just recived my new q190 and it is missing Windows media Center which a sales person on chat told me was included and the photo on the product page shows the device running. I am unable to locate this application or a activation code for it i

  • What is the best stabilization plug in for final cut pro x?

    The clip stabilization in final cut pro  x works ok but I need something better. Is there any third party product that will do a better job? Thanks George

  • Weblogic multiple Domain

    I am working with WLS 6.1 SP1 & SP2. I defined two Domain and they are working fine. In both Domains are different managed servers depending the different security realms. I can already manage the two domain from one Admin server. My Problem is how t

  • Should I bother updating to Sol 10 u6?

    Hi all, A question I have never really gotten a straight answer to, from anyone (not Sun, not community locals, nor documentation). Should I actually go to the trouble of UPDATING my Solaris 10 u3 hosts to u6 via taking the hosts down, then booting f