How to record cash inflow and sales (stock update) in a single entry in ERPNext

Need help please.

I have a receipt transaction in (picture attached) containing general receipt transaction and cash sales (update inventory stock) at the same time, how do I make such entry in ERPNext?

On line number 4, Penjualan (Revenue), an item is sold at IDR 7000, this will decrease inventory stock with code FT-04

Kas Tunai => Petty Cash
Uang muka kerja => Payment in advance
Penjualan => Revenue