Ref_code tables not required but generated

Hi.
I don't use any ref_codes tables in my application. But when generating table API I always obtain this part of the *.PKB script for every table:
PROCEDURE validate_domain(cg$rec IN OUT cg$row_type,
cg$ind IN cg$ind_type DEFAULT cg$ind_true)
IS
cursor cDomain( p_columnName varchar2 ) is -- B1158144 : added
SELECT RV_LOW_VALUE, RV_HIGH_VALUE
FROM CG_REF_CODES
WHERE RV_DOMAIN = p_columnName;
dummy NUMBER;
no_tabview EXCEPTION;
PRAGMA EXCEPTION_INIT(no_tabview, -942);
BEGIN
NULL;
EXCEPTION
END validate_domain;
with the error message that the CG_REF_CODES table doesn't exist when applying the script to database. How to avoid the cursor definition? I have the DS - 9.0.2.2 version Designer. Everything was OK in previous version.
The workaround is to create CG_REF_CODES table empty but I don't want to have it. Thank you for any advice.
The "Automatic creating of REF_CODES tables" is unchecked.
Ivan Virag

Automatic Code Generation is supported only on Leaf Members currently in SQL Server 2014 MDS.
As a workaround you can use "Start With" property to generate the code after certain number(reserving range for leaf members)
Other option is to use alpha numeric code for Consolidated Members to avoid conflict.
-Nithesh Shetty Software Engineer, C & E -> IMML -> MDS, Microsoft.

Similar Messages

  • AutoInvoice - DFF not required but still returns error

    Hi all,
    We're using autoinvoice to import invoice from other system. We use several DFFs at the line (interface_line_attributes - context specific) as well as the header level (Header_attributes - using Global Data Elements).
    A couple of these DFFs are not mandatory - they're extra fields that can be used whenever we need to store more information on the transaction, otherwise they can be left blank. I have set them as not required (Required checkbox on the value set is unchecked), but whenever I leave these DFFs blank the system throws an error "All enabled segments of Transaction Flexfield must have a value". Is there any way to resolve this.
    Thanks

    What is your application release?
    Please see these docs.
    Troubleshooting Transaction Flexfields in AutoInvoice [ID 1077555.1]
    Setting Up Receivables Descriptive Flexfields [Video] [ID 1068344.1]
    You Must Supply Sales Credit Assignments For This Transaction [ID 334599.1]
    Line DFF Attribute15 Not Transferred To AR Autoinvoice Interface: RA_INTERFACE_LINES_ALL [ID 1266768.1]
    For TCS Why Auto Invoice Is Rejecting Transactions With Transaction Flexfield Must Have A Value [ID 1188738.1]
    Invoice Group Default Line Type not Working which Causes Autoinvoice to Fail [ID 1296066.1
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Computers report "not required", but why ?

    I am trying to push out Windows 8.1 Update 1 (KB 2919355) to a collection, containing all my windows 8.1 computers.
    However, if I check the SCCM report, most of the computers (that all contain Windows 8.1 Enterprise or Pro) have a state of "Update is not required".  A couple of machines got the update alright. 
    The update has not been superseeded, by any other update, and the update is for the x64 OS, and the OS of all machines is x64. 
    Does anyone have a clue with it's behaving this way, or what to do from here ? 

    There are three known solutions solution to this that were established in
    this thread:
    Download and deploy 2919355 and 2919442 to Windows 8.1 systems separately from WSUS.
    Download and deploy Windows 8.1 Update slipstream media that includes all the Windows 8.1 Update patches.
    Apply the Windows 8.1 Update patches using DISM to the original (ca 2012) Windows 8.1 media.
    (1) works, although I have not found a way to get SCCM to reliably deploy 2919442 by packaging it as an application or package.  I did determine that once 2919442 is installed on a deployed machine SCCM will eventually succeed in patching
    up to a current machine provided almost automatically -- you still have to reboot each machine a few times manually.
    I have yet to actually get a copy of the Windows 8.1 Update slipstream media required for (2).  It is missing from my VLSC portal.
    I have had the best success by doing (3) by manually applying 2919442, and the patches list in KB2919355
    in the correct order to the Windows 8.1 install media wim using DSM.  That process looks something like this:
    dism /mount-wim /wimfile:win81.wim /index:2 /mountdir:.\mount
    dism /image:.\mount /add-package /packagepath:.\patches\Windows8.1-KB2919442-x64.msu
    dism /image:.\mount /add-package /packagepath:.\patches\Windows8.1-KB2919355-x64.msu
    dism /image:.\mount /add-package /packagepath:.\patches\Windows8.1-KB2932046-x64.msu
    dism /image:.\mount /add-package /packagepath:.\patches\Windows8.1-KB2959977-x64.msu
    dism /image:.\mount /add-package /packagepath:.\patches\Windows8.1-KB2937592-x64.msu
    dism /image:.\mount /add-package /packagepath:.\patches\Windows8.1-KB2938439-x64.msu
    dism /image:.\mount /add-package /packagepath:.\patches\Windows8.1-KB2934018-x64.msu
    dism /Unmount-Image /MountDir:.\mount /Discard
    Where
    win8.1.wim is from the original circa 2012 Windows 8.1 install media
    .\mount is an empty folder
    .\patches is the folder containing each of the required patches
    Hope this helps someone avoid the pain it took me to figure this out.
    Alex

  • Source Table not Partitioned, But destination is, Will Streams Work?

    I want to use Oracle streams to setup replication in a single source environment.
    Here is what I need to do:
    I have a sorce data base where tables are not partitioned and oits an OLTP system.
    I have another DB which has same schema as OLTP, but some of the tables are partitioned. Also it has some additional tables.
    Now my question is can I setup Streams to move incremental changes from Source DB to Destination DB.
    For Partitioned tables do I need to do something special so that it works?
    Another question is I want to propagate changes only once a day, is it possible using streams?
    Thanks

    Hi,
    Yes.. Streams work and the data gets propagated when there is no partition on one side and partion on the other side. It will even work when the paritition ranges are not same.
    Propagating changes only once a day -- sure, possible theoritically but not sure how we can achive this.. I think starting and stopping the capture/apply process whenever needed will give you the required result. There is no control on propagation .. only control on Capture and Apply processed.
    HTH
    Regards,
    Badri.

  • Need Syntax definition / explanation for pop-up blocker - apparently wildcards are not required, but this isn't specified.

    http://support.mozilla.com/en-US/kb/Pop-up%20blocker/discuss/1876
    This question has been asked, but was rejected unanswered.
    The response states that you must add the full url. It would be more useful to state that you need the base url only, which will then take out any subdomains etc.
    http://superuser.com/questions/10760/firefox-popup-blocker-filtering-exceptions
    The article above explains in nicely.
    I"m writing a desktop checklist for 5000 end users of an online homelessness data collection program, and I need to add our site to their exception list.
    I interpreted the instructions to list the URL of every site on the domain. I thought this was unlikely, so kept searching. To the letter, the instructions suggest you enter:<br />
    <br />
    www.mysite.com
    www.mysite.com/help
    www.mysite.com/home
    www.mysite.com/faq
    etc etc
    instead of www.mysite.com
    Thanks!
    Liz

    You can only make an exception for a domain and a sub domain (mysite.com www.mysite.com) and not for subdirectories on a domain (www.mysite.com/help -> www.mysite.com)

  • IMP-00033 (table not found) but WAS exported

    Oracle 8i on Tru64
    I did a full EXPORT on a DB and saved the log file along with the export. I am now trying to import a certain table using... "imp <db connect stuff> file=my.exp tables=RTL_INSTS". The import pumps out some header info (Import release no, Copyright, Connected to Oacle8i, Export file created... via direct path, import fone in US7ASCII... importing SYSTEM's ojbects into SYSTEM (this took a couple minutes)... ), then it reports IMP-00033: Warning: Table "RTL_INSTS" not found in export file.
    As I mentioned, I kept the log file of the export. It clearly reports that over 400,000 records were exported successfully for that table.
    Any ideas?

    Try
    imp <db connect stuff> file=my.exp fromuser=<owner of the table> touser=<imp_user> tables=RTL_INSTS
    of course fromuser and touser can be the same.

  • When loading my online banking it says untrusted connection but when I try to add exception it says the site has a valid certificate and exception is not required, but still wont connect

    When trying to connect to online banking this is what I get.
    This Connection is Untrusted
    You have asked Firefox to connect
    securely to www.txn.banking.pcfinancial.ca, but we can't confirm that your connection is secure.
    Normally, when you try to connect securely,
    sites will present trusted identification to prove that you are
    going to the right place. However, this site's identity can't be verified.
    What Should I Do?
    If you usually connect to
    this site without problems, this error could mean that someone is
    trying to impersonate the site, and you shouldn't continue.
    Technical Details
    I Understand the Risks
    When I click on I understand the risks and try to add an exception I get this:
    This site provides valid, verified identification. There is no need to add an exception.
    yet I can't get passed this and connect to the site!

    What are the Technical details showing as the cause?
    Check the date and time in the clock on your computer: (double) click the clock icon on the Windows Taskbar.
    *https://support.mozilla.org/kb/Secure+Connection+Failed
    Try to rename the file cert8.db to cert8.db.old in the Firefox Profile Folder to remove all intermediate certificates that Firefox has stored by visiting secure websites.<br />
    If that helped to solve the problem then you can remove the renamed file cert8.db.old unless you have user certificates that you may want to export first and import them in the new file.<br />
    Otherwise you can restore the certificates by renaming (copying) the file back to cert8.db<br />
    Firefox will automatically store new intermediate certificates when you visit websites that send them.<br />
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder

  • Are full admin rights required to generate webhelp in RH8?

    My team has used RoboHelp for the past 10+ years, upgrading as needed. We were granted full admin rights on our PCs by our IT department several years ago so that our HTML webhelp would generate properly using RH5. We have now upgraded to RH8 but the IT department is going to take away our full admin rights. 
    Do we still need full admin rights on our PCs to generate HTML webhelp projects in RH8?  The Installing and Activating RoboHelp topic on www.grainge.org is not clear on this.
    We typically copy the entire RH8 project to our C drive, work and generate there and then move them back to our company network drive for deployment.
    If someone can help claify for us it would be great.

    The answer is no, admin rights are not required to generate webhelp or any other output. They are required to install RoboHelp but are not required thereafter. You do of course need write permissions for the folder to which you are generating but that should be on your hard disk and therefore automatic.
    Your IT department can check your permissions.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Internal Order not required

    Dear All,
    Here I am doing F-02 transaction there i am giving Cost center, Profit center and Business area and Internal order is not required, But system is giving message like "Please enter Correct Internal Order".
    I checked in OBC4 and OB41, there Order is in Optional.
    Here my exact requirement is without entering internal order the entry should be posted. The system should not ask the above message.
    Can you please guide me how to fix this issue.
    Thanks & Regards,
    Ramesh Reddy

    Dear Ramesh,
    Please check whether you have validation or substitution for this TCode.

  • In Pages (5.2), in a table, superscript is not only not printing, but not printing the text around it. Bizarre

    In Pages (5.2), in a table, superscript is not only not printing, but not printing the text around it. Any answers?

    Known issue now for almost 9 months.
    Use Pages '09 if you have it.
    Peter

  • Error in pakcage table or view does not exist but on sql prompt query works

    Hi
    Can any one help me to understand the error of ORA-00942: table or view does not exist while compiling the package on Oracle 9.2.0.4.0
    The below package compiled in system user and trying to query on view v$session_wait however getting below error.
    PACKAGE BODY SYSTEM.PK_DB_ALERT
    On line: 212
    PL/SQL: ORA-00942: table or view does not exist
    I can execute same query mentioned below from sql prompt from system user and it works fine however it doesn't like from package, Please advice, thank you in advance.
    SELECT SID, seq#, event, wait_time
    FROM v$session_wait
    WHERE event NOT LIKE 'SQL*Net%' AND wait_time <> 0
    ORDER BY 2

    SDD wrote:
    Hi
    Can any one help me to understand the error of ORA-00942: table or view does not exist while compiling the package on Oracle 9.2.0.4.0Which means package owner is granted select on view not directly but via roles. However, roles are ignored by definer rights packages/stored procedures/stored functions/triggers... You need to grant package owner select on view directly.
    SY.
    Edited by: Solomon Yakobson on Jan 21, 2010 4:06 AM

  • Code in main does not require catch, but code in constructor does

    this is the original program, its all in main. i took all the code out of main and put it in a constructor to make it more usable, and started making the necessary adjustments. i eventually got it to work but i had to catch exceptions EVERYWHERE. why does this code not require so many exceptions when the code is in main?
    import java.io.BufferedInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.net.URLConnection;
    public class MainClass {
      public static void main(String args[]) throws Exception {
        URL u = new URL("");
        URLConnection uc = u.openConnection();
        String contentType = uc.getContentType();
        int contentLength = uc.getContentLength();
         // ||
        if (contentLength == -1) {
          throw new IOException("Error: No File Found.");
        InputStream raw = uc.getInputStream();
        InputStream in = new BufferedInputStream(raw);
        byte[] data = new byte[contentLength];
        int bytesRead = 0;
        int offset = 0;
        while (offset < contentLength) {
          bytesRead = in.read(data, offset, data.length - offset);
          if (bytesRead == -1)
            break;
          offset += bytesRead;
        in.close();
        if (offset != contentLength) {
          throw new IOException("Only read " + offset + " bytes; Expected " + contentLength + " bytes");
         String dirText = "text";
         String dirTarget = "target";
         String filename = u.getFile().substring(u.getFile().lastIndexOf('/') + 1);
         String dirAndFile;
         // determine weather the file is a target or is to be parsed for more files
         if(contentType.startsWith("text/")) {
              dirAndFile = dirText + "\\" + filename;
         else {
              dirAndFile = dirTarget + "\\" + filename;
        FileOutputStream out = new FileOutputStream(dirAndFile);
        out.write(data);
        out.flush();
        out.close();
    }Edited by: chopficaro on May 1, 2010 8:15 AM

    ok but still, why do i not have to catch all these exceptions when the code is in main rather than a constructor? heres the code after i put it in the constructor:
    import java.io.BufferedInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.MalformedURLException;
    public class MainClass {
         public static void main(String args[]) throws Exception
              MainClass mc = new MainClass("http://www.google.com/intl/en_ALL/images/logo.gif");
         MainClass(String addr)
              URL u = null;
              try
                   u = new URL(addr);
              catch (MalformedURLException e)
                   // Print out the exception that occurred
                   System.out.println("Invalid URL "+addr+": "+e.getMessage());
              URLConnection uc = null;
              try
                   uc = u.openConnection();
              catch (IOException e)
                   // Print out the exception that occurred
                   System.out.println("Unable to create "+addr+": "+e.getMessage());
              String contentType = uc.getContentType();
              int contentLength = uc.getContentLength();
              if (contentLength == -1)
                   System.out.println("no file");//throw new IOException("Error: No File Found.");
              InputStream raw=null;
              InputStream in=null;
              try
                   raw = uc.getInputStream();
                   in = new BufferedInputStream(raw);
              catch (IOException e)
              // Print out the exception that occurred
              System.out.println("bad input stream "+e.getMessage());
              byte[] data = new byte[contentLength];
              int bytesRead = 0;
              int offset = 0;
              while (offset < contentLength)
                   try
                        bytesRead = in.read(data, offset, data.length - offset);
                   catch (IOException e)
                        // Print out the exception that occurred
                        System.out.println(e.getMessage());
                   if (bytesRead == -1)
                   break;
                   offset += bytesRead;
              try
                   in.close();
              catch (IOException e)
                   // Print out the exception that occurred
                   System.out.println(e.getMessage());
              if (offset != contentLength)
                   System.out.println("didnt read enough bytes"); //throw new IOException("Only read " + offset + " bytes; Expected " + contentLength + " bytes");
              String dirText = "text";
              String dirTarget = "target";
              try
                   String filename = u.getFile().substring(u.getFile().lastIndexOf('/') + 1);
                   String dirAndFile;
                   // determine weather the file is a target or is to be parsed for more files
                   if(contentType.startsWith("text/"))
                        dirAndFile = dirText + "\\" + filename;
                   else
                        dirAndFile = dirTarget + "\\" + filename;
                   FileOutputStream out = new FileOutputStream(dirAndFile);
                   out.write(data);
                   out.flush();
                   out.close();
              catch (IOException e)
                   // Print out the exception that occurred
                   System.out.println(e.getMessage());
    }

  • Tables are deleted but database size does not change in sql server 2008r2

    Hi All,
    20GB Tables are deleted in my database but database size does not change and disk size showing same size.

    Hi ,
    I have ran the Disk usage by Top Tables report and Identified couple of tables with unwanted data for last 5 years. I have deleted the data for the first 3 years and then ran the Disk usage by Top Tables report again. When I compared the report before
    and after the data deletion, I have noticed certain facts which is not matching with what I know or learned from experts like you. The following are the points where I am looking for clarification:
    1.Reserved (KB) has been reduced. I was expecting the data Reserved (KB) will remain the same after the data deletion. 
    2. The Data(KB) and Indexes(KB) fields have been reduced as expected. The Unused(KB) field have been increased as expected.
    I was expecting the total of Data(KB) and Indexes(KB) field space gained will be equal to the Unused(KB) field gained after deleting the data. But that is not the case. When I deducted(subtracted) the difference in  the Reserved(KB)(Difference before
    and after data deletion) field from the Total of space gained from the data deletion is equal to the Unused(KB) gained field value.
    I am not a SQL expert and not questioning but trying to understand whether we really gain space by deleting data from the tables. Also keen to get the concepts right, but my testing by deleting some records confused me.
    Looking ahead to all your expert advice.
    Thanks,
    Vennayat

  • My ipod cannot be synced because there is not enough free space to hold all the items in the itunes library(additional 2.35GB required) but it shows 5.85GB free space,  there was no problem until i got a new laptop.

    "The ipod **** cannot be synced becaue there is not enough free space to hold all the items in the itunes library (additional 2.35 GB required)"  but it shows 5.89 GB free. I recently bought a new laptop, and gave away my old one after deleting everything off it, including itunes, the problem started then,

    Hi Terri 4514,
    If you are having a "free space" alert when you try to sync, you may find the following article helpful:
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
    Regards,
    - Brenden

  • Is there a mobile phone that can sync with ical, but does not require a data plan?

    Is there a mobile phone that can sync with ical, but does not require a data plan?

    Thanks for the reply.  I already have this info, but have spent several hours trying to cross reference with the product descriptions and the different carriers websites.  I was hoping there was an easier way.
    John Maisey wrote:
    Hi,
    You cakn sync many phones using iSync. See here: http://support.apple.com/kb/ht2824
    Best wishes
    John M

Maybe you are looking for

  • X201 - Incomplete Win7x64 Shutdown drains battery

    Does anyone else have any issues with their x201 where the computer *appears to execute a full shutdown* (screen goes black, power light goes off, etc. but when you go to turn the machine on later, the battery is drained?  Its happened to me a couple

  • Problem Using iTunes To Sync Photos To iPhone4 From Aperture Library

    hello, i have 1400 pics in my aperture library and when i sync it to my iphone4 it's only show me 114 photos.. i don't know why? may u help me?

  • If I purchase the Photography package, am I able to upgrade to a larger package later?

    I'm wondering if I buy a smaller package now, can I upgrade in a few months if I need to, or will I need to buy an entire new package on top of the photography package that I've already purchased?

  • Add protocol args with quotes via command-line

    I am creating a small script to insert objects into the SGD databases (ENS) via command-line and perl. I have some difficulties with protocol-arguments which require quotes ("). For example: /opt/tarantella/bin/tarantella object new_windowsapp --name

  • Water vs. iPhone 4S

    So this weekend I had a water / iphone incident. The liquid sensors are both red so I know it wont be repalced. Its been in a bag of rice for 3 days and today i took it out. I backed it up on itunes. Everything works fine except it thinks headphones