BOP Question from CFAI Mock B

Can someone be so kind to explain the differences between Flow supply/demand mechanism and Portfolio balance mechanism?