Example #1
0
        private void ManagePacklist()
        {
            // Create a new packlist if the user does not want to append
            // to an existing packlist for the day.
            Packlist packlist = m_salesOrder.GetTodaysPacklist();

            if (packlist != null)
            {
                string msg = "Packlist: " + packlist.PacklistId;
                msg += " exists for today. Would you like to append?";

                if (Scout.Core.UserInteraction.Dialog.AskQuestion(msg) == DialogResult.No)
                {
                    m_salesOrder.NewPacklistUponShipment = true;
                }
            }
        }