It's acute gastroenteritis.
The dose of ondem in a 7 year old is 5 ml (2mg). Get a hemogram.
Most probably it's viral gastroenteritis, in which case you need to give only probiotics (L bacillus rhamnosus), and ors.
if the hemogram suggests bacterial infection, or raised counts and neutrophils, then an antibiotic might be required.
milk restriction,
sugar restriction, avoid fruit juices, give ors.