...
To learn about setting up an SMS Gateway, and configureing configuring a domain for SMS see the following:
Configure basic CommCare Supply Settings - Locations, Products, Mobile Workers, Programs, etc.
See the CommCare Supply Overview for information on how to set up a domain to use CommCare Supply
Note: In order to submit stock reports via SMS, locations must be configured such that mobile workers are only associated with one at a time. In instances where mobile workers can view and edit location cases other than there their own (such as in the case where users can locations descended from the one to which they are associated), users will by default only be able to report stock via SMS on their primary location.
...
This format allows users to report on multiple products at once - to report a receipt of 25 condoms and 15 Depo Provera (product code dp) a user could text
r co 25 dp 15
Users Though users can also report on multiple transactions type in one SMS. The transaction type are processed in the order they appear, from top to bottom in the table above, regardless of the order they appear in the SMS. So this report:
soh co 25 r co 15
Would mean that the current stock on hand for condoms is 25, and that before arriving at that stock, the facility received 15 more condoms, which would then be added to the previous stock on hand. Thus if the previous stock on hand for condoms was 20 then
previous soh = 20
receipts reported = 15
calculated intermediary soh = 35
stock on hand reported = 25
consumption = calculated soh - reported soh = 10
If on the other than stock on hand was set to be processed before receipts, as is the case below:
Then that same message:
soh co 25 r co 15
Would be processed such that the stock on hand was entered into the system before receipts:
previous soh = 20
stock on hand reported = 25
intermediary receipts = stock on hand reported - previous soh = 5
receipts reported = 15
calculated new soh = stock on hand reported + receipts reported = 40stocks per SMS, they can currently only report on one stock action per SMS (eg. users cannot yet report a receipt and a stock on hand in the same SMS).
Configuring Requisitions - Not yet fully supported - Coming soon
...