Example #1
0
        public void GetNewPacklist()
        {
            Packlist packlist = new Packlist(m_uow as XpoUnitOfWork);

            packlist.PacklistId    = IDs.Generate(char.Parse("P"));
            packlist.ShipDate      = DateTime.Now;
            packlist.ShipToAddress = CurrentConfiguration.ShipToAddress;
            ChangePacklist(packlist);
        }
Example #2
0
        public void can_generate_a_unique_id_with_a_prefix()
        {
            string rval = IDs.Generate(char.Parse("P"));

            Assert.That(rval.Length > 0);
        }