Machine selector bug??

Hi
Webtools 6 sp1
Em I right in thinking that the way the system works at the moment, a part can NOT be a component of a product line and a selected component of machine selector?
And why?
Thanks
Charles

Thanks Bryce,
Here's the sql statement that gets generated by NetPoint business object responsible for handling Machine selector requests. It gets generated on the IndexChange event of the Year pull-down menu.
SELECT DISTINCT TOP 200
pm.PartNo, ISNULL(pcs.PartName, pm.PartName),
ISNULL(pcs.PartDescription, pm.PartDescription),
pm.BasePrice, pm.MMImage, pm.StaticThumbnail,
pm.ProductLineFlag, ISNULL(pcs.PartType, pm.PartType)
FROM PartsMaster pm
INNER JOIN PartsCategory pc
ON pm.PartNo = pc.PartNo
INNER JOIN CatalogsCategory cc
ON pc.CategoryID = cc.CategoryID
INNER JOIN Catalogs c
ON cc.CatalogID = c.CatalogID
LEFT OUTER JOIN PartsCatalogStrings pcs
ON c.CatalogCode = pcs.CatalogCode AND pm.PartNo = pcs.PartNo
WHERE pc.CategoryID = 16
AND pm.PartNo IN (SELECT PartNo FROM PartsMachine WHERE MachineCode = 'Honda')
AND getdate() >= pm.AvailableDate
AND (getdate() <= pm.ExpireDate OR pm.ExpireDate IS NULL)
AND pm.AvailableFlag = 'Y'
AND pm.ProductLinePartNo = ''
AND pm.VariantMasterFlag = 'N'
AND cc.CatalogID = 3
ORDER BY pm.PartNo
Note the 4th line from bottom: AND pm.ProductLinePartNo = ''
In the case of my database, this field is populated with value of the ProductLine Part number for every part included in this product line.
For instance, given ProductLine A containing parts A1 A2 A3. These 3 parts (in my database) have value 'A' in the column ProductLinePartNo, which means that the aforedescribed sql script will NOT retrieve them.
Of course, I have no control on how this sql statement gets generated. And also, if I remove the 4th line, then the SQL server can pull off the missing records successfully, which leads me to think that the system can not support parts that belong to a ProductLine and MachineSelector in the same time. It seems to be one OR the other.
Regards,
Charles

Similar Messages

  • Selector bug?

    Hello.
    I've written sample socket server on Java using java.nio.* and expirienced problem that seemed to be solved here: [http://bugs.sun.com/view_bug.do?bug_id=6403933]. Behaviour is like described in bug report: after some connections Selector doesn't wait a timeout, it executes ten times a millisecond.
    According to bug database this should be fixed in 6u4(b02), we have 6u16(b01) and Linux 2.6.28. How come that 6u16 doesn't contain fix added in 6u4? is that possible?
    Code goes here:
    public void work(long timeout) {
            int retval = 0;
            try {
                retval = m_selector.select(timeout);
            catch (Exception e) {
                System.out.println(e.getMessage());
            if (retval == 0)
                return;
            Iterator it = m_selector.selectedKeys().iterator();
            while (it.hasNext()) {
                SelectionKey key = (SelectionKey)it.next();
                it.remove();
                if (!key.isAcceptable())
                    continue;
                try {
                    Socket socket = m_sockl.accept();
                      System.out.println("socket accepted");
                    m_workerPool.add(socket);
                catch (IOException e) {
                catch (PoolFullException e) {
                    System.err.println("pool is full");
        }The function is executed in loop:
    while (m_running) {
        serverFacade.work(100);
    }

    ejp wrote:
    in real life clients will disconnect when they want and how they want, so I can't rely on closing channels on server side.That doesn't make sense to me. In real life, both the client and the server have to close their channels. If you're decermenting the client count you should be closing the channel. Alternatively maybe you shouldn'ty be decrementing the client count?They have to, but they often don't ((: For example, what happens with your software when connection broke?
    I should write a production code, not a laboratorial one, so I want to be shure that my software will work as expected under any circumstances.
    Okay, current code (which still causes immediate select exits):    public void run() {
            Selector selector;
            try {
                selector = Selector.open();
            catch (IOException e) {
                System.err.println("ServerWorker: cannot open selector");
                return;
            System.out.println("worker running, have " + m_commandHandlers.size() + " command handlers");
            while (!m_stopped) {
                int n;
                addNewClients(selector);
                if (m_clients <= 0)
                    continue;
                try {
                    n = selector.select(m_timeout);
                catch (IOException e) {
                    System.err.println("selector.select error" + e.getMessage());
                    return;
                if (this.interrupted())
                    continue;
                if (n == 0) {
                    System.out.println("continue " + System.currentTimeMillis());
                    continue;
                System.out.println("select exited");
                Iterator it = selector.selectedKeys().iterator();
                while (it.hasNext()) {
                    SelectionKey key = (SelectionKey)it.next();
                    it.remove();
                    if (!key.isReadable())
                        continue;
                    System.out.println("got some message from client");
                    if (!proceedInput(key)) {
                        System.out.println("closing client channel");
                        try {
                            key.channel().close();
                        catch (IOException e) {
                            System.err.println("channel close failed: " + e.getMessage());
                        key.cancel();
                        m_clients--;
        }Is this right?

  • Time Machine Network Bug?

    With a Macbook Pro, I am connected to the network using ethernet cable. I manually start a Time Machine backup. After it starts, I disconnect the ethernet cable. Instead of Time Machine continue the backup using the Wireless network, the backup stops. Everything else (Safari for example) continue to work using the Wireless network. If I start the backup again, it starts and completes on the Wireless network.
    Is this a bug?

    I have another bug involving Time Machine and Spaces:
    When Time Machine is creating the the initial backup, an annoying small window with the progress bar is in the desktop. If you moved to a different space just not to see it in you working space, Time Machine stops. At this point is really really ANNOYING since my backup disk is remote, the initial backup is 299 GB and at this pace it will take the entire week or more to recreate the image... Not to mention that TM is creating this initial image because the sparce image i had GOT CORRUPTED after 6 MONTHS...
    Is clear that I'm really ****** off?

  • Need to re-authorize iTunes after Time Machine restore -bug?-

    After a ganked iTunes/Quicktime update I had to use Time Machine to restore my Mac.
    After trying to re-sync my iPod with iTunes I was informed that this machine was no longer authorized despite it being the same machine.
    I had to re-authorize the machine through iTunes and now have 2 authorized Macs even though it's the same machine and I can't de-authorize the "old version" since it just de-authorizes what you're using i.e. the "new version"
    My worry is that if I have to carry out further Time Machine restores then my 5 authorized slots will fill up and then I'll have to de-authorize all computers which you can only do once a year.
    Has anyone experienced anything similar and I assume this is a bug?

    Yes I've seen that and yes, it's a case of sending Mac OS X Feedback .

  • Time machine + spaces bug

    If you accidentally enter time machine, and, before it appears, activate spaces, you'll be stuck in spaces and can't exit.
    haha joking, you can exit, but you have to push your power button and enter sleep mode, entering sleep mode closes spaces and solves your problem

    I have another bug involving Time Machine and Spaces:
    When Time Machine is creating the the initial backup, an annoying small window with the progress bar is in the desktop. If you moved to a different space just not to see it in you working space, Time Machine stops. At this point is really really ANNOYING since my backup disk is remote, the initial backup is 299 GB and at this pace it will take the entire week or more to recreate the image... Not to mention that TM is creating this initial image because the sparce image i had GOT CORRUPTED after 6 MONTHS...
    Is clear that I'm really ****** off?

  • Drum machine designer bug ?? ( or is it just me ?? )

    when I use the drum machine designer I cant reset the channel strip and the normal arrows to change the plug in are not there nor are the on/off button but it is there for every other plug in ??? The picture is showing the missing power and arrows that normally bring up the plug in list

    so you can't just choose another instrument
    From the choices given to you in the DMD library yes... just select the pad and then select the pad sound you wish to use from the library browser...
    I think its weird that you can't bring up the plug in list
    Agajn Please read the info in the link I provided... DMD is NOT a plugin.. even though it resides in the Instrument slot.... Its a 'special' type of patch....
    To delete a DMD track.. just delete the main track and add a new one...

  • Time Machine/Dashboard Bug

    At a point during my Time Machine backup, my active window, in whatever program I'm using, becomes inactive. The program stays active, just the window of it becomes inactive. I have to click inside the window to make it active again. I believe the problem is related to Dashboard. If I restart my iMac and don't start Dashboard, the problem does not happen. If I have started Dashboard, and then quit it using StopDashboard widget, then the problem goes away.

    I've been turning on my suspect widgets one by one and testing. I just turned on one called "Current Moon Phase," and then the window deactivating problem happened again. I turned it off again. More testing.

  • E17 language selector bug

    Hey, so I've made a switch to E17 (community/e-svn from), and found that a long known bug doesn't let me use the keyboard layout switcher tool. Google gives nothing, the ticket is open. I just wanted to ask, has anyone here stumbled upon this problem and solved it?

    Thanks anyway.
    This is a very stupid question and maybe for another post, but I couldn't try the class you posted here
    http://forum.java.sun.com/thread.jspa?threadID=5203492
    because I couldn't compile it because I downloaded the library and got the folder in for example here:
    C:\Documents and Settings\Mis documentos\softsmithy-v20070520\softsmithy-v20070520\src\org\softsmithy\lib
    From there I added them one by one to my own folder (the one where I have my Java projets and where I downloaded the class you posted) and then I started recompiling each class I was asked for when started compiling the class you posted, but there are so many classes in the library, each one needed to compile the other and I don't know how to compile all at once or include the whole library as a package..
    Message was edited by:
    drholiday

  • OpenDirectory: Unable To Load Replica List, after Time Machine Restore

    I followed the following instructions provided on another thread (Open Directory: "Unable to load replica list"):
    Many Open Directory problems can be resolved by taking the following steps.
    1. The OD master must have a manually-assigned IP address on the local network, not a dynamic address.
    2. The primary DNS server used by the master must be 127.0.0.1 (that is, itself) unless you're using another server for internal DNS. The only DNS server set on the clients should be the internal one, which they should get from DHCP if applicable.
    3. Verify that the master's hostname matches its domain name by running the shell command
    sudo changeip -checkhostname
    4. Follow these instructions to rebuild the Kerberos configuration on the master.
    5. If you use authenticated binding, check the validity of the master's certificate. The common name must match the hostname and domain name. Deselecting and then reselecting the certificate in Server.app has been reported to have an effect in some cases.
    6. Unbind and then rebind the clients in the Users & Groups preference pane. Use the fully-qualified domain name of the master.
    7. Reboot the master and the clients.
    8. Don't log in to the server with a network user's account.
    9. Export all OD users, delete them, turn off OD, turn it back on, and import. Ensure that the UID's are in the 1001+ range.
    And got the following results:
    Check.
    Check.
    Resulted in the following console output: The names match. There is nothing to change.
    The touch command resulted in "No such file or directory." I circumvented this by manually creating the migration directory, then running the command again. The killall command failed saying "No matching processes were found." Opening the server app after that shows no change.
    My trusted certificate was apparently not restored from the backup, as it was no longer listed. I switched to the self-signed one until a CSR can be made.
    I'm not clear on what this actually means. There is no unbind or rebind functionality in the server app. Not to mention that my users or groups are no longer listed.
    Nothing changed after rebooting the server.
    Have always logged into server using the local server admin account.
    Where is this done? I don't see any place to do this in the Server App.
    At this point I'm suspecting that there are some serious Time Machine recovery bugs with server, as I have tried with multiple different restore points all ending in the exact same result.
    Any recommendations on where to go from here? I would love to do a fresh install, but need to archive the data from the server first. Unfortunately, I don't see how I can export each users' data without being able to log in as them.

    There seem to be some issues with PostgreSQL not running. Marketcircle Daylite and Billings Pro also won't start, and are showing errors to that effect.

  • Time Machine / iCal issues on Lion

    Hi all,
    please forgive me, if this has been discussed before. Searching the forums didn't reveal anything, though.
    Since upgrading to Lion (10.7.1 as of yesterday, and no improvement) I have two issues bugging me on my MacBook Pro (13", late 2010):
    when away from my home net, Time Machine keeps bugging me that it can not find my Time Capsule. This is annoying since this message keeps coming every 5 minutes or so and the window is automatically in the foreground and has the focus. Does anyone know how to tell Time Machine that it is perfectly normal for the Time Capsule to be unavailable when on the road and that there's no reason to get upset about this? When in my home net, Time Machine is happy, although it only backs up, when I hook up the power supply.
    iCal which I use extensively and which is synced via MobileMe ends up syncing forever every now and then (have found no correlation for this bug to appear - sometimes twice daily, sometimes only after a few days of usage). I have spent hours both with MobileMe chat support as well as with Apple's telephone support - no improvement. I've followed all sorts of tips on the net as well (deleting accounts, adding them again, etc). Deleting and adding my MobileMe account to iCal usually fixes the situation for a while. Strangely: busycal works like a charm with the same data (I presume). Does anyone have any idea how to fix this? Not that I dislike busycal, but I was resonably happy with iCal before lion - so I am a little hesitant to spend money on fixing something that shouldn't be broken in the first place
    any help or comment greatly appreciated
    cheers
    Torsten

    If you are going to install Mavericks on your existing Mac then you don't need to use Time Machine.  It's good to have a Time Machine backup but when you install Mavericks all of your personal files/documents are left intact and are unaffected.  Only the operating system files and updated applications are modified on your system.
    You may want to consider keeping your Lion backup and setting up the Mavericks backup on a new external hard drive.

  • Can't Backup to Time Machine to Local Snapshot

    Before Mavericks I could Backup Now to Mobile Backups and Enter Time Machine.  Now the only way I can do both is when I am attached to my Time Machine back up disk.  So with this "feature" the only way I can restore something from the Mobile Backups is to be connected to the backup disk.
    Is this a bug?  Is it a new "feature?"  And if so why?
    Also the lock on the Time Machine preferences has disappeared.  Why?

    Sorry for late reply, It is definitely a bug because if you cant restore from mobile backups when external drive is not available it totally defeats the point of having local snapshot. At first I thought my time machine was bugged but I was wrong, I tried restoring my Macbook pro retina, Macbook air all of them have the same problem, I filed a bug report 4 months ago, apple still didnt fix it.
    It is surprising to see that such a key component of time machine is broken and they cant even be bothered to fix it.
    Are you seeing this message when you try to enter time machine ? : Your Time Machine backup disk can’t be found.

  • Problems with calls and Answering Machine

    I have a problem with calls on my Z3 dual and the Answering Machine after the update to L.I don't have Smart Answer enabled -gesture to answer calls- but when I answer a call too close to the time set to the Answering Machine to kick in, when the call reaches this time (say 25 seconds) the call will be interrupted for about 2 to 5  seconds where I can't hear the other party and they can't hear me, and then the call will resume.If I disasble the answering machine, this bug is gone.I have cleared data of the phone app but still this issue persists.

    I suggest that you try to repair the phone software using PC Companion..
    Before repairing your device you may want to backup your information first. Check out this topic for more information on how to.
    How to backup?
    Let us know if the problem persist after you've repaired the software.

  • Fix? iTunes slow to import CD, sync iPod, freezes on credits - Page Faults

    All,
    Using Windows XP on a computer with 512 M of memory (lightning fast for it's time) I found that iTunes would import CDs at 0.3x to 0.7x, way too slow. iTunes resonded slugglishly to UI commands. And the credits screen (help - about iTunes) would freeze. Other applications do not have this problem. I found that iTunes memory management is sub optimal, at best. This causes iTunes to swap portions of its active program memory to the hard disk, slowing the interface by a factor of x1000.
    How to verify if this is happening:
    1. Open task manager by RIGHT clicking on the date on the windows control bar
    2. Click on the "Process" tab, then from the menu select "View" then "Select columns . . "
    3. Make sure "CPU", ("handles" (i.e. open files), "threads" (i.e. parallel processes), and "page faults" are checked. Page faults are swap of memory to the hard disk.
    4. Open iTunes, use as usual (e.g. view credits)
    5. If iTunes becomes slow (right away in my case), watch for increasing page faults (what I experience) or excessive threads or handles.
    In my case I'm getting over 1000 page hits a second when viewing credits. Someone didn't use good programming skills. (Not necessarily Apple, see below)
    Note: I see, and expect, the CPU to go to 100% while importing CDs.
    Please note: ** I do not use a mail client on this machine. ** I use a web based mail program and do not use MS outlook, and I don't want to. I only mention this because when I used iTunes, it locked up and I also received an error saying that I needed to setup my outlook client. Turning off automatic updates seems to have solved this lockup.
    Since I run Word, excel, iExlorer, games, and windows media manager without error I'm having trouble understanding why iTunes uses so much system resources. Poor development tools? Virtual machine? Bug in complier library?
    Thigs to try to fix:
    Since this is a memory issue: Try one or more of the following:
    Minimize the screen when importing CD (screen calls are a hog)
    This is what made the most improvement for me.
    Stop all other programs
    This allowed me to stop the credits screen.
    Try stopping / halting your antivirus programs
    Try updating your Video card driver.
    Note: I have a 'business' style video card. Aboslutly no bells/whistles. I do not wish to upgrade to a directX card just to allow easy transfers to my iPod / iTouch. I am using an Intel 82810E Graphics Controller with drivers provided by Wicrosoft.
    Set your performance for best performance:
    + Right click on the "My Computer" icon
    + Click on "advanced" - "Performance" - Visual
    + Click on "adjust for best performace"
    Note: This changes the XP look, had no effect for me.
    If you are still having trouble, close iTunes, open the Windows Media player to import your CD with the following settings: Tools - Options
    Player - Deselect start player in media guide (unless you really like it)
    Copy Music - Deselect Copy Protect Music (otherwise it only works in WMP)
    Root cause?
    I suspect that the iTunes is calling a function that it expects the video card to do easily. I suspect that the video card doesn't have that functionality, so the video card driver tries to emulate the functionality. The slow response from the driver apparently causes iTunes to go haywire.
    If you read this far:
    Please let me know if you found this helpful by writing a response.
    If you can think of anything (other than buying a new computer) that would allow this applicaiton to work, let me know. BTW: A real old version of quicktime works just fine on my 486!
    Apple developers:
    I would be open for a test bed if you need older HW to qualify on.
    Any idea why the credits would cause the page faults?
    Any way to use a bare bones video library (e.g. no scrolled fades etc.)?
    For an application that essentially copies files to my iPod, it sure uses a lot of resources.

    Welcome to AD!
    This is a user chat board - Apple developers won't be seeing your post. You could re-send it using
    itunes menu > Help > Provide iTunes Feedback
    Hoewever, don't expect a reply.
    the iTunes 8.1 system requirements page states
    +A DirectX 9.0-compatible video card with 32MB of video RAM; 64MB recommended+
    It's not that surprising that itunes doesn't act right on your PC.
    Message was edited by: Katrina S.

  • Data export and import between Oracle 9 and 10

    Hi all,
    I have been working with this for weeks. Reading posts and oracle doc. Finally, bugs block my way. Hope you can help me out. Many Thanks.
    Situation: I need to export data of one table from Oracle 10.2.0.1 to Oracle 9.2.0.8
    Background: Oracle 10.2.0.1 at Machine 1(IBM AIX), Oracle 9.2.0.8 at Machine 2(don't know, maybe Stratus), My local Machine(XP)
    Method 1: using SQL developer (MWB)
    Bug: there is CLOB field in the target table. All content of CLOB field become "(CLOB)" and data lost. This is a logged bug.
    Solution: give up using SQL developer
    Method 2: using Oracle 10 client exp & imp and remote from my local machine XP
    Bug: PLS-00302-SET_NO_OUTLINES must be declared
    Solution: using Oracle 9 client
    Method 3: using Oracle 9.2.0.1 client, since my local machine is XP
    Bug: EXP-00003: no storage definition found for segment (target DB run Oracle 9.2.0.8)
    Solution: using Oracle 9.2.0.8 client
    Problem: Oracle 9.2.0.8 client is for Stratus x86 only? I have no idea what Stratus is except believing it is a server machine.
    My senior told me to use sqlldr. But I just used it once for 3rd party DB for import. Can sqlldr export data?
    I would like to ask for any suggestions or/and solutions. Many Thanks!
    Best regards,
    Philip

    Hi OrionNet,
    Thank you very much for your helping and my problem solved. Here is my version of spool setting modifying from OrionNet example.
    set echo off
    set newpage 0
    set space 0
    set pagesize 0
    set long 2000000 //this is for CLOB, set it enough large to avoid missing data
    set feed off
    set head off
    set trimout on
    set trimspool on
    spool C:\spool.dat
    SELECT col1||'<EOFD>'||col2||'<EOFD>'||col3||'<EORD>' //this is separator for sqlldr
    FROM tab1
    WHERE col2 = 'XYZ';
    spool off
    and control file for sqlldr
    load data
    infile 'spool.dat' "str '<EORD>'" //ROW separator
    append
    into table tab1
    fields terminated by '<EOFD>' //FIELD separator
    trailing nullcols
    col1,
    col2,
    col3
    I think that using spool and sqlldr is the most "painless" method for Oracle 10g to 9i data move unless you are DBA of both DBs.
    Please share If anyone have easier/safer method. I am just crazy to migrate backward Oracle version.
    Thanks again,

  • Flash hangs IE as user/non admin with protected mode

    Windows 2008 R2. IE 8
    Versions of flash since 11.4 all exhibit this behavior.
    Install as Admin on 2008r2 works fine.
    Log on as user and flash hangs IE. The only way to get page to be functional is to disable protected mode or disable the shockwave plugin.
    I have seen a few post with different issues. I have tried most recomedations except the beta 11.6
    We cant load beta in our production enviroment and we cant disable proteced mode for our users.
    Is there a way to tell which thread I should be participating in and sending debug reports to.
    This happens in a Citrix Xenapp on Vmware ESX enviroment with 15 clean installed servers running on HP hardware. This also happens in RDP for these servers to rule out citrix. We also see this in  Win 7 VDI machines,

    This bug was causing the Flash player to delete the "broker" file upon exit in IE.  Normally this isn't a problem, as an admin level account has permissions to recreate this file.  That isn't the case with a normal user though.  Our fix stops the deletion from occurring unless the broker is specifically a temporary version.
    You might be able to work around this by running the script attached to this FAQ.  I've heard at least one positive report that this helps.  This script goes through and resets file, folder and registry permissions.
    How do I fix Windows permission problems with Flash Player?

Maybe you are looking for