Esempio n. 1
0
        public void FindReceivedBatchesByPONumber(int poNumber)
        {
            ITransaction finder = new FindBatchesInReceivingLedgerByPONumberTransaction(poNumber, sqliteStore);

            ReceivedBatchRepository = ExecuteTransactionAndBuildReceivedBatchObservableCollection(finder);
            UpdateMappingsFromTransactionResults(finder.Results);
        }
Esempio n. 2
0
        public EditablePurchaseOrder GetPurchaseOrderForEditing(int poNumber)
        {
            ITransaction finder = new FindBatchesInReceivingLedgerByPONumberTransaction(poNumber, sqliteStore);

            ReceivedBatchRepository = ExecuteTransactionAndBuildReceivedBatchObservableCollection(finder);
            UpdateMappingsFromTransactionResults(finder.Results);
            EditablePurchaseOrder editablePo = new EditablePurchaseOrder(ReceivedBatchRepository, ReceivedBatchIdMappings);

            return(editablePo);
        }
Esempio n. 3
0
        public ObservableCollection <ReceivedBatch> GetReceivedBatchesByPONumber(int poNumber)
        {
            ITransaction finder = new FindBatchesInReceivingLedgerByPONumberTransaction(poNumber, sqliteStore);

            return(ExecuteTransactionAndBuildReceivedBatchObservableCollection(finder));
        }