Re: [Dhis2-devs] How to get just the newly created TEIs?

2016-11-24 Thread Knut Staring
Great, thanks Abyot!! knut On Thu, Nov 24, 2016 at 7:30 PM, Abyot Asalefew Gizaw wrote: > since you are mentioning program, you could use enrollment date. See > programEnrollmentStartDate & programEnrollmentEndDate > > https://play.dhis2.org/demo/api/trackedEntityInstances/ > query.json?ou=Imsp

Re: [Dhis2-devs] How to get just the newly created TEIs?

2016-11-24 Thread Abyot Asalefew Gizaw
since you are mentioning program, you could use enrollment date. See programEnrollmentStartDate & programEnrollmentEndDate https://play.dhis2.org/demo/api/trackedEntityInstances/query.json?ou=ImspTQPwCqd&ouMode=DESCENDANTS&program=ur1Edk5Oe2n&&programEnrollmentStartDate=2016-11-01&programEnrollmen

Re: [Dhis2-devs] How to get just the newly created TEIs?

2016-11-24 Thread Abyot Asalefew Gizaw
Since created is a TEI property, it should be possible to filter on the TEI without using attrbibutes ... but seems we have a bug there https://play.dhis2.org/demo/api/trackedEntityInstances/query.json?ou=ImspTQPwCqd&ouMode=SELECTED&created:GE:2016-11-01&pageSize=50&page=1&totalPages=true -- Abyo

Re: [Dhis2-devs] How to get just the newly created TEIs?

2016-11-24 Thread Knut Staring
Thanks - but you are then saying it cannot be done? Or is it possible using one of the other endpoints? On Thu, Nov 24, 2016 at 6:52 PM, Halvdan Hoem Grelland wrote: > Hi, > > This is because > a) 'created' is not a TEAttribute of the TE(I) (it is a property of the > TEI object) > b) If you

Re: [Dhis2-devs] How to get just the newly created TEIs?

2016-11-24 Thread Halvdan Hoem Grelland
Hi, This is because a) 'created' is not a TEAttribute of the TE(I) (it is a property of the TEI object) b) If you could do this, the format would be :GE: c) The date would be in -MM-dd format (not dots). On Thu, Nov 24, 2016 at 4:32 PM, Knut Staring wrote: > Something like this doesn´

[Dhis2-devs] [Bug 1644597] [NEW] Problem completeness in multiorganisation data entry mode

2016-11-24 Thread edem
Public bug reported: When multiorganisation form is enabled, the complete button doesn't work properly. A click on this button seams to work correctly but when you move to another entry form and comeback, the complete button remains activated. Additionally, the data entry form is not recorded as c

[Dhis2-devs] How to get just the newly created TEIs?

2016-11-24 Thread Knut Staring
Something like this doesn´t work: https://play.dhis2.org/test/api/trackedEntityInstances/query.json?ou=DiszpKrYNg8&program=ur1Edk5Oe2n&skipPaging=true&attribute=created:GE:2013.10.08 -- Knut Staring Dept. of Informatics, University of Oslo Norway: +4791880522 Skype: knutstar http://dhis2.org

Re: [Dhis2-devs] [Dhis2-users] No totals visible in the pivot table

2016-11-24 Thread Hinds, Ms. Angela (CAR)
Thanks Jason, I had some problems with doing the views via DHIS 2 so eventually did it externally. I will re-visit it though. Much appreciate your assistance. Regards, Angela From: Jason Pickering [mailto:jason.p.picker...@gmail.com] Sent: Thursday, November 24, 2016 6:25 AM To: Hinds, Ms. Angel

Re: [Dhis2-devs] [Dhis2-users] No totals visible in the pivot table

2016-11-24 Thread Jason Pickering
Hi Angela, You should created SQL views via the DHIS2 application. Go to Data Administration -> SQL Views and create your view there.See here for details. When the analytics process runs, it needs to drop certain resour

Re: [Dhis2-devs] No totals visible in the pivot table

2016-11-24 Thread Hinds, Ms. Angela (CAR)
Thanks everyone for the response. When I run the analytics it gives me the following below, which is related to a view I created in PgAdmin. Is the only option to move the view, run the analytics then add the view again? Regards, Angela Error Process failed: StatementCallback; uncategorized S