Пример #1
0
        public NotesModel AddOrderNote(string orgCode, string text, int orderNbr, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.OrderNote,
                Title            = newTitle,
                Text             = text,
                OrderNumber      = orderNbr,
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #2
0
        public NotesModel AddPriceListNote(string orgCode, string text, string priceList, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.PriceListNote,
                Title            = newTitle,
                Text             = text,
                PriceList        = priceList
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #3
0
        public NotesModel AddContractNote(string orgCode, string text, int contractSequence, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.ContractNote,
                Title            = newTitle,
                Text             = text,
                Contract         = contractSequence
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #4
0
        public NotesModel AddInvoiceNote(string orgCode, string text, int invoiceNbr, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.InvoiceNote,
                Title            = newTitle,
                Text             = text,
                InvoiceNumber    = invoiceNbr
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #5
0
        public NotesModel AddResourceNote(string orgCode, string text, int sequenceNbr, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode             = orgCode,
                Type                         = USISDKConstants.NoteType.ResourceMasterNote,
                Title                        = newTitle,
                Text                         = text,
                ResourceMasterSequenceNumber = sequenceNbr,
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #6
0
        public NotesModel AddAccountNote(string orgCode, string title, string text, string accountCode)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.AccountNote,
                Title            = title,
                Text             = text,
                Account          = accountCode,
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #7
0
        public NotesModel AddAppointmentNote(string orgCode, string text, int ApptID, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.AppointmentNote,
                Title            = newTitle,
                Text             = text,
                AppointmentID    = ApptID
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #8
0
        public NotesModel AddCashTransactionNote(string orgCode, string text, int sequenceNbr, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode          = orgCode,
                Type                      = USISDKConstants.NoteType.CashTransactionNote,
                Title                     = newTitle,
                Text                      = text,
                CashBookTransactionSeqNbr = sequenceNbr
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #9
0
        public NotesModel AddSpaceRoomNote(string orgCode, string text, string code, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.SpaceRoomNote,
                Title            = newTitle,
                Text             = text,
                SpaceCode        = code
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #10
0
        public NotesModel AddBankReconciliationNote(string orgCode, string text, int reconSequence, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode         = orgCode,
                Type                     = USISDKConstants.NoteType.BankReconciliationNote,
                Title                    = newTitle,
                Text                     = text,
                BankReconciliationSeqNbr = reconSequence,
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #11
0
        public NotesModel AddQuoteNote(string orgCode, string text, int sequenceNbr, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.QuoteNote,
                Title            = newTitle,
                Text             = text,
                Quote            = sequenceNbr
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #12
0
        public NotesModel AddTaskNote(string orgCode, string text, int taskID, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.TaskNote,
                Title            = newTitle,
                Text             = text,
                TaskID           = taskID
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #13
0
        public NotesModel AddAccountProductServiceNote(string orgCode, string text, string accountCode, string prodCode, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode   = orgCode,
                Type               = USISDKConstants.NoteType.AccountProductServiceNote,
                Title              = newTitle,
                Text               = text,
                Account            = accountCode,
                ProductServiceCode = prodCode
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #14
0
        public NotesModel AddEventBlockNote(string orgCode, string text, string blockCode, int eventID, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.EventBlockNote,
                Title            = newTitle,
                Text             = text,
                BlockCode        = blockCode,
                Event            = eventID
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #15
0
        public NotesModel AddEventProductServiceNote(string orgCode, string text, int Event, string eventProductSequence, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode   = orgCode,
                Type               = USISDKConstants.NoteType.EventProductServiceNote,
                Title              = newTitle,
                Text               = text,
                Event              = Event,
                ProductServiceCode = eventProductSequence
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #16
0
        public NotesModel AddExhibitorsNote(string orgCode, string text, int eventID, int exhibitorID, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.ExhibitorNote,
                Title            = newTitle,
                Text             = text,
                Event            = eventID,
                ExhibitorID      = exhibitorID
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #17
0
        public NotesModel AddGLAccountNote(string orgCode, string text, string accountCode, string subAccountCode, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.GLAccountNote,
                Title            = newTitle,
                Text             = text,
                GLAccountCode    = accountCode,
                GLSubAccountCode = subAccountCode
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #18
0
        public NotesModel AddBookingsNote(string orgCode, string text, int eventID, int sequenceNbr, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode      = orgCode,
                Type                  = USISDKConstants.NoteType.BookingHeaderNote,
                Title                 = newTitle,
                Text                  = text,
                Event                 = eventID,
                BookingHeaderSequence = sequenceNbr
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #19
0
        public NotesModel AddFunctionsNote(string orgCode, string text, int eventID, int functionID, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode = orgCode,
                Type             = USISDKConstants.NoteType.FunctionNote,
                Title            = newTitle,
                Text             = text,
                Event            = eventID,
                Function         = functionID
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }
Пример #20
0
        public NotesModel AddJournalEntryNote(string orgCode, string text, int fiscalYear, int fiscalPeriod, string entryNumber, string source, string newTitle)
        {
            var myNote = new NotesModel
            {
                OrganizationCode   = orgCode,
                Type               = USISDKConstants.NoteType.JournalEntryHeaderNote,
                Title              = newTitle,
                Text               = text,
                FiscalYear         = fiscalYear,
                FiscalPeriod       = fiscalPeriod,
                JournalEntryNumber = entryNumber,
                GLSource           = source
            };

            return(APIUtil.AddNote(USISDKClient, myNote));
        }