public override void InvalidateModuleObjects(int iObjectID) { ARCustomerPaymentsInfo mainObject = (ARCustomerPaymentsInfo)MainObject; CustomerPaymentTimePaymentsList.Invalidate(iObjectID); ARCustomerPaymentDetailsController objCustomerPaymentDetailsController = new ARCustomerPaymentDetailsController(); DataSet ds = objCustomerPaymentDetailsController.GetAllDataByForeignColumn("FK_ARCustomerPaymentID", mainObject.ARCustomerPaymentID); CustomerPaymentDetailsList.Invalidate(ds); }
public override void SetDefaultModuleObjectsList() { try { CustomerPaymentTimePaymentsList.SetDefaultListAndRefreshGridControl(); List <ARCustomerPaymentDetailsInfo> paymentDetails = GetDefaultPaymentMethods(); CustomerPaymentDetailsList.Invalidate(paymentDetails); } catch (Exception) { return; } }