Clarity

  • 1.  XOG NOTES

    Posted Jan 21, 2013 09:26 AM
    Hi guys!

    I hope this time somebody could help me; the problem is: the project's note maintenance.
    Each Project has a page of notes that the user can access going on "Action-> Go to Note Page".
    My goal is to xog-in / xog-out the list of notes associated to the project.

    Can you help me?
    I see those notes on "prnote" table but I do not find any way to xog them!

    HELP!


  • 2.  RE: XOG NOTES
    Best Answer

    Posted Jan 22, 2013 01:52 AM
      |   view attached
    prj_timeperiods_write.xml can be used.

    I've attached the default xml for your reference.

    NJ

    Attachment(s)

    xml
    prj_timeperiods_write.xml   4 KB 1 version


  • 3.  RE: XOG NOTES

    Posted Jan 22, 2013 03:40 AM
    If you use

    <?xml version="1.0" encoding="UTF-8"?>
    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">

    <Header version="6.0.11" action="read" objectType="timeperiod" externalSource="NIKU"/>

    <Query>


    <Filter name="start" criteria="BETWEEN">2012-12-30, 2013-01-03</Filter>




    <Filter name="resourceID" criteria="EQUALS">mkinnunen</Filter>


    </Query>
    </NikuDataBus>


    In v12.1 you get

    <?xml version="1.0" encoding="UTF-8"?>
    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_timeperiod.xsd">
    <Header action="write" externalSource="NIKU" objectType="timeperiod" version="12.1.1.1208"/>
    <TimePeriods>
    <TimePeriod finish="2013-01-07T00:00:00" openForTimeEntry="true" start="2012-12-31T00:00:00">
    <TimeSheets>
    <TimeSheet ID="5001020"
    lastModified="2013-01-22T00:31:50"
    resourceID="mkinnunen" status="0" version="2">
    <TimeSheetEntries>
    <TimeSheetEntry assignmentEstimate="0"
    assignmentEstimateForTimePeriod="0"
    assignmentFinish="2013-04-22T17:00:00"
    assignmentID="5003022"
    assignmentPendingEstimate="0"
    assignmentStart="2012-12-01T08:00:00"
    chargeCodeID="capital"
    chargeCodeName="Capital"
    internalTaskID="5003025"
    projectID="PRJ00016" projectName="zUrmas"
    taskID="T1" taskName="Task1"
    totalActuals="0" typeCodeID="normal" typeCodeName="Normal">
    <DailyActuals>
    <Actual actualDate="2012-12-31" amount="0"/>
    <Actual actualDate="2013-01-01" amount="0"/>
    <Actual actualDate="2013-01-02" amount="0"/>
    <Actual actualDate="2013-01-03" amount="0"/>
    <Actual actualDate="2013-01-04" amount="0"/>
    <Actual actualDate="2013-01-05" amount="0"/>
    <Actual actualDate="2013-01-06" amount="0"/>
    </DailyActuals>
    </TimeSheetEntry>
    </TimeSheetEntries>
    <Notes>
    <NoteData category="Timesheet note category"
    createdBy="mkinnunen"
    createdTime="2013-01-22T00:32:33" noteText="This is timesheet note"/>
    </Notes>
    </TimeSheet>
    </TimeSheets>
    </TimePeriod>
    </TimePeriods>
    <XOGOutput>
    <Object type="timeperiod"/>
    <Status state="SUCCESS"/>
    <Statistics failureRecords="0" insertedRecords="0"
    totalNumberOfRecords="1" updatedRecords="0"/>
    <Records/>
    </XOGOutput>
    </NikuDataBus>


    Note that it is the timesheet notes you get. You do not get timeentry notes nor task notes.

    Martti K.


  • 4.  RE: XOG NOTES

    Posted Mar 11, 2013 05:37 AM
    Were you able to get a solution for this ?

    NJ


  • 5.  RE: XOG NOTES

    Posted Mar 25, 2013 05:09 AM
    Any luck with the solution (as Martti had suggested) ? If you can share !!! :wacko:

    NJ


  • 6.  RE: XOG NOTES

    Posted Jun 03, 2014 04:15 PM

    Related question:  Is it possible to use XOG to read/write the notes associated with a time entry (PRNOTE.PRTABLENAME="PRTimeEntry").  I believe the answer is no.

    The XOG docs and the example above suggest that using the TimePeriods object you can only get the notes associated with a timesheet (PRNOTE.PRTABLENAME="PRTimeSheet")

    It sounds like we cannot use XOG but have to go directly to the database, is that correct?

    Thanks, JQ



  • 7.  RE: XOG NOTES

    Posted Jun 04, 2014 03:36 PM

    With XOG query apli you can XOG out anything you can query. The down side is tha you cannot XOG that in at all.

     

    Martti K.



  • 8.  Re: XOG NOTES

    Posted Oct 06, 2017 07:20 AM

    Hi,

     

    Can we xog project notes using project write xml?

     

    Regards,

    Raj



  • 9.  Re: XOG NOTES

    Broadcom Employee
    Posted Oct 07, 2017 02:49 PM

    Hi Raj,

     

    I would request you to open a new thread as commenting on the old thread might loose the context of the earlier question.

     

    Now to answer your question, out of box notes is not an attribute which is under project object. If you look prj_projects_write.xml then you will see its referring to a name space " nikuxog_project.xsd"

     

    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">

     

    so if you go and open the nikuxog_project.xsd then you will find the list of attributes which are allowed in xog and unfortunately NOTE its not.

     

    Hope this helps.

     

    Regards

    Suman Pramanik 



  • 10.  Re: XOG NOTES

    Posted Oct 07, 2017 04:16 PM

    The other option is to create a project note and the read the project out with all options and see what comes out.