Ejemplo n.º 1
0
        private bool SerialNumberMatchesFormat()
        {
            if (OrderService.ForceSerialFormatFor(m_facts.PurchaseOrder, m_facts.Part))
            {
                if (!PartService.SnMatchesFormat(m_facts.Part, m_facts.SerialNumber))
                {
                    m_error = "This serial number doesnt match any of the defined serial formats";
                    return(false);
                }
            }

            return(true);
        }