Adjusting J/E - consignment adjustment vs. regular sale adjustment

What's the adjusting entry if someone books a sale in X1 and they shouldn't have because the item was out on consignment? For a regular sale that is booked in X1 but shouldn't have been - the adjusting entry is (pls. let me know if it isn't) as follows: Sales X (dr) Inventory Y (dr) A/R X (cr) COGS Y (cr). TIA