Example #1
0
        public static long Add(string catalog, int officeId, int userId, long loginId, string book, DateTime valueDate,
                               string partyCode, int priceTypeId, Collection <StockDetail> details, string referenceNumber,
                               string statementReference, Collection <long> transactionIdCollection, Collection <Attachment> attachments)
        {
            StockMaster stockMaster = new StockMaster();

            stockMaster.PartyCode   = partyCode;
            stockMaster.PriceTypeId = priceTypeId;

            long nonGlStockMasterId = NonGlStockTransaction.Add(catalog, book, valueDate, officeId, userId, loginId,
                                                                referenceNumber, statementReference, stockMaster, details, transactionIdCollection, attachments);

            return(nonGlStockMasterId);
        }