Modified DO + bug fix + Added TempDeliveryOrderClearance (not done yet)