Project ID to GL_JE_Line

Is there a SQL statement to tie the Project ID to a record in GL_JE_Line.
Thanks

Hi,
he way I reconcile Projects to GL is to write a SQL query using the link between the journal lines table (gl_je_lines) and the cost distribution lines table (pa_cost_distribution_lines). The batch name in the cost dist. table equals reference_1 in the journal lines table. I also link the ccid in the journal lines table to the dr_code_combination_id (for the debit side)in the cost dist. table. This gives me the project, task, expenditure type detail for each journal line in a given journal entry.
Thanks!

Similar Messages

  • Please Help on Project Expenditure Report

    Hi All,
    i am trying to get vendor number, invoice number,and journal details,.... for project expenditure items at project level and task level.
    query is working fine when i comment the gl part(all relevant gl tables,,,see below query). if i am joining with gl its giving null value for vendor number field and invoice number field even though this field were having correct values , i don't know to make a link from PA to PO ,AP and GL
    please help me ...
    SELECT jeh.period_name gl_period,
    pcdl.gl_date gl_date,
    prj.project_id project_id,
    jeh.name journal_number,
    jeh.je_source journal_source,
    jeh.je_category journal_category,
    peia.transaction_source expend_source,
    poall.po_number po_number,
    poall.item_description po_description,
    (SELECT REPLACE (expenditure_comment,CHR (10)) exp_comment
    FROM pa_expenditure_comments
    WHERE expenditure_item_id =peia.expenditure_item_id
    AND ROWNUM < 2) expenditure_comment,
    expenditure_category expenditure_category,
    peia.expenditure_type expenditure_type,
    prj.project_type project_type,
    pt.task_number task_number,
    pv.segment1 vendor_number,
    invc.invoice_num invoice_number
    FROM pa_projects_all prj,
    pa_tasks pt,
    pa_expenditures_all pea,
    pa_expenditure_items_all peia,
    pa_expenditure_types pet,
    pa_cost_distribution_lines_all pcdl,
    gl_je_lines jel,
    gl_je_headers jeh,
    po_vendors pv,
    (SELECT pod.po_distribution_id po_distribution_id,
    poh.segment1 po_number,
    pol.item_description item_description
    FROM po_headers_all poh,
    po_lines_all pol,
    po_distributions_all pod
    WHERE pod.po_line_id = pol.po_line_id
    AND pod.po_header_id = pol.po_header_id
    AND pol.po_header_id = poh.po_header_id) poall,
    (SELECT SOURCE, apid.invoice_id,
    apid.distribution_line_number,
    pap.full_name, aefla.merchant_name,
    aia.invoice_num invoice_num
    FROM (SELECT full_name, person_id
    FROM apps.per_all_people_f
    WHERE TRUNC (SYSDATE)
    BETWEEN effective_start_date
    AND effective_end_date) pap,
    apps.ap_invoices_all aia,
    apps.ap_invoice_distributions_all apid,
    apps.ap_expense_feed_dists_all aefda,
    apps.ap_expense_feed_lines_all aefla
    WHERE apid.invoice_id = aia.invoice_id
    AND aefda.feed_line_id = aefla.feed_line_id
    AND aefla.employee_id = pap.person_id(+)
    AND TO_CHAR (aefda.invoice_line_id) =
    SUBSTR (apid.attribute12,
    INSTR (apid.attribute12, ':',
    1)
    + 1,
    INSTR (apid.attribute12,
    1,
    1
    - INSTR (apid.attribute12, ':',
    1)
    - 1
    )) invc,
    pa_system_linkages syslink
    WHERE prj.project_id = pt.project_id
    AND peia.task_id = pt.task_id
    AND jeh.je_category = syslink.cost_je_category_name
    AND peia.system_linkage_function = syslink.FUNCTION
    AND pcdl.expenditure_item_id = peia.expenditure_item_id
    -- AND pcdl.transfer_status_code || '' = 'A'
    AND pcdl.batch_name = jel.reference_1(+)
    AND ((pcdl.dr_code_combination_id = jel.code_combination_id AND jel.reference_3 = 'Cost')
    OR (pcdl.cr_code_combination_id = jel.code_combination_id
    AND jel.reference_3 = 'Liability'
    AND jel.reference_3 IN ('Cost', 'Liability')
    AND pet.expenditure_type = peia.expenditure_type
    AND pea.vendor_id=pv.vendor_id(+)
    AND pea.orig_exp_txn_reference1 = poall.po_distribution_id(+)
    AND pcdl.system_reference3 = invc.distribution_line_number(+)
    AND pcdl.system_reference2 = invc.invoice_id(+)
    AND jeh.je_header_id = jel.je_header_id
    AND jeh.reversed_je_header_id IS NULL
    AND pea.expenditure_id = peia.expenditure_id
    AND jeh.je_source = 'Project Accounting'
    Thanks & Regards
    Gopi

    Hi,
    You will take PLANT and MATERIAL in to the rows of the query.
    Then you will use restriction key figure (restriction on History) with user enterd range.
    Then you will use one more restriction key figure (restriction on Plant %) with current date.
    For user enters range, define a variable on 0CALDAY with processing 'user entry' and with 'interval'.
    For second restriction , you will create a variable on 0CALDAY with processing 'Customer exit' and with 'Single entry'.
    In user exut , you will define the value for second Varaible as system-date.
    With rgds,
    Anil Kumar Sharma .P

  • Linking Project to Asset and Legal Entity

    Hi All,
    I am developing a CIP reconciliation report which shows the beginning balance, additions, transfers in/out and ending balance of CIP or capitalized portion of a capital project in the Oracle Project Module and reconciles the CIP balance to the balance sheet in the General Ledger.
    My report Columns are :
    Legal Entity--Project Number--Task Number--Asset Name--Asset Category--Beginning Balance--Ending Balance
    Total CIP Amount in GL =
    Could you help me as to which Oracle base tables should I use?
    Thanks,
    r2

    Would this be run just at month end, after closing? Or might this reconciliation be run at any time during the month? I am thinking that it would be run after a month has been closed? The answer to that question does make a difference as to what tables you might use. On the G/L side you could look at GL_BALANCES or GL_JE_LINES. On the projects side, you could start with PA_EXPENDITURE_ITEMS_ALL and PA_COST_DISTRIBUTION_LINES_ALL. PA_PROJECTS_ALL is the projects master file, where you will probably find out the project type (if CIP or not CIP). You would have to poke around and play with your data to see what might work. Every Oracle installation can do stuff in their own ways, so it is tough to give a good answer when we cannot see your data nor know how your company processes transactions. But those tables should be good starting points for looking at. Hope this helps a bit.
    John Dickey

  • Cash Management: How to extract unreconciled jrnl entries from gl_je_lines

    Hi,
    Can someone please send me the query to get Unreconciled GL entries from GL for a particular bank account. I want gl_je_lines data which are not yet reconciled with bank statement lines in Cash Management module. If there are gl_je_lines entries which are partially reconciled, I want to send the balance to be reconciled.
    Thanks
    Ranjith

    Hi Ranjith and octavio,
    It was really a learning reading the thread. I am also closely working on a similar activity. I need your help to resolve my issue. Below is the case:
    I need to create a View out of GL_JE_LINES table. This view will have all the journal lines for specific banks (asset_code_combination_id). This activity is basically pre-reconciliation process before the auto reconciliation. So instead of picking all the GL_JE_LINES for the collective asset_code_combination_ids, I would like to ignore those GL LINES which are already reconciled. We could do that with the same methodology you guys have approached. But our problem is that the ce_statement_reconcils_all has rows that does not have JE_HEADER_ID at all. Due to this, we could not compare the JE_HEADER_ID of GL_JE_LINES with reconcils table.
    First in place, what could be the reason that there is no JE_HEADER_ID for some of the rows in CE_STATEMENT_RECONCILS_ALL? Can we ignore those lines in our filter and go head to map those which has JE_HEADER_ID?
    For your information, in CE_STATEMENT_RECONCILS_ALL, for the rows that does not have JE_HEADER_ID, we have ORG_ID.
    Secondly, in CE_STATEMENT_RECONCILS_ALL does the auto reconciliation flag set to N means manual reconciliation done?
    Please help. We are badly looking out for some help since we got stuck at a critical phase of the project.
    Thanks.
    Vijayasarathy R
    Financial Functional
    Chenna, India.

  • Open project cancelled or unable to load database...

    I have been running version 9 sucessfully and moving projects around with no errors.  Today, I cannot load any of my projects.
    I have been through the threads and deleted the .cpj, moved the project to the root of my hard drive, etc.
    Something else is going on. 
    I did see some information on files being blocked by the virus scanner.  I'll pursue that with my help desk.
    Any other ideas would be appreciated.
    Thanks!

    The only file that is MS Access based is the CPD file and it does not matter which version of Access you have on your machine, indeed you don't have to have Access installed.
    If you have the same problems with the supplied sample projects, then maybe something has gone wrong with your installation of RoboHelp. Click Open on the RoboHelp Starter page and then click Samples in the ribbon on the left.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • I create a birthday calendar in iCal and then click on it in iphoto at the begining of the calendar project each year.  Some how the birthday did not populate the photo calendar.  Is there a way to add the birthday iCal calendar into the calendar project?

    I created a birthday calendar to use in iphoto for calendar.  When a new calendar project is started each year, I click on it in.  Some how the birthday did not populate the photo calendar this year.  The photo calendar is almost complete.  Is there a way to add the birthday iCal calendar into the calendar project? I would prefer not to start over.

    Hi,
    If you first select the calendar on the left, so that its background is highlighted blue/grey, when you make a new events they should be added to that calendar.
    Best wishes
    John M

  • Error in compiling Photoshop CC 2014 sample project

    Hi,
    I am trying to compile SDK sample project "outbound". but it is showing errors, as "Parse Issue: Unknown type name 'DialogPtr' " in DialogUtilities.h .
    DialogUtilities.h file is in "Adobe Photoshop CC 2014:photoshopsdk:pluginsdk:samplecode:common:includes".
    even if I add this path in project  settings it still shows the errors.
    how can I make this work?
    I am using Photoshop CC 2014 and Xcode version is 4.6.3 (4H1503)
    If you have any idea regarding project settings then please let me know.
    Thanks and regards,
    Priyanka.

    Are you using the CC 2014 release of the SDK?
    The DialogUtilities.h for mac do not work. They are the old Carbon API's. See the Dissolve example for an Objective-C UI.
    I would comment out the DialogUtilities.h include and other associated headers for Carbon UI. Some Carbon calls still work that are unrelated to UI.

  • How do I use my third computer with cloud. I am rendering a project in Avid Media composer

    How do I get my third computer to work with when I am rendering Avid project on the other two computers computers

    Hi,
    Running creative cloud on third machine will prompt you for the deactivation from last 2 machines. As per EULA for Creative cloud you can only install and work on 2 machines only, be it MAC-MAC, MAC-windows and windows-windows.
    working on third machine without deactivation from previous machines is not possible.
    Hope this helps.
    Thanks
    Kapil Malik

  • Mid month joiners PF Projection Issue

    Hi Team,
    We have an issue with respect to PF Projection for the employees who joined in mid month. We are on actual basis as an income tax projection.
    Employee joined on 16.04.2014 and his basic is 20,000 rupees. Since he joined in mid month his PF will be deducted as 1200. Now the system is projecting under Aggregate chapter VI as  1200+2400*11 = 27600 which is incorrect. It should do as 1200+1200*11 = 14400
    We are not sure why system Is behaving weird. If anybody come across this situation, please let us know.
    Thanks and Regards,
    Siva.

    Hello,
    Please note that proration in case of mid month termination and joining
    will be applicable to PF eligible pay alongwith EPF basis.
    This is the standard behaviour of the system.
    Please go through the below explanation on the proration of PF
    PF will be prorated if there is a mid month joinee or mid month
    termination. In Case of LOP the Eligible Pay is not prorated.
    If the pension basis is eligible pay which is maintained in T511P in the
    constant PFBAS and currently having the value as 6500 then, in the case
    of mid month joining  6500 gets prorated for the number of days employee
    was in the trust.
    In the case of mid month joining/leaving or transfer scenarios, the PF
    Basis will be correspondingly prorated and so the contribution
    calculated will also be prorated.
    If the customer doesn't want this pension basis to be prorated then a
    User Exit: Override Employer Pension Basis has been provided in payroll
    function INEPF. The name of the exit is EXIT_HINCALC0_002. This exit is
    in the enhancement HRINCEPF. We request you to go through the
    documentation of this user exit at
    Payroll India   > Statutory Social Contribution   > Provident Fund   >
    User Exit: Override Employer Pension Basis
    With Regards,
    Chetan

  • New Project - New Problems or The day the Reaper died

    Ok, this is more like telling a story than a cry for help.
    The story is about a new project, new (great) results and the disaster that followed.
    Well story starts October 21st with me upgrading rig 1 with new parts. They came for my Opteron165 setup which oc'ed nicely but didn't make it far enough. So board, cpu and ram of rig 1 (sig) got replaced by the following parts:
    The new cpu is an Athlon X2 5200+ EE (TDP 65W), 2.6ghz, 2x 1024kb L2 cache, 90nm, F3 stepping.
    The board is from MSI (of course), a K9N SLi Platinum. Very nice board and luckily it is PCB version 1.2 which features a heatpipe while the older version just had a very bad cooling, passive aluminium heat sink. The older version is the one still to be seen on MSI product site.
    The new one looks therefor way better and stays cooler:
    In addition I threw a pair of the finest ddr2 ram in it. A 2gb dual channel kit of OCZs new DDR2 PC2-6400 Reaper CL3 Edition. DDR2-800 with 3-4-4-15 (stock), guranteed to work with 2.3volts.
    So suppositions for oc were great and I started:
    First of all upgraded the bios from 1.8 to the latest 1.10. Then I thought why go step by step, why not starting big. So I set HT clock to 250mhz, resulting in a cpu clock of 3250mhz (multi 13), Hyper transport link set to 800mhz (x4), ram very relaxed (divider 667, 5-5-5-15 2T). It didn't post but I thought solution is easy, forgot to set extra voltage for cpu. Next try at 3250 mhz with 1.25v and set 0.1v extra in bios. It didn't post. I set voltage to maximum but no luck. Tried again but this time I lowered the HT link to 600mhz (x3). Now it posted even with 1v extra and it also booted XP but seemed to be not very stable. So set extra voltage to 0.15v which enhanced stability greatly.
    After minor driver problems my old XP installation worked pretty perfectly with the new setup. Time had come to see if it was stable and I started Orthos. It seemed to be ok, 1hour no problems, 2hours, 3hours and bam... 3hours 40 minutes and that's it. I thought "Damn, but it will make it with more voltage". I added more voltage (0.2v extra) and started Orthos again but no way, at 4hours 32 minutes it stopped again.   
    I'm not easy to discourage and so I added 0.25v to the 1.25v vcore and tried another time. Still 250x13 = 3250mhz.
    And it worked!
    Orthos now easiely worked six hours when I stopped it myself to see if it would also be stable with more intensed ram settings. I set ram divider to 800mhz (1:1) resulting in DDR2-929 and timings to 4-4-4-15 2T.
    I started Orthos and left the machine alone... Outstanding 16 hours later it was still working!
    After 17hours 5 minutes and 50 seconds of running Orthos I knew I had a stable beast!
    It also worked with ram set to divider 667 (resulting in 406mhz or ddr2-812) and 3-4-4-15 2T. However 1T was a real killer, thats why I left command rate at 2T and were happy so far.
    Performance was really good and I wanted to know if this would increase my 3dmark06 results which were already great with old setup because of nicely oc'ed 8800GTS 320. The opteron could do 9572 3dmarks with it.
    The new setup easiely broke the 10.000 points by reaching 10306 points with cpu at 3250mhz, ram at ddr2-929 (4-4-4-15 2T), vga as seen in sig.
    It really seemed to be finished. The rest would be just playing around and going for suicide clocks. At least that was what I thought at that time.
    Before maxing it out I wanted to have the Vista 64 Ultimate installation also running with the new setup. I hadn't booted vista since upgrading to the am2 system, so I tried for the first time....
    AND NOW EVERYTHING GOT F***** UP
    Vista welcomed me with a blue screen instead of a logon screen. I was pi**** but aware it might not like changing from NForce4 SLi to NForce 570 SLI. Next step was trying safe mode but vista thought of blue mode and showed a screen of that colour. I thought "ok, maybe you dislike setup change" and so I went for a clean install. I even formated the partition and gave it a go. Installation was fine 'til first start. Well, it wasn't a start to be honest as vista told me it was not able to do this. Repair wasn't successful either.
    Assumption was now system is not making the oc clocks although proved to be stable under XP. So I removed any oc and loaded fail-safe mode in bios. Relaxed ram timings to 5-5-5-18. I started installing vista again, thought I could oc again when it is installed.
    Oh boy, how wrong I were...  The 2nd installation turned out to be as faulty as the first and I tried again and again... After installation failed nine times I were finally discouraged.
    I just wanted to boot XP for now, forget about installing vista and maybe ask here if it this was a known issue.
    Well, I didn't get to see XP. I was just informed about a missing file that also prevented to boot safe mode. I took my XP cd and started automatic repair. After this was nearly finished the first errors and notifications about unknown, missing or corrupted files appeared. Although XP made it to finish install and booted successfully. But this XP wasn't a real XP as many things didn't work. I couldn't install drivers because loads of errors and crc crap made working with it impossible. Clear install time! But no way, same issues like seen in vista.
    Now I were pretty desperate and I urgently needed an idea.  I came to the solution maybe I could try with single channel, using just one mem stick. I removed one and tried installing XP again. It worked without any issue. Even driver installation and other software worked without a problem. Now I were even able to install Vista.
    But still I didn't know what caused all the trouble. I had three suspects: Mobo, ram, cpu. I doubted in faulty board but cpu (failing to control dual channel) or the ram stick I removed were my favorites. As it was the easiest to try I put the other stick back in but used a slot combination that would cause single channel.  Booting Vista now turned out to be a disaster. Errors, corrupt files and so on. Same with XP.
    Conclusion: Dual channel is not the problem. Added mem stick was now suspect no.1. I took the first one out and started memtest. Memtest didn't show errors after 8hours. I wondered and started Vista. Result was the same as seen before with two sticks. Errors and access violations. Replaced this stick with the other one and everything was fine again.
    Next day I tried with a borrowed MDT 2gb dual channel kit which also worked without a problem. 
    Sad but true one of the Reapers is K.I.A. . Damn....
    Now I'm sitting here with a borrowed kit of value ram which luckily allows me to let the cpu run at 3250mhz with mem divider at 667mhz (result: 406mhz) and which I can luckily keep 'til I get another kit of Reapers. I have to send my current Reapers back to vendor these days and wait for the rma process and wait and wait....
    So what started greatly ended not so great. For now I'm sick and tired of seeing bios screens or installing windows and I'm also pretty pi**** because of all the data I lost. Some crucial ones among them.
    Main problem remains: I have no idea WHY the Reaper died. I never set any higher vdimm than 2.3v what should be ok for it. It never felt hot and was directly in the main airflow. Also I have no clue why memtest didn't find any error with the faulty stick.

    Quote from: flobelix on 30-October-07, 06:12:31
    Be aware that you have to keep an eye on shader clocks when oc'ing the gpu. With common tools you're oc'ing gpu and shaders at the same time. Since I'm suspecting a misproportion of gpu/shader clocks to be one of the reasons for problems with factory oc'ed Geforce 8 you should try with different combinations. With the latest Riva Tuner you can change 'em seperately without having to mod the bios.
    Memory is at it's end I suppose, that's the problem with most high end cards, no potential. Seems as you have to live with that.
    That's true for HD2900 series I think but as far as I know 8800GTX needs it even for stable working.
    Could be your psu is too weak, maybe really time for the new Corsair. On the other hand should be strong enough I guess.
    You're ungrateful! That good old 3500+ oc'ed so well and was once a real performer and you call him crap.... bad boy.
    "You're ungrateful! That good old 3500+ oc'ed so well and was once a real performer and you call him crap.... bad boy. "
    yes you are right the CPU perform great, but its just old..(is not CPU fault in direct sense )
    "Be aware that you have to keep an eye on shader clocks when oc'ing the gpu. With common tools you're oc'ing gpu and shaders at the same time. Since I'm suspecting a misproportion of gpu/shader clocks to be one of the reasons for problems with factory oc'ed Geforce 8 you should try with different combinations. With the latest Riva Tuner you can change 'em seperately without having to mod the bios."
    Yes im aware about it, but not this is the case.. i got instability even with 2Mhz on the GD more...SD remain @ stock 1350 and memory stock as well.. and go instability...
    Reversed story if i put everythink is stock, but +2Mhz more on the memory i got the same instability....
    "With the latest Riva Tuner you can change 'em separately without having to mod the bios."
    hmm nope here, its locked increasing GD clock inscrease SD clock as well. they are locked and increased in parallel.(etc, both in same time)
    "Memory is at it's end I suppose, that's the problem with most high end cards, no potential. Seems as you have to live with that."
    mem. chips used are for 1000Mhz the VGA stock, MSI is not OCed them.. so they must have potencial.. also VGA is adverted with DOT... at least its designed to handle till 5-6% OC, i have done few review(don't trust much here,but anyway its an info) and user opinion no problem to OC till 2100Mhz(1050). So i doubt that is memory problem.
    "Could be your psu is too weak, maybe really time for the new Corsair. On the other hand should be strong enough I guess."
    Yes that is the only conclusion which i can stuck at the moment... Good news is that i have talked with distributor today and they ensured me that will delivered tomorow for me. So tomorow i will know more about that mistery when i install the more powerful(and hope so great) PSU.

  • COPA reporting with open and closed projects

    Dear All,
    I am designing a COPA solution for an infrastructure providing company using project systems and posting to/settling out of projects on a monthly basis. Projects run for long periods and continually incurr costs and earn revenue untill they are closed. The requirement is to report by common characteristics (say customer group) and separately for open and closed projects. My issue is how to separate the line items of projects where status changed to closed (having posted with the status REL previously), from the open ones, without entering the projects individually in the selections screen.
    Any ideas will be greatly appreciated.
    Thanks,
    Maddy

    Dear Satya,
    http://help.sap.com/saphelp_erp2005/helpdata/en/75/ee0bbd55c811d189900000e8322d00/content.htm
    An item of a purchase requisition is only regarded as Closed if the requested order quantity has been included in a purchase order.
    You can also set an item to Closed manually. <b>This item will then not be taken into account by the materials planning and control system.</b>
    You can set the Closed indicator manually at the following points (it can later be cancelled if necessary):
    When changing a purchase requisition, on the item detail screen
    When creating a purchase order referencing a requisition, on the item detail screen of the PO
    You can still create purchase orders by referencing a requisition if this indicator has been set in the requisition concerned.
    The indicator can also be set in the case of automatic PO generation from purchase requisitions. On the initial screen of the requisition, you can specify that the requisition is to count as closed as soon as an associated purchase order has been generated, even if the complete quantity requested has not been ordered, for example (Set reqs. to "closed" indicator).
    Analyses of Purchase Requisitions:
    http://help.sap.com/saphelp_erp2005/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm (visit section under Reporting in Purchasing)
    Hope this will help.
    Regards,
    Naveen.

  • Sale Order Status Change after delivery of materials from projects

    have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

  • Sale Order Status after dellivery of materials from Projects

    Hi,
    I have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Thank you in advance.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

  • Open Other Project Feature Follow up ?

    I just posted a question in regards to "Open Other Project"
    button giving me inconsistent results. I was reading other posts to
    try to find an answer when something I read made me question
    myself.
    When I am setting "Open Other Project" as an option, I
    actually typed the name of the file that I want to link to. For
    instance I type Interview. I do not add .exe to the end of the file
    or .cp. Okay, I just thought about trying to select the exe file
    from the ...button but realized that it would only allow me to
    connect to a .cp file. Hmmmmm.
    So, my question is - did I mess up by typing the name of my
    file with no extension? Should I actually be linking to another .cp
    file? Since these all need to be executables, will I have issues
    with the Interface searching for .cp file instead of an .exe?
    Hope this makes some kind of sense to someone.
    Thanks,
    Kim

    Thanks for the response Rick. Did you happen to see my other
    post about my exe files not closing when they open another project?
    It is causing me some MAJOR issues. Basically if the interface
    doesn't close, then the file that it is trying to switch to takes a
    very long time to open and could cause the user to think they need
    to click on the button again which as you can imagine creates an
    even bigger issue. Any thoughts?

  • Open VI Reference for a Project Library VI

    Hi,
    my code calls some subVIs by reference by using "Open VI Reference" and "Call by Reference" VIs. Now, "Open VI Reference" expects a path to the VI:
    When the SubVIs sit in the same folder as the calling VI, it is easy to simply supply the name of the SubVI. However, I would like to call a SubVI that is part of a project library sitting somewhere else on the disk. I could give the relative path, but this make the code pretty inflexible and if the relative path changes all the paths would need to be ammended. Ideally, I want to utilize the fact that I am using a project library. The help for Open VI Reference states that
    vi path accepts a string containing the name of the VI that you want to reference or a path to the VI that you want to reference. If you wire a name string, the string must match the full delimited name of a VI in memory on that target. If you wire a path, LabVIEW searches for a VI in memory that you previously loaded from that path on the same target.
     I thought that the underlined path was my ticket and tried something like this:
    but this did not work and I got
    "Error 1004 occurred at Open VI Reference in MainVI.vi:
    Possible reason(s):
    LabVIEW:  The VI is not in memory.
    To load a VI into memory with the Open VI Reference function, a path must be wired for the VI Path input."
    Wiring a path is not desirable as per reasoning above. Is there a way around the issue?
    Thanks in advance!
    Solved!
    Go to Solution.

    tst wrote:
    That should work, but you have to pay attention to something that's stated both in the help and in the error - if you use a string, the only way for LV to know what to access is if that something is already "in memory" (sometimes also referred to as "being loaded"). In the case of standard libraries, that means the VI itself or one of its callers has to be loaded. In the case of classes and XControls, loading the library (as in having it in an open project) should be enough to also load all of its members.
    Hm, thanks, I am not advanced enough to know about classes and XControls, but I will check it out. My VIs are part of a library but obviously don't get loaded because, as you said, all their calls are dynamic.
    tst wrote:
    What I usually do is use a static reference to a VI to get its name, because that ensures that it will be statically linked, included in executables, etc. That might not work for you if you want dynamic loading and then you will need to use some other means.
    Hm, this actually gives me an idea! I could add an enable input to all these dynamically called VIs so that the logic runs only when enable is ON; otherwise the VI is called but does nothing. Then I call the VI first statically with enable=OFF just to load it in memory and then proceed with my dynamic call. A little ad-hoc, but should work and serve my purposes, I think.
    Thanks!!

Maybe you are looking for

  • Creative Cloud Update downloads, installs but doesn't work?

    Every time I launch my computer (Mac, latest OS), I see there are 9 updates available to download for Adobe CC. Every time I update a single app or everything, it downloads, installs but nothing is actually done. When I get info on apps. everything s

  • How to enumerate audio devices in Windows 7?

    Hi! My Labview application works now in WinXP environment. It uses audio device enumeration to select the appropriate device on PC. To do it I use now Automation call to DirectX interface. This function generates error on PC under Windows7 with messa

  • Why cannot I place a marker on a track?

    Hello to all! While using GB [6.0.5] I tried placing a marker on a music track and found that under the 'edit' drop down menu, the option of placing a marker [P] was greyed out...inactive. Can anyone let me know how I can place a marker on a track? T

  • TRYING AGAIN - Printing to PDF from AutoCAD

    When we print to PDF from AutoCAD, the text in the PDF looks wrong/bad.  It takes on a jagged appearance and doesn't look anything like what the font is supposed to look like.  Any suggestions?

  • Connecting Ipod Video to car stereo

    Hi, I have just bought a Goodmans GCE 7207i card stereo which has the ability to connect you Ipod and play you music library through the car stereo. However, on the box of the stereo, it says it is compatable with the Ipod min and 3rd and 4th generat