If track inventory for Delivery Challan is enabled, then the stock will be deducted while creating the Delivery Challan. If it is disabled, then the stock will remain same.