public static bool IsContainerItemDone(EMDataSet.ContBundleTblRow row,out string reason) { reason = "Could not close container because bundle " + row.BundleSeqNumber + " does not have a terminal or bill of lading set"; if (!row.IsProofOfDeliveryNull() && row.ProofOfDelivery != "") return true; if (row.IsPickupTerminalNull()) return false; if (row.PickupTerminal == "") return false; return true; }