Please, we are implementing DHIS2 in the agriculture sector. Agric Extension Officers are expected to Link farmers and other value chain actors to markets. Now i have to create a program that will collect information on the individual farmers that are linked to markets and the transaction details as well. In order to record the details of the transaction, we must register both the seller and the buyer.
Please how do i create a tracker program that will register both the seller and buyer (two diff entities for the transaction information ( crop type traded, volume and value trade, etc)
The actual transaction data will be for the seller and buyer. That is, if I select any of the two persons i should see the transaction. I don’t know if it’s clear.
Please i need your help.
Thank you for sharing this interesting use case.
Let me make a suggestion which I hope will be helpful. It’s better to decide what ‘outcome’/analysis is expected to be displayed after the data is entered.
To begin with if the seller and the buyer both have the same attributes i.e. name, title, phone, address…etc and maybe a buyer can one day be a seller and vice versa, then I think it’s probably best to have one TEI type (person).
It could be that the TEI is ‘transaction’ so each time a transaction happens it’s registered in the program for a certain market (OU). The transaction could contain all the details that are specifically linked to the transaction. Then maybe you can create a relationship type for buyer and a relationship type for seller where you’ll be able to select in the transaction who is the buyer and who is the seller, but the question is whether this is a good approach for analytics?
There are different ways to approach this! (:
Thank you so much for your suggestions. i will go with the initial suggestion of creating one TEI type (person) and see how it works out. then I will create a relationship (Buyer - Seller)