예제 #1
0
        public bool ReceivedPurchaseOrderIsSelected()
        {
            if (RetreivedRecordsLedger.Count > 0 && RetreivedRecordsLedgerSelectedIndex > -1)
            {
                return(true);
            }

            SelectedPurchaseOrderReceivedBatches.Clear();
            NotifyPropertyChanged("SelectedPurchaseOrderReceivedBatches");

            return(false);
        }
예제 #2
0
        void SelectFirstLedgerRecordIfAvailable()
        {
            if (RetreivedRecordsLedger.Count > 0)
            {
                RetreivedRecordsLedgerSelectedIndex = 0;
                PopulateSelectedPurchaseOrderBatchCollection();

                return;
            }

            SelectedPurchaseOrderReceivedBatches.Clear();
        }