Retrieving cProject Number/GUID in projectResources.bsp

Hello BSP Gurus,
I'm relatively new to BSP and trying my hands on cProjects 3.1
I want to retrieve the cProject Number or the project GUID in the BSP page projectResources.bsp (Application Name: PRP). The controller has a method to retrieve the project name, but not the project number.
Kindly let me know if there is any technique for retrieving the same.
Regards,
Vivek Pandey

Solved on own

Similar Messages

  • Retrieve a number from a stored procedure

    I need to retrieve the number of rows returned from a query in a stored procedure. This is what I currently have:
    PACKAGE PART_DATA AS
    FUNCTION GetPartDataRowCount(Company IN PART_DATA.PART1_CO_SITE%TYPE) RETURN NUMBER;
    END;
    PACKAGE BODY PART_DATA AS
    FUNCTION GetPartDataRowCount
    Company IN PART_DATA.PART1_CO_SITE%TYPE
    RETURN NUMBER
    IS
    RecordCount NUMBER;
    BEGIN
    SELECT COUNT(*)
    INTO RecordCount
    FROM PART_DATA
    WHERE PART1_CO_SITE = Company;
    RETURN RecordCount;
    END GetPartDataRowCount;
    END;
    And the .NET part:
    Public Function GetPartDataRowCount(ByVal Company As String) As Integer
    Dim con As New OracleConnection(MyConnectionString)
    'Open the connection
    con.Open()
    'Set the command text, type and connection
    Dim cmd As New OracleCommand("PART_DATA.GetPartDataRowCount", con)
    cmd.CommandType = CommandType.StoredProcedure
    'Create parameter objects
    Dim returnValue As New OracleParameter
    returnValue.Direction = ParameterDirection.ReturnValue
    returnValue.DbType = DbType.Int32
    cmd.Parameters.Add(returnValue)
    Dim pCompany As New OracleParameter
    pCompany.Direction = ParameterDirection.Input
    pCompany.DbType = DbType.AnsiStringFixedLength
    pCompany.Value = Company
    cmd.Parameters.Add(pCompany)
    'Execute the query
    cmd.ExecuteNonQuery()
    'Capture the returned value
    Dim rowCount As Integer = Convert.ToInt32(returnValue.Value)
    'Return the returned value
    Return rowCount
    'Clean up objects
    returnValue.Dispose()
    cmd.Dispose()
    con.Dispose()
    End Function
    I am using this as the SelectCountMethod on an ObjectDataSource for custom paging a GridView. Everything is working but because I'm new to Oracle I can't help thinking that there is a better way to achieve what I need, also I am confused as to whether I should be using a Function or a Procedure in my Package for this.
    I would be grateful if someone could either confirm that what I am doing is the best/correct method or show me what I should be doing instead.
    Any help much appreciated.

    Thanks Eric, that is a big help and has made things clearer for me. However I cannot get this to work using a Procedure instead of a Function. Just for the sake of completeness I would also like to make it work with a Procedure.
    Here is what I have:
    PACKAGE PART_DATA AS
    PROCEDURE GetPartDataRowCount(mtmsCompany IN PART_DATA.PART1_CO_SITE%TYPE,rowCount OUT NUMBER);
    END;
    PACKAGE BODY PART_DATA AS
    PROCEDURE GetPartDataRowCount
    mtmsCompany IN PART_DATA.PART1_CO_SITE%TYPE,
    rowCount OUT NUMBER
    IS
    BEGIN
    SELECT COUNT(*)
    INTO rowCount
    FROM PART_DATA
    WHERE PART1_CO_SITE = mtmsCompany;
    END GetPartDataRowCount;
    END;
    And the .NET code:
    Public Function GetPartDataRowCount(ByVal Company As String) As Integer
    'Open the connection
    con.Open()
    'Set the command text and type
    Dim cmd As New OracleCommand("PART_DATA.GetPartDataRowCount", con)
    cmd.CommandType = CommandType.StoredProcedure
    cmd.BindByName = True
    'Create parameter objects
    Dim rowCount As New OracleParameter
    rowCount.Direction = ParameterDirection.Output
    rowCount.DbType = DbType.Int32
    cmd.Parameters.Add(rowCount)
    Dim mtmsCompany As New OracleParameter
    mtmsCompany.Direction = ParameterDirection.Input
    mtmsCompany.DbType = DbType.AnsiStringFixedLength
    mtmsCompany.Value = Company
    cmd.Parameters.Add(mtmsCompany)
    (Exception handling is done in Global.asax hence no Try/Finally)
    'Execute the query
    cmd.ExecuteScalar()
    'Capture the returned value
    Dim returnValue As Integer = Convert.ToInt32(rowCount.Value)
    'Return the returned value
    Return returnValue
    'Clean up objects
    RowCount.Dispose()
    cmd.Dispose()
    con.Dispose()
    End Function
    The package compiles without errors, but when I run the app I get the following error:
    Oracle.DataAccess.Client.OracleException: ORA-06550: line 1, column 39: PLS-00103: Encountered the symbol ">" when expecting one of the following:
    It then gives a long list of things it was expecting. Do I also need to return a Ref Cursor?
    Once again any help much appreciated.

  • How to retrieve the number of "free" rows in a table?

    Hi,
    if in a client only environment (no sync to mobile server) rows are inserted and deleted into a table,
    is there a way to retrieve the number of "free" rows in a table? Number of "Free" rows stands for
    number of rows that can be inserted again, before the table extents in size.
    Is there a way in OLite 10.3.0.2.0 to retrieve the size of tables and indexes? ALL_TABLES is not
    a place that really works.
    Best regards and many thanks,
    Gerd

    Hi Gary,
    many thanks, the partner uses a Lite client db without sync. The db runs inside an laboratory device and collects measures. There must be a way to estimate the the number of "measures" rows, that stil can be stored in the db.
    Than we need to make the deleted space available for new rows. The partner tested defrag.exe and found that it
    needs very long time to run, especially if the db is bigger than 2GB. ... and that this run sometimes fails.
    Is there any recommendation the partner can follow on?
    Thanks,
    Gerd

  • Query to retrieve the number of transactions done in every 1 hour for last

    Hi,
    Could anyone help in writing a query to retrieve the number of transactions done in every 1 hour for last month.
    Case:
    I/P
    Cases Timestamp1
    case1 01-01-2008 00:00:01
    case2 01-01-2008 00:01:01
    case3 01-01-2008 01:00:01
    case1 01-01-2008 01:02:01
    case4 01-01-2008 01:10:01
    case5 02-01-2008 02:00:01
    case6 02-01-2008 02:10:01
    case7 02-01-2008 23:00:01
    case.. 31-01-2008 24:00:00
    O/P
    from time to_time cases
    01-01-2008 00:00:00 01-01-2008 01:00:00 2
    01-01-2008 01:00:01 01-01-2008 02:00:00 3
    etc
    Any help really appreciated

    We can do this using analytical functions
    Following is what I did:
    create table timestamp1 (ts date)
    select *from timestamp1
    30/10/2008 15:41:13
    30/10/2008 15:41:05
    30/10/2008 15:40:03
    30/10/2008 14:58:26
    30/10/2008 14:29:45
    30/10/2008 13:17:48
    30/10/2008 08:29:50
    30/10/2008 06:05:51
    30/10/2008 03:41:52
    30/10/2008 02:29:54
    select distinct to_char(ts,'hh24') frmhrs,
    to_char(ts,'hh24')+1 tohrs, count(ts) OVER (order by to_number(to_char(ts,'hh24')) RANGE (1/24) PRECEDING )
    from timestamp1
    where trunc(ts)=trunc(sysdate) -- I added this just to make sure I get for today's data
    order by frmhrs
    FRMHRS     TOHRS     CNT
    02     3     1
    03     4     1
    06     7     1
    08     9     1
    13     14     1
    14     15     2
    15     16     3
    You can customizeas per ur need.

  • How can Retrieve phone number on Blackeberry CDMA device?

    HI All,
    I am tring to retrieve phone number on Blackeberry CDMA device using Blackberry APIs Phone.getDevicePhoneNumber(false); but is is not working it is returning null string value.
    Also I can't send SMS using BB API (for CDMA Device)
    Can you please tell me what i do for retrieving phone number using my application.
    Thanks in Advance.

    Hi,
    Thanks for reply, I am trying my application on T-mobile 8820. Your solution is good and it is working, But this solution requires manually enter phone number in Options -> Advanced Options -> Sim-Card -> Scroll Down -> MenuButton -> Edit SIM-Phonenumber.
    Actully we don't want that user do these thing.
    I tried to get phone number via sending sms to short code that returns phone number, But for CDMA there is problem for sending sms by using BB API (invoke method), Because this API restart the application.
    Is there any other way to get phone number?
    Please reply.
    Thanks in Advance.

  • Retrieve PORT NUMBER in Oracle 9i

    I would like to ask how can I retrieve port number utilized by the Oracle Server 9i.
    Sorry if I frequestly ask question..
    Thanks

    HI,
    Use the following
    C:\Documents and Settings\nupneja>lsnrctl
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 30-SEP-2008 11:48:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date 30-SEP-2008 09:46:39
    Uptime 0 days 2 hr. 1 min. 46 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File E:\oracle\ora92\network\admin\listener.ora
    Listener Log File E:\oracle\ora92\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nupneja-xp.bebo.tech.com)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "oracle" has 1 instance(s).
    Instance "oracle", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Regards,
    Navneet

  • Determine partner role based on partner number/Guid.

    I need to determine whether a partner (against a repair order) is a consumer (BP) or dealer (organisation). How can I determine this based on partner number/guid?.  I'm sure there's a BAPI etc to show the role information.
    Gary King

    Many thanks for that. I suspect this FM to get the roles will work fine and will try it now.
    I can also look at the marketing attributes and the account group will determine whether the partner is a consumer of Organisation (Dealer).
    Regards
    Gary King

  • Can't retrieve serial number

    Purchased CS6 as stand-alone program, tried to retrieve serial number and was told I didn't need one. I DO NOT WANT Cloud!

    I guess that's something new; I didn't realize Adobe changed to some kind of online serial number retrieval process - assuming that box is legitimate.  First I've heard of online serial number retrieval.
    I wish you the best of luck with returning an opened software box to BestBuy.  I've run afoul of their restrictive return policies before and as a result I've stopped doing business with them.  Make sure you take along screen prints showing the failures you experienced.
    This gives you another opportunity to consider that at $9.99 a month for the Photographer's bundle you could have a LOT of months of Creative Cloud subscrioption for the price of that $700 software (almost 6 years by my count, and you don't have to pay it all up front).  I don't know about you, but I have no idea whether computers/operating systems 6 years from now will even be able to run Photoshop CS6 software purchased this year.  Just a thought.
    -Noel

  • I submitted details to retrieve serial number for education version of CS6 Design and Web premium.  Next screen after submission was Error 404.  Should I be worried?

    I submitted details to retrieve serial number for education version of CS6 Design and Web premium.  Next screen after submission was Error 404.  Should I be worried?

    I started from the Adobe Customer Support Portal. as instructed by the accompanying documentation.That took me to here:  https://www.adobe.com/cfusion/support/index.cfm?event=opencscase&loc=en_gb&issue=z015&csed utype=steI entered the details there.
          From: John T Smith <[email protected]>
    To: Jonathan May <[email protected]>
    Sent: Sunday, 28 December 2014, 2:11
    Subject:  I submitted details to retrieve serial number for education version of CS6 Design and Web premium.  Next screen after submission was Error 404.  Should I be worried?
    I submitted details to retrieve serial number for education version of CS6 Design and Web premium.  Next screen after submission was Error 404.  Should I be worried?
    created by John T Smith in Adobe Creative Cloud - View the full discussionAre you using these links to provide your proof of status?http://www.adobe.com/store/au_edu/academic_id.htmlRedemption Code https://creative.adobe.com/educardCS6 Education https://forums.adobe.com/thread/1585740 If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7046705#7046705 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7046705#7046705 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" 
    Start a new discussion in Adobe Creative Cloud by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Remote installation - invalid serial number: could not retrieve serial numb

    I am unable to use the remote setup admin assistant, and get a demand for a serial number, yet when I enter it, get the message-"invalid serial number: could not retrieve serial number". Unfortunately the tech support number for the Philippines does not work (get a recording saying that it is not yet working), and the Australian number calling long distance is constantly busy. I have wasted two days trying to set up the mini server for this enterprise and am amazed that there is no easy way to contact Apple for a solution.

    Hi
    Kind of obvious but which serial number are you using? Using the remote assistant requires the serial number of the MacMini itself. The first 8 letters. You'll find this serial number on the underside of the MacMini. Better still the box as it's easier to read. Although in the past it's not really been case sensitive I have found the last 2-3 years where keying in Caps where appropriate tends to be more successful. I have had a colleague report problems unless the whole of the Serial Number was used.
    Apologies if you've already tried this.
    Tony

  • Lost Touch in house fire can I retrieve serial number

    I lost Touch in house fire, can I retrieve serial number.  I  have used it for years.  I have three various iPods but none seem to show up in my items registered. Perhaps I am looking in the wrong place.

    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • How to retrieve IMSI number of SIM card through MIDP application

    Hello
    Plz. help
    How can I get IMSI number of SIM card?
    I got javax.telephony.mobile.MobileAddress interface which specify method getSubscriptionId().
    How can i use this interface to retrieve IMSI number?
    Thanks

    hi,
    i'm also in need of these details....
    How to retrieve a IMSI number?
    How to intergrate the JTAPI / any new pack with Netbeans / WTK?
    please if any knows reply me soon...
    Thanx in advance....

  • Request to retrieve serial number of Labview 8.5.1

    Hi NI,
    Recently my laptop has breakdown due to hardware error,
    right now i would like to install the Labview software into my new laptop.
    i notice that the labview license actually can be use for 3 PCs (not simultaniously)
    So, is there any where that i can retrieve the labview Serial number/license so that i can install into my new laptop?
    FYI, the breakdown laptop totally cannot be power up at all.
    kindly guide me.
    previous laptop info:
    Labview 8.5.1
    OS windows XP
    Solved!
    Go to Solution.

    Contact your local NI office. They would have a record of your serial numbers.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • How to retrieve serial number from a SUN Fire V440

    Good afternoon,
    In order to prepare a shipping of some machines, I am trying to collect serial numbers of all of them.
    One of those is a V440.
    Normally the way to retrieve the serial number is rebooting the machine, and then the serial number appears as one of the first outputs on screen.
    However on this one machine I see "MACHINE_SN".
    The ALOM of the machine does not know the command "showplatform".
    Do you know whether there is another way to retrieve the serial number of a V440 machine?
    Thanks
    Dominique

    Can I conclude that there is no way anymore to get the serial number of that machine?That would be correct.
    The actual serial is only on that sticker unless someone installs and uses SNEEP to write the information to the prom of a system.
    In your first post of this thread you mentioned seeing something named `serial` at bootup. That is only a representation of the systemboard's MAC address and isn't a chassis serial.
    Was Explorer ever installed to that V440 by any chance? If "yes" then you might hope that the serial number information was manually entered during the installation of that software tool.
    Now, having said all that, there were some model systems that had the chassis serial already written at the factory, but those were the bigger (expensive) midrange boxes such as the SF3800 through SF6900 models. That doesn't help you with your V440, though.

  • Logic to retrieve batch number in batch split scenario for a material

    Hi All!
    LIPS-CHARG gives the batch number for a material in normal scenario.But in batch split scenario for a material what should be the logic to retrieve the field batch number based on POSNR,VBELN and UECHA in LIPS.
    UECHA corresponds to higher level item of a batch.
    I had been given the following logic to do the same but it is not pulling any values inspite of a batch split available for the material.The logic is
    Select lips-charg (batch number) where  lips-posnr = lips-uecha ( higher level item batch)
    Please advise
    Regards
    Praneeth

    Hi Praneeth,
    The way LIPS records are in a batch split scenario is that let us say you have a delivery with one line item 00010. Now if this splits into two batch split items, then you will find in LIPS 3 records, one with line item 00010, one with 90001 and another with 90002. Both 90001 and 90002 will have a UECHA of 00010, whereas for 00010, this field will be blank. So the logic is to create two internal tables one where UECHA is blank and another where it is not blank and use it.
    SELECT * FROM LIPS
             INTO TABLE I_LIPS
            WHERE VBELN = P_VBLEN.
    I_LIPS_TEMP[] = I_LIPS[].
    DELETE I_LIPS_TEMP WHERE UECHA IS INITIAL.
    *-- This table will not have only the batch split items not the main items.
    LOOP AT I_LIPS WHERE UECHA IS INITIAL.
    *-- loop at the main items.
      IF I_LIPS-CHARG IS INITIAL.
    *-- batch is not there on the main item, see if it is there on any batch split items.
        READ TABLE I_LIPS_TEMP WITH KEY UECHA = I_LIPS-POSNR.
         do whatever
      ENDIF.
    ..... do whatever
    ENDLOOP.

Maybe you are looking for

  • BT vision box

    Hi my BT vision box has broken the HDMI port won't work, I've tried multiple cables and its defiantly not the cable or the TV that has a fault. I have just spoken to a VERY rude customer advisor who actually asked to speak to "the man" as I didn't un

  • Error message FF762 " Condition type MWVS tax code A8 does not extist- MIRO

    Dear all, after support packagesi mplemented , I've the problem with transaction MIRO, because I cannot released the invoic for the folloqiong error: FF762 " Condition type MWVS tax code A8 does not extist. Please, could you help me. Thanks in advanc

  • Trash Bug?

    Is anyone having the problem, where if you drag a file to the trash, it doesn't show the icon as full, but still empty. Also when I right click the trash icon the empty trash button, so I have to go into trash to empty it and it is annoying. Does ano

  • I am trying to download the free trial Adobe Acrobat XL Pro.

    It looks like it's downloading and then it does nothing. I have tried many times to do this and it simply will not continue to download. I am using Vista Home. Any help will be greatly appreciated. Tom Ruffen

  • No audio device in Encore CS3 - PPro works fine...???

    I can't get any audio out of Encore CS3 - when I go to Edit/Preferences/Audio/Audio Output device it says "No Audio Device" under the device name. But Premiere Pro CS3 works fine with the driver for my sound hardware (via the ASIO driver for my RME F