public void FindReceivedBatchesByPONumber(int poNumber) { ITransaction finder = new FindBatchesInReceivingLedgerByPONumberTransaction(poNumber, sqliteStore); ReceivedBatchRepository = ExecuteTransactionAndBuildReceivedBatchObservableCollection(finder); UpdateMappingsFromTransactionResults(finder.Results); }
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); }
public ObservableCollection <ReceivedBatch> GetReceivedBatchesByPONumber(int poNumber) { ITransaction finder = new FindBatchesInReceivingLedgerByPONumberTransaction(poNumber, sqliteStore); return(ExecuteTransactionAndBuildReceivedBatchObservableCollection(finder)); }