public void GetLastNotaTest()
        {
            var lastNota = _bll.GetLastNota();

            Assert.AreEqual("201701210002", lastNota);

            lastNota = _bll.GetLastNota();
            Assert.AreEqual("201701210003", lastNota);
        }
        public FrmEntryReturPembelianProduk(string header, IReturBeliProdukBll bll)
            : base()
        {
            InitializeComponent();
            ColorManagerHelper.SetTheme(this, this);

            base.SetHeader(header);
            this._bll       = bll;
            this._isNewData = true;
            this._log       = MainProgram.log;
            this._pengguna  = MainProgram.pengguna;

            txtNota.Text     = bll.GetLastNota();
            dtpTanggal.Value = DateTime.Today;

            _listOfItemRetur.Add(new ItemReturBeliProduk()); // add dummy objek

            InitGridControl(gridControl);
        }