Prt for producing different parts

Hi, please advise how to see the list of parts produced using same prt? where to show the link between prt and the final product for which we use prt to produce it?

Dear Raju,
I want prt to mateials relation, not prt to production orders. please advise.
Your materials will be used in orders only
Regards
kumar

Similar Messages

  • I am making multiple DVD's of roughly 50 hours of footage on DVD Studio pro with 4 separate menus for 4 different 'parts' or series if you will. 50 hours - 20 episodes - 4 parts of 5 episodes each. What are my options in terms of burning these parts on to

    I am making multiple DVD's of roughly 50 hours of footage on DVD Studio pro with 4 separate menus for 4 different 'parts' or series if you will. 50 hours - 20 episodes - 4 parts of 5 episodes each. What are my options in terms of burning these parts on to separate DVD's, what is the process, what size DVD RW should I buy, what bitrate should I use, and what quality I should expect for the burn. Any advice or insight is welcome.

    >>What are my options in terms of burning these parts on to separate DVD's<<
    20 episodes totaling 50 hours equals about 2.5 hours per episode assuming all episodes have the same duration.  Fitting 2.5 hours onto one single layer DVD would require a low bit rate which means quality wouldn't be anywhere near best, but that's a judgement call you'll have to make based on several factors.  For example; if there is not much motion in the video (talking heads, etc), you can get by with a lower bit rate and may not notice any quality difference.
    >>what is the process>>
    The process is essentially the same as it is when authoring a regular DVD with 2 hours or less of content.  However, with as many discs as you'd need to complete this "set," you'll need to create a separate DVD Studio Project for each disc.  Basically, you'd use one of Compressor's DVD Presets (or customize a preset) to create an MPEG--2 video file (.m2v) and a Dolby Digital audio file (.AC3).  Import both of those assets into your DVD Studio Pro project for authoring and burning.
    If you want to keep one episode per disc, DVD Studio Pro does have a 150 minute preset or you could use dual-layer discs with a higher bit rate for better quality.  Again; your call.
    >>what size DVD RW should I buy<<
    Size?  12cm.  Capacity?  Single layer, single sided DVD discs (DVD-5) have a rated capacity of 4.7Gb (4.37Gb actual), including menus.  If you use single layer discs and want to keep the quality reasonably good, you'd need at least 50 discs to complete this "set" with each disc holding roughly 2 hours of footage if you keep the menu on each disc simple.  Or, you could use dual-layer discs (DVD-9) which have a capacity of about 7.95Gb - almost doubling the recordable capacity.  There are also dual-sided, dual-layer discs available (DVD-18) but they are relatively expensive and have to be manually turned over to continue playback ... but they do have roughly 15.9Gb capacity.
    >>what bitrate should I use, and what quality I should expect for the burn<<
    Exactly; the quality is dependent on the bit rate chosen, as well as the quality of the compression.  Using compression markers where needed can greatly increase the quality of playback but will most likely increase the file size of the compressed video.  For the best quality, keeping the bit rate  as high as possible allowed under the DVD specification will yield the best quality but some DVD players may choke if the bit rate is too high.  For best quality I typically aim for a bit rate around 7.6 to 8.0Mbps but that will only allow about one hour of footage.
    Naturally, if you decrease the bit rate, you can fit more footage onto the disc but quality will be sacraficed.   Here's a chart approximating DVD bit rates and durations for single layer discs (does not include space for menus):
    3.5Mbps - 120 minutes
    5.0Mbps -   95 minutes
    6.0Mbps -   82 minutes
    7.6Mbps -   65 minutes
    8.0Mbps -   60 minutes
    -DH

  • How do I add the Address for 2 different PARTIES to the same complex folder

    I have a PARTY table and an INTERESTED PARTY table and both contain an ADD_ID from the ADDRESS table.
    I created a complex folder with both PARTY.ADD_ID and INT_PARTY.ADD_ID and I want to add the Address info for each each to the folder.
    I am only prompted to CHOSE A JOIN when adding the first ADDRESS items, but not for the second.
    How do I get both addresses into the same complex folder?

    Hi Lance,
    Using Discoverer Admin 9i, I had already created the Complex folder and was dragging items from the simple ADDRESS folder into it.
    Because the simple Address folder is joined to so many other folders being used by my complex folder, I was prompted to chose which join I was referring to - so I selected ADDRESS->PARTY.
    Then I tried dragging the same set of address items into the same complex folder again. I expected it to ask me to chose another join (ADDRESS->INTERESTED PARTY) - but it didn't. It assumes I'm still referring to the PARTY join, but I'm not.
    I even tried bringing the ADDRESS table in from the database twice (like you would do in an Access query).
    I joined ADDRESS->PARTY and ADDRESS1->INTERESTED PARTY, but Discoverer got hung up on that so I ditched that idea.
    I will look into your suggestion of manually entering the appropriate SQL.
    Thank you for responding.
    G Brookes

  • How to select different parts of the text? cmd button no longer does that...

    After installing Maverics i can no longer propertly edit my work as I cannot mark different parts of text using cmd button. Shift works as before for highlighting all the text from starting point to selected point but I can no longer use cmd to highlight different areas of the text. Is this an OS bug? Or was the button for selecting different parts of the text changed? I tried everything...

    It's just a small part of what makes Pages 5 so "stunning" (Apple's word). You think stripping out the nifty ability to mark non-contiguous passages of text was neat? Sure that was nice. But Apple has gotten rid of more, so much more. And for free!
    Just wait till you put the product through its paces and you discover other nice features that are missing, such as (but not limited to):
    - no linking of text boxes!  Yes, that's right. Now a newsletter that had a "continued on page 6" or whatever will be broken by Pages 5. Stunning! (Even more stunning, Pages 5 will strip out all sorts of formatting from documents created with Pages 4.3 and it will do ao without warning and will save the document in a NEW unified file format so that it cannot be opened by Pages 4.3, thereby potentially losing users hours and hours of work. Stunning!
    There's more!
    - Pages 5 has no mail merge, no bookmarks, no images in headers/footers! Pages 4.3 has those features, but this stunning new release removes them.
    - Pages 5 features vastly reduced and simplified set of templates (there used to be about 130 Apple-cupplied templates, now there are about 60).
    - Page 5 also boasts NO RTF SUPPORT, so a paper your wrote with Apple's own TextEdit is not natively readable with Pages: Stunning!
    - No detail was too small to omit in this stunning new release: the vertical ruler, so you can easily place text or an obejct at a certain place in a document: gone! Setting the default zoom: gone!  Status bar reproting word count and pagecount (e.g., Page 4 of 48): Gone! View comments in the left side bar: Gone!  Autocapitalization: Gone! Search & Replace: drastically simplified!
    But here's the really good news: Pages 5 is just PERFECT for creating a one page-poster advertising a new concert by Apple employee Eddie Cue. What's more you can collaborate on it with someone else, even if they're using a PC. Now that's "stunning"!

  • Since purchasing the Note 3 in October i have had nothing but issues. I went through all the steps and eventually I was sent a different phone, which was working for the most part until the recent upgrade. Now I am back to the old issues, no service, it a

    Since purchasing the Note 3 in October i have had nothing but issues. I went through all the steps and eventually I was sent a different phone, which was working for the most part until the recent upgrade. Now I am back to the old issues, no service, it actually says not moblie network available, when everyone else in my family has coverage and are on my plan with iphones. I am missing text messages and dropping calls left and right. This is unacceptable for the cost of this phone and my service. I have did a hard reset etc. What else can I do??

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • Different parts for the same ID

    Hi,
    TABLE1 contains informations about programs, these include:
    PROGRAM_ID (fk of program table), PART_NO, MEDIA_ID
    A program can be made of different parts (PART_NO i.e., part 1, 2, 3, 4, or 5).
    The media_id is the unique identifier or a VHS tape where the program is recorded on.
    Parts of a program will have the same Media_id as long as the sum of their lenght does not exceed the VHS length, if that happens, the media_id for the part which does not fit the VHS will be different:
    i.e. Program1 has 4 parts of 1 hour each. Part 1 and 2 will be on the same VHS (2 hours), hence will have the same media_id; part 3 and 4 will have a different media_id associated to program1.
    TABLE2 contains information about the media:
    MEDIA_ID (pk), MEDIA_NAME
    If one program has more than one media associated to it, I need to be able to display both media_names on the same row as the program_id under the same column called VHS_Number (I asssume by using concat).
    Can anyone suggest anything so that I can move in the right direction?
    thanks
    Message was edited by:
    user564568

    create table table1(program_id number(2),part_no number(2),media_id varchar2(3));
    insert into table1 values(1,1,'m1');
    insert into table1 values(1,2,'m2');
    insert into table1 values(1,3,'m2');
    insert into table1 values(1,4,'m1');
    insert into table1 values(2,1,'m3');
    insert into table1 values(2,2,'m2');
    insert into table1 values(3,1,'m1');
    insert into table1 values(3,2,'m2');
    table1
    program_id part_no media_id
    1          1     m1
    1          2     m2
    1          3     m2
    1          4     m1
    2          1     m3
    2          2     m2
    3          1     m1
    3          2     m2
    create table table2(media_id varchar2(3),media_name varchar2(9));
    insert into table2 values('m1','media1');
    insert into table2 values('m2','media2');
    insert into table2 values('m3','media3');
    insert into table2 values('m4','media4');
    insert into table2 values('m5','media5');
    table2
    media_id media_name
    m1          media1
    m2          media2
    m3          media3
    m4          media4
    m5          media5
    select program_id,distinct media_name
    from table2 A,(select media_id,program_id,part_no,dense_rank() over ( partition by program_id order by media_id) rn from table1) B
    where A.media_id=B.media_id
    is this kind of data you are looking for

  • PLMD_AUDIT - Produce different smartforms for Audit dependant on Audit Type

    HI,
    This is a new module for us so we are looking for help!
    We have created our own smartform, ZPLM_AUDIT, to be produced for an audit. This all works well.
    However, we would now like to produce a different form for a different Audit type.
    How do we determine which form to use? There seems to only be space in config for one form name. We have found SAP Note 432642 and followed the instructions but the note does not tell us how to use the class we create.
    If anyone has any experience in this area, we would be very grateful for your help.
    Thanks,
    Jan
    Edited by: Jan on Dec 21, 2010 11:48 AM

    Hey Jan
    I am facing the same issue. Can you help how did you identified the audit type in this method . Also let me know what code u wrote in your enahcement .
    Thanks

  • Report Generation Toolkit producing error -2147417842, "The application called an interface that was marshalled for a different thread."

    Hi everybody,
    I've got an application that logs data to an Excel spreadsheet using the Report Generation Toolkit.  My VI's have worked fine in the past using Excel XP, but since I've upgraded to Excel 2007, I am getting COM errors like this one:
    "Error -2147417842 occurred at The application called an interface that was marshalled for a different thread. in Excel_Insert_Text.vi"  That is the exact wording, even with the weird punctuation and capitalization.
    The first occurrence of the error is not determinate.  Sometimes, up to 10 logging sessions, involving a new .xls file, can occur before this error pops up.  Once this error occurs, I must quit LabVIEW to resolve it.  If I try to do anything with Excel, I always get this error, although sometimes it comes out of different source VIs.  Excel_Open.vi is another.
    These logging VIs have worked just fine until upgrading to Excel 2007.  I checked, and I was using a really old version of the Report Generation Toolkit, v1.0.1.  I read the documentation and had a big sigh of relief when I realized I needed to upgraded to v1.1.2 to get Excel 2007 support.  However, even after upgrading, I'm still getting the same errors.  I'm using LabVIEW 8.0.1, and I'm also building these VIs into an application.   The error occurs both in the LabVIEW IDE and in the built application.  Does anybody out there have any idea what I can do to fix this?  I googled a little, and discovered this is a COM error, but I can't find any references to the Report Generation Toolkit specifically.
    Thanks,
    Phil
    Solved!
    Go to Solution.

    Hi Christian,
    I do not see that exact option listed, do you mean "user interface"?  I recognize the "Run in UI Thread" option, it's on the Call Library Function Node.
    I checked, and my top-level VI has "same as caller" set, and I believe all my VIs are set to "same as caller".  Are you suggesting I change my top-level VI preferred execution environment to "user interface", or just the logging sub-VIs that use the Report Generation Toolkit?
    Thanks,
    Phil
    Attachments:
    VI_properties.png ‏15 KB

  • If I live in Canada for part of the year and the US for the other part, how can I redeem different itunes cards?

    I Live in Canada for part of the year and the US for the other part....how can I redeem giftcards fro one into the other?  can I create a new apple ID for in the States to redeem my giftcards?

    Click here and ask the iTunes Store staff to zero your account balance.
    (121212)

  • LAB Swatches produce different colors in ID, PS & Illy

    Hello. I have CS4 and have sychronized the color management settings. I have a set of swatches in .ase format that were defined as LAB process colors. When I load them into InDesign, Photoshop and Illustrator they all three produce different CMYK values - differences large enough that they can't be the result of rounding errors. This surprises me given that I've sychronized the color management settings. Do each of these three programs use a different formula/set of instructions for LAB>CMYK conversion?

    Make a Spot swatch in Lab Mode in an RGB or CMYK doc in Illustrator
    (not as Process swatch, not in RGB, not in CMYK)
    Save as PDF
    Oben doc in Photoshop in  Lab mode
    Measure Lab values - they are the same as in Illustrator.
    Place doc in InDesign
    InDesign doesn't change Lab numbers in placed graphic.
    So far it´s guaranteed that Lab values are preserved across the three programs.
    The appearance depends on local color settings and gamut clipping issues.
    Even if the color settings should be globally the same - there are local settings,
    like the document color mode in Illustrator. Which settings RGB or CMYK are
    correct for Lab docs? No idea, I'm not bothering about appearance in this case,
    because there is another ugly problem already luring: gamut clipping.
    A Lab or Spot can be in-gamut or out-of-gamut for a specified RGB space and
    specified CMYK-space.
    Spots by Lab values which are definitely in-gamut or out-of-gamut for sRGB
    resp. ISOCoatede-v2(eci) are found here:
    http://www.fho-emden.de/~hoffmann/munsell15052009.pdf
    If we choose Spots with values in-gamut for sRGB, then we have good chance
    that they will appear identical in all three programs. 
    The whole workflow shouldn't be confused by early conversions into a CMYK
    space. A ready PDF, still with Lab colors like the mentionend one (except for
    text and line black/gray, which is in CMYK K-only) can be converted (as already
    mentioned in my first post), into CMYK by Acrobat Pro, which should concern
    only the Lab colors, not CMYK K-only parts.
    A preview by Softproof in Photoshop (document Lab, Preview ISOCoated-v2(eci)
    for instance, can be used to detect ugly effects of gamut clipping early.
    Where is Color Management involved?
    a) in the monitor appearance of Lab values. This should be identical for in-gamut
    swatches.
    b) in the final conversion of Lab to CMYK. Precisely at only one stage - in Acrobat.
    Even if the appearance should not be identical - the Lab values are nowhere changed
    in the workflow. Lab values are never out-of-gamut in Lab space.
    Another example: Lab data of the mentioned doc were imported in Photoshop,
    exported in groups as files (probably as *.ase  / Adobe Swatch Exchange, but here
    I'm not sure about) and used in Illustrator for experimental Tracing graphics:
    http://www.fho-emden.de/~hoffmann/casamunsell24062012.pdf
    Best regards --Gernot Hoffmann
    Edited: *.ase

  • Views for list web parts. Is there a way to allow users to change the view for a list web part without being redirected?

    Hi,
    I added a list view web part into a SharePoint 2013 page and it  is working as expected, except for one thing.
    I have enabled the option for the user to change the view for the web part. However when the user changes it, the user is redirected away from the page containing the web part, to the URL of the list itself.
    Is there a way to circumvent this issue so when the user selects a different view it updates the listing in the web part itself, rather than the user being redirected?
    Thanks in advance for the help.
    Regards,
    P.

    Hi,
    Please understand that one page can only display one view. You could find it out by observing the Address in browser when switching among different views for a list.
    If you would like to change the view of a list web part, you could go to web part propertites > Select view and configure it.
    In addition, here is a thread with similar requirement that might help:
    http://social.technet.microsoft.com/Forums/en-US/18dba190-5ee2-4b50-b005-1360d862f4ba/how-can-end-user-change-the-view-in-a-list-view-web-part?forum=sharepointgeneralprevious
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Filter expression producing different results after upgrade to 11.1.1.7

    Hello,
    We recently did an upgrade and noticed that on a number of reports where we're using the FILTER expression that the numbers are very inflated. Where we are not using the FILTER expression the numbers are as expected. In the example below we ran the 'Bookings' report in 10g and came up with one number and ran the same report in 11g (11.1.1.7.0) after the upgrade and got two different results. The data source is the same database for each envrionment. Also, in running the physical SQL generated by the 10g and 11g version of the report we get different the inflated numbers from the 11g SQL. Any ideas on what might be happening or causing the issue?
    10g report: 2016-Q3......Bookings..........72,017
    11g report: 2016-Q3......Bookings..........239,659
    This is the simple FILTER expression that is being used in the column formula on the report itself for this particular scenario which produces different results in 10g and 11g.
    FILTER("Fact - Opportunities"."Won Opportunity Amount" USING ("Opportunity Attributes"."Business Type" = 'New Business'))
    -------------- Physical SQL created by 10g report -------- results as expected --------------------------------------------
    WITH
    SAWITH0 AS (select sum(case when T33142.OPPORTUNITY_STATUS = 'Won-closed' then T33231.USD_LINE_AMOUNT else 0 end ) as c1,
    T28761.QUARTER_YEAR_NAME as c2,
    T28761.QUARTER_RANK as c3
    from
    XXFI.XXFI_GL_FISCAL_MONTHS_V T28761 /* Dim_Periods */ ,
    XXFI.XXFI_OSM_OPPTY_HEADER_ACCUM T33142 /* Fact_Opportunity_Headers(CloseDate) */ ,
    XXFI.XXFI_OSM_OPPTY_LINE_ACCUM T33231 /* Fact_Opportunity_Lines(CloseDate) */
    where ( T28761.PERIOD_NAME = T33142.CLOSE_PERIOD_NAME and T28761.QUARTER_YEAR_NAME = '2012-Q3' and T33142.LEAD_ID = T33231.LEAD_ID and T33231.LINES_BUSINESS_TYPE = 'New Business' and T33142.OPPORTUNITY_STATUS <> 'Duplicate' )
    group by T28761.QUARTER_YEAR_NAME, T28761.QUARTER_RANK)
    select distinct SAWITH0.c2 as c1,
    'Bookings10g' as c2,
    SAWITH0.c1 as c3,
    SAWITH0.c3 as c5,
    SAWITH0.c1 as c7
    from
    SAWITH0
    order by c1, c5
    -------------- Physical SQL created by the same report as above but in 11g (11.1.1.7.0) -------- results much higher --------------------------------------------
    WITH
    SAWITH0 AS (select sum(case when T33142.OPPORTUNITY_STATUS = 'Won-closed' then T33142.TOTAL_OPPORTUNITY_AMOUNT_USD else 0 end ) as c1,
    T28761.QUARTER_YEAR_NAME as c2,
    T28761.QUARTER_RANK as c3
    from
    XXFI.XXFI_GL_FISCAL_MONTHS_V T28761 /* Dim_Periods */ ,
    XXFI.XXFI_OSM_OPPTY_HEADER_ACCUM T33142 /* Fact_Opportunity_Headers(CloseDate) */ ,
    XXFI.XXFI_OSM_OPPTY_LINE_ACCUM T33231 /* Fact_Opportunity_Lines(CloseDate) */
    where ( T28761.PERIOD_NAME = T33142.CLOSE_PERIOD_NAME and T28761.QUARTER_YEAR_NAME = '2012-Q3' and T33142.LEAD_ID = T33231.LEAD_ID and T33231.LINES_BUSINESS_TYPE = 'New Business' and T33142.OPPORTUNITY_STATUS <> 'Duplicate' )
    group by T28761.QUARTER_YEAR_NAME, T28761.QUARTER_RANK),
    SAWITH1 AS (select distinct 0 as c1,
    D1.c2 as c2,
    'Bookings2' as c3,
    D1.c3 as c4,
    D1.c1 as c5
    from
    SAWITH0 D1),
    SAWITH2 AS (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    sum(D1.c5) as c6
    from
    SAWITH1 D1
    group by D1.c1, D1.c2, D1.c3, D1.c4, D1.c5)
    select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3, D1.c4 as c4, D1.c5 as c5, D1.c6 as c6 from ( select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    sum(D1.c6) over () as c6
    from
    SAWITH2 D1
    order by c1, c4, c3 ) D1 where rownum <= 2000001
    Thank you,
    Mike
    Edited by: Mike Jelen on Jun 7, 2013 2:05 PM

    Thank you for the info. They are definitely different values since ones on the header and the other is on the lines. As the "Won Opportunity" logical column is mapped to multiple LTS it appears the OBI 11 uses a different alogorthim to determine the most efficient table to use in the query generation vs 10g. I'll need to spend some time researching the impact to adding a 'sort' to the LTS. I'm hoping that there's a way to get OBI to use similar logic relative to 10g in how it generated the table priority.
    Thx again,
    Mike

  • Infoview for 2 different BOMain.key in one BO6.5 server

    Hi,
    For our business requirement, we split our BO6.5 solution into 2 parts u2013 so now we have 2 security domain ( with 2 BOMain.key ) running under 1 physical BO6.5 server. Also we have 2 separate BCA dedicated for 2 different security domains. So we have two BOMain key files in the path C:\Program Files\busobj\LocData in server. We have kept both keys in same path as we need to monitor the BCA console for both the system.
    But while we are trying to log into BO6.5 infoview, it's directly authenticating the key file kept in the particular server path (C:\Program Files\busobj\LocData), where it's getting two BOMain.key files and as a result of this contradiction it's throwing error.
    On the other hand, we observe as we remove the 1 BOMain.key file from LocData folder and keep single key file is there in the path C:\Program Files\busobj\LocData, the infoview is working fine. But on that case, BCA scheduled reports( checked from BCA Console) are not working for removed BOMain.key system.
    So my question is, if there is any work around to run infoview for 2 different BOMain.key in one BO6.5 server. Otherwise, can we keep one of the BOMain.key s to other path and point corresponding BCA Console to the same path?
    Here are configuration details:
    BO Version: 6.5.1
    Server OS: Windows Server 2003
    Security Repository: Oracle

    First of all, yes, we have already migrated our reports to new BOXI3.1 environment. But because of business criticality, we cannot stop old BO6.5 environment at this moment.
    Secondly, as per my understanding infoview application can be customized as per requirement. Is it not possible to customize infoview in such a way that it will check for BOMain.key at any other folder instead of LocData? I am just thinking. Please advice.

  • How to use "User Events" in different parts of an application

    Hi,
    "You programmatically can create and name your own events, called user events, to carry user-defined data. Like queues and notifiers, user events allow different parts of an application to communicate asynchronously. You can handle both user interface and programmatically generated user events in the same Event structure."
    What you read was part of labview 7.1 user manual ( Chapter 9 - pg.12 ). I've some problems with the underlined sentence. I hope someone can help me.
    When using Queues, the programmer may use a named queue everywhere in the application. there is no need to wire queue reference among VIs or using global variables to store queue reference. the name of the queue will be all that you need. I wonder if it is also possible with a event refnum that is the output of "Register for Event" node. As far as I've tested. the answer is Negative! I tried to copy-paste refnum in front panels and using the same name. but there is no connection between event refnums.
    LV User manual claims that user events can be used like queues, but it doesn't seem so.
    Does anybody have an idea?
    Best Regards.

    I didn't look at Damien Gray's presentation recently, but if I remember it correctly, it is on a much higher level than what I meant, because it refers to LARGE application. This is a very simple one.
    Using a functional global is not problematic CPU-wise, nor memory wise (unless you get into really big data structures, like hundreds of MBs), so you shouldn't be afraid to use it. I'm also not sure why you're afraid of the loop. The loop is only there to "hold" the USR. It only runs once. If you want, you can replace it with a for loop that runs once. I've recently learned that apparently, you can also get rid of the loop and use a local variable (look at the example called XY chart) instead of a USR. I don't think a local variable should have any more impact than a USR, but that needs to be tested. It can definitely be more convenient for some VIs where you don't have to wire the SR through the entire VI.
    Anyway, you will need to have an "obtain ref" VI which will hold a 1D array of names and a corresponding array of refs. Then, you search the array for the name, and if it finds the name, it extracts the correct reference. You will also need a way to input references and names into the array and possibly a way to empty the array. You may need to have 2 levels - the inner VI will be the LV2 VI and the parent will be the obtain ref\fill array\close VI. You will need some error handling as well - what happens if you search for a name and it can't be found and so on...
    Hope this helps.
    Try to take over the world!

  • SQL Query produces different results when inserting into a table

    I have an SQL query which produces different results when run as a simple query to when it is run as an INSERT INTO table SELECT ...
    The query is:
    SELECT   mhldr.account_number
    ,        NVL(MAX(DECODE(ap.party_sysid, mhldr.party_sysid,ap.empcat_code,NULL)),'UNKNWN') main_borrower_status
    ,        COUNT(1) num_apps
    FROM     app_parties ap
    SELECT   accsta.account_number
    ,        actply.party_sysid
    ,        RANK() OVER (PARTITION BY actply.table_sysid, actply.loanac_latype_code ORDER BY start_date, SYSID) ranking
    FROM     activity_players actply
    ,        account_status accsta
    WHERE    1 = 1
    AND      actply.table_id (+) = 'ACCGRP'
    AND      actply.acttyp_code (+) = 'MHLDRM'
    AND      NVL(actply.loanac_latype_code (+),TO_NUMBER(SUBSTR(accsta.account_number,9,2))) = TO_NUMBER(SUBSTR(accsta.account_number,9,2))
    AND      actply.table_sysid (+) = TO_NUMBER(SUBSTR(accsta.account_number,1,8))
    ) mhldr
    WHERE    1 = 1
    AND      ap.lenapp_account_number (+) = TO_NUMBER(SUBSTR(mhldr.account_number,1,8))
    GROUP BY mhldr.account_number;      The INSERT INTO code:
    TRUNCATE TABLE applicant_summary;
    INSERT /*+ APPEND */
    INTO     applicant_summary
    (  account_number
    ,  main_borrower_status
    ,  num_apps
    SELECT   mhldr.account_number
    ,        NVL(MAX(DECODE(ap.party_sysid, mhldr.party_sysid,ap.empcat_code,NULL)),'UNKNWN') main_borrower_status
    ,        COUNT(1) num_apps
    FROM     app_parties ap
    SELECT   accsta.account_number
    ,        actply.party_sysid
    ,        RANK() OVER (PARTITION BY actply.table_sysid, actply.loanac_latype_code ORDER BY start_date, SYSID) ranking
    FROM     activity_players actply
    ,        account_status accsta
    WHERE    1 = 1
    AND      actply.table_id (+) = 'ACCGRP'
    AND      actply.acttyp_code (+) = 'MHLDRM'
    AND      NVL(actply.loanac_latype_code (+),TO_NUMBER(SUBSTR(accsta.account_number,9,2))) = TO_NUMBER(SUBSTR(accsta.account_number,9,2))
    AND      actply.table_sysid (+) = TO_NUMBER(SUBSTR(accsta.account_number,1,8))
    ) mhldr
    WHERE    1 = 1
    AND      ap.lenapp_account_number (+) = TO_NUMBER(SUBSTR(mhldr.account_number,1,8))
    GROUP BY mhldr.account_number;      When run as a query, this code consistently returns 2 for the num_apps field (for a certain group of accounts), but when run as an INSERT INTO command, the num_apps field is logged as 1. I have secured the tables used within the query to ensure that nothing is changing the data in the underlying tables.
    If I run the query as a cursor for loop with an insert into the applicant_summary table within the loop, I get the same results in the table as I get when I run as a stand alone query.
    I would appreciate any suggestions for what could be causing this odd behaviour.
    Cheers,
    Steve
    Oracle database details:
    Oracle Database 10g Release 10.2.0.2.0 - Production
    PL/SQL Release 10.2.0.2.0 - Production
    CORE 10.2.0.2.0 Production
    TNS for 32-bit Windows: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production
    Edited by: stevensutcliffe on Oct 10, 2008 5:26 AM
    Edited by: stevensutcliffe on Oct 10, 2008 5:27 AM

    stevensutcliffe wrote:
    Yes, using COUNT(*) gives the same result as COUNT(1).
    I have found another example of this kind of behaviour:
    Running the following INSERT statements produce different values for the total_amount_invested and num_records fields. It appears that adding the additional aggregation (MAX(amount_invested)) is causing problems with the other aggregated values.
    Again, I have ensured that the source data and destination tables are not being accessed / changed by any other processes or users. Is this potentially a bug in Oracle?Just as a side note, these are not INSERT statements but CTAS statements.
    The only non-bug explanation for this behaviour would be a potential query rewrite happening only under particular circumstances (but not always) in the lower integrity modes "trusted" or "stale_tolerated". So if you're not aware of any corresponding materialized views, your QUERY_REWRITE_INTEGRITY parameter is set to the default of "enforced" and your explain plan doesn't show any "MAT_VIEW REWRITE ACCESS" lines, I would consider this as a bug.
    Since you're running on 10.2.0.2 it's not unlikely that you hit one of the various "wrong result" bugs that exist(ed) in Oracle. I'm aware of a particular one I've hit in 10.2.0.2 when performing a parallel NESTED LOOP ANTI operation which returned wrong results, but only in parallel execution. Serial execution was showing the correct results.
    If you're performing parallel ddl/dml/query operations, try to do the same in serial execution to check if it is related to the parallel feature.
    You could also test if omitting the "APPEND" hint changes anything but still these are just workarounds for a buggy behaviour.
    I suggest to consider installing the latest patch set 10.2.0.4 but this requires thorough testing because there were (more or less) subtle changes/bugs introduced with [10.2.0.3|http://oracle-randolf.blogspot.com/2008/02/nasty-bug-introduced-with-patch-set.html] and [10.2.0.4|http://oracle-randolf.blogspot.com/2008/04/overview-of-new-and-changed-features-in.html].
    You could also open a SR with Oracle and clarify if there is already a one-off patch available for your 10.2.0.2 platform release. If not it's quite unlikely that you are going to get a backport for 10.2.0.2.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

Maybe you are looking for