In perpetual inventory system, the amount of inventory recorded should directly reflect a continuous basis.
So, the journal entry that must be written in this case would be :
Merchandise inventory xxxx
Cash xxxx
NB: xxxx indicate the dollar value of the inventory