New cost setting in Company System Setting - Default Stock Value for Weighted Average cost calculation to set all cost factor stock input transaction to post as the first transaction of the day.
Before tick the Cost Type Transaction First Entry of the Day in Company System Setting -> 2. Default Stock Value

Customer Invoice Key in first, then follow by Supplier Invoice

Tick the column Cost Type Transaction First Entry of the Day in the Company Default Setting -> 2. Default Stock Value

The result of the Stock Card Listing after setting above is done.

Note:
For the old document that is being done prior to this setting, please do perform the repost of all document by the sequence of Inventory, Purchase and Sales cycle.
Else, only new document will follow the new arrangement.