I will enter Location on Both Sheet
Inward & Outward,

Means I have purchased Goods in XYZ & PQR Location
& M selling form XYZ then Only XYZ value should come
if I Change that XYZ into PQR then value will turn to PQR Purchase