예제 #1
0
 public void InsertPurchaseOrderHeaderInterface(DatabasePurchaseOrderReceiptHeader databaseIntegrationsInventoryAdjustment)
 {
     using (var connection = DatabaseConnectionFactory.GetNbxWebConnection())
     {
         connection.Insert(databaseIntegrationsInventoryAdjustment);
     }
 }
예제 #2
0
 public int InsertDatabasePoReceiptHeader(DatabasePurchaseOrderReceiptHeader databasePurchaseReceiptHeader)
 {
     using (var connection = DatabaseConnectionFactory.GetNbxWebConnection())
     {
         connection.Open();
         return((int)connection.Insert(databasePurchaseReceiptHeader));
     }
 }
예제 #3
0
        private int ProcessPurchaseOrderHeader(PurchaseOrderGeneralLedger firstRecordInGrouping)
        {
            var header = new DatabasePurchaseOrderReceiptHeader
            {
                SenderID        = PurchaseOrderInterfaceSenderId,
                RecipientID     = PurchaseOrderInterfaceRecipientId,
                TransactionDate = firstRecordInGrouping.Shippeddatetimereference
            };

            return(_databaseRepository.InsertDatabasePoReceiptHeader(header));
        }