Hi all,
I am looking into setting up a system where the purchase price is immediately used for the sales order delivery note voucher and subsequent sales order invoice voucher so that GSNI and COS are updated correctly.
In the example I am creating a sales order with one line (stocked service) of quantity 1 for sales price of 1,500. Then creating a Direct Delivery Purchase order from the Sales order and giving the Purchase order line a unit price of 1,000. Double checking I can confirm the marking is as expected already in place between the two order lines.
So I post the product receipt which auto-delivers the sales order lines (due to being direct delivery) but the sales order delivery note voucher is seemingly using last cost price of the item and not the purchase price from the marked line... this is not what I am expecting based on the following excerpt from the documentation.

Found here: FIFO with physical value and marking - Supply Chain Management | Dynamics 365 | Microsoft Docs
Where could I be going wrong?