示例#1
0
        public void FindReceivedBatchesByPONumber(int poNumber)
        {
            ITransaction finder = new FindBatchesInReceivingLedgerByPONumberTransaction(poNumber, sqliteStore);

            ReceivedBatchRepository = ExecuteTransactionAndBuildReceivedBatchObservableCollection(finder);
            UpdateMappingsFromTransactionResults(finder.Results);
        }
示例#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);
        }
示例#3
0
        public ObservableCollection <ReceivedBatch> GetReceivedBatchesByPONumber(int poNumber)
        {
            ITransaction finder = new FindBatchesInReceivingLedgerByPONumberTransaction(poNumber, sqliteStore);

            return(ExecuteTransactionAndBuildReceivedBatchObservableCollection(finder));
        }