Quality inspection status in delivery note

I am facing an issue where the Quality Inspection linked to a Delivery Note is being assigned the Inspection Type as “Incoming” instead of “Outgoing.”