/// <summary> /// Obtiene los CxC Authorized /// </summary> /// <param name="blnAuthorized">Tipo de CxCAuthorized </param> /// <history> /// [michan] 06/06/2016 Created /// </history> public async Task GetCxCAuthorized(bool?blnAuthorized = false) { imgButtonSearch.IsEnabled = false; StaStart("Searching records... Please wait"); lstCxCData = await BRCxC.GetCxC(blnAuthorized.Value, strSalesRoom, strUserID, dtmFrom, dtmTo, strLeadSource, strPR); totalRows = lstCxCData.Count(); ColumnVisibility("Log", blnAuthorized.Value); ColumnVisibility("Pay", blnAuthorized.Value); lastPage = (totalRows > 0) ? (int)lstCxCData.Max(pagina => pagina.Page.Value) : 1; firtPage = (totalRows > 0) ? (int)lstCxCData.Min(pagina => pagina.Page.Value) : 1; ConfigButtons(); StaEnd(); iTotalchanges = 0; imgButtonSearch.IsEnabled = true; }
/// <summary> /// Carga el registro de los Payments el el grid /// </summary> ///<history> ///[michan] 16/Junio/2016 Created ///</history> public async void LoadPayments() { cxCPaymentShortViewSource.Source = await BRCxC.GetCxCPayments(giftReceiptID); }