Beispiel #1
0
        public void AddNote(Customer cust, String Note)
        {
            CustomerNote cn = new CustomerNote(Session);

            cn.Author    = SecuritySystem.CurrentUserName;
            cn.Customers = cust;
            cn.NoteDate  = DateTime.Now;
            cn.Text      = Note;
            cn.Save();
        }
Beispiel #2
0
        public void AddNote(Customer cust, String Note)
        {
            //IObjectSpace objectSpace = CreateObject(objectSpace);
            //CustomerNote cn = objectSpace.CreateObject<CustomerNote>();
            CustomerNote cn = new CustomerNote(Session);

            cn.Author    = SecuritySystem.CurrentUserName;
            cn.Customers = cust;
            cn.NoteDate  = DateTime.Now;
            cn.Text      = Note;
            cn.Save();
        }