Exemplo n.º 1
0
        /// <summary>
        /// Function to fill DeliveryNote No combobox
        /// </summary>
        public void DeliveryNoteComboFill()
        {
            decimal             decLedgerId         = 0;
            RejectionInMasterSP spRejectionInMaster = new RejectionInMasterSP();

            try
            {
                spRejectionInMaster.DeliveryNoteNoComboFillToLedger(cmbDeliveryNoteNo, decLedgerId, true);
            }
            catch (Exception ex)
            {
                MessageBox.Show("RIReport:06" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
Exemplo n.º 2
0
        public List <DataTable> DeliveryNoteNoComboFillToLedger(ComboBox cmbDeliveryNoteNo, decimal decLedgerId, bool isAll)
        {
            List <DataTable> list = new List <DataTable>();

            try
            {
                list = spRejectionInMaster.DeliveryNoteNoComboFillToLedger(cmbDeliveryNoteNo, decLedgerId, isAll);
            }
            catch (Exception ex)
            {
                MessageBox.Show("RI14:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(list);
        }