Exemplo n.º 1
0
        public bool ReceivedPurchaseOrderIsSelected()
        {
            if (RetreivedRecordsLedger.Count > 0 && RetreivedRecordsLedgerSelectedIndex > -1)
            {
                return(true);
            }

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

            return(false);
        }
Exemplo n.º 2
0
        void SelectFirstLedgerRecordIfAvailable()
        {
            if (RetreivedRecordsLedger.Count > 0)
            {
                RetreivedRecordsLedgerSelectedIndex = 0;
                PopulateSelectedPurchaseOrderBatchCollection();

                return;
            }

            SelectedPurchaseOrderReceivedBatches.Clear();
        }