Example #1
0
 private static ImporterSetting ShowImporterSettingSearchDialog(IApplicationUsable appUsable,
                                                                Rac.VOne.Common.Constants.FreeImporterFormatType formatType, string title)
 => appUsable.ShowSearchDialog(title,
                               new ImporterSettingGridLoader(appUsable.ApplicationContext)
 {
     FormatType = formatType
 }, 700);
Example #2
0
 public static Destination ShowDestinationSearchDialog(this IApplicationUsable appUsable, int customerId,
                                                       string title = "送付先検索", DestinationGridLoader loader = null)
 => appUsable.ShowSearchDialog(title,
                               loader ?? new DestinationGridLoader(appUsable.ApplicationContext, new DestinationSearch {
     CompanyId  = appUsable.ApplicationContext.Login.CompanyId,
     CustomerId = customerId
 }));
Example #3
0
 private static Category ShowCategorySearchDialog(IApplicationUsable appUsable,
                                                  int categoryType, string title, CategorySearch search = null, bool?useInput = null)
 => appUsable.ShowSearchDialog(title,
                               new CategoryGridLoader(appUsable.ApplicationContext,
                                                      search ?? new CategorySearch
 {
     CompanyId    = appUsable.ApplicationContext.Login.CompanyId,
     CategoryType = categoryType,
     UseInput     = (useInput.HasValue) ? (int?)(useInput.Value ? 1 : 0) : null,
 }));
Example #4
0
 public static CustomerMin ShowCustomerMinSearchDialog(this IApplicationUsable appUsable,
                                                       string title = "得意先検索", CustomerMinGridLoader loader = null)
 => appUsable.ShowSearchDialog(title,
                               loader ?? new CustomerMinGridLoader(appUsable.ApplicationContext));
Example #5
0
 public static Department ShowDepartmentSearchDialog(this IApplicationUsable appUsable,
                                                     string title = "請求部門検索", DepartmentGridLoader loader = null)
 => appUsable.ShowSearchDialog(title,
                               loader ?? new DepartmentGridLoader(appUsable.ApplicationContext), 500);
Example #6
0
 public static Staff ShowStaffSearchDialog(this IApplicationUsable appUsable,
                                           string title = "担当者検索")
 => appUsable.ShowSearchDialog(title,
                               new StaffGridLoader(appUsable.ApplicationContext), 800);
Example #7
0
 /// <summary>預金種別検索</summary>
 /// <param name="useReceipt">入金データ用 default</param>
 /// <param name="useTransfer">口座振替用</param>
 /// <returns></returns>
 public static BankAccountType ShowBankAccountTypeSearchDialog(this IApplicationUsable appUsable,
                                                               string title    = "預金種別検索", BankAccountTypeGridLoader loader = null,
                                                               bool useReceipt = true, bool useTransfer = false)
 => appUsable.ShowSearchDialog(title, loader ?? new BankAccountTypeGridLoader(appUsable.ApplicationContext, useReceipt, useTransfer));
Example #8
0
 public static LoginUser ShowLoginUserSearchDialog(this IApplicationUsable appUsable,
                                                   string title = "ログインユーザー検索")
 => appUsable.ShowSearchDialog(title,
                               new LoginUserGridLoader(appUsable.ApplicationContext), 800);
Example #9
0
 public static AccountTitle ShowAccountTitleSearchDialog(this IApplicationUsable appUsable,
                                                         string title = "科目検索")
 => appUsable.ShowSearchDialog(title,
                               new AccountTitleGridLoader(appUsable.ApplicationContext), 500);
Example #10
0
 public static FixedValue ShowIsParentSettingSearchDialog(this IApplicationUsable appUsable,
                                                          string title = "債権代表者フラグ")
 => appUsable.ShowSearchDialog(title,
                               new IsParentGridLoader(appUsable.ApplicationContext));
Example #11
0
 public static FixedValue ShowHolidaySettingSearchDialog(this IApplicationUsable appUsable,
                                                         string title = "休業日の設定")
 => appUsable.ShowSearchDialog(title,
                               new HolidayCalendarGridLoader(appUsable.ApplicationContext));
Example #12
0
 public static FixedValue ShowShareTransferFeeSearchDialog(this IApplicationUsable appUsable,
                                                           string title = "手数料負担区分検索")
 => appUsable.ShowSearchDialog(title,
                               new ShareTransferFeeGridLoader(appUsable.ApplicationContext));
Example #13
0
 public static TaxClass ShowTaxClassSearchDialog(this IApplicationUsable appUsable,
                                                 string title = "税区分検索")
 => appUsable.ShowSearchDialog(title,
                               new TaxClassGridLoader(appUsable.ApplicationContext), 500);
Example #14
0
 public static BillingDivisionContract ShowBillingDivisionContractSearchDialog(this IApplicationUsable appUsable,
                                                                               string title = "契約番号検索")
 => appUsable.ShowSearchDialog(title,
                               new BillingDivisionContractGridLoader(appUsable.ApplicationContext));
Example #15
0
 public static Currency ShowCurrencySearchDialog(this IApplicationUsable appUsable,
                                                 string title = "通貨検索")
 => appUsable.ShowSearchDialog(title,
                               new CurrencyGridLoader(appUsable.ApplicationContext), 500);
Example #16
0
 public static InvoiceTemplateSetting ShowInvoiceTemplateSettingSearchDialog(this IApplicationUsable appUsable,
                                                                             string title = "文面パターン検索", InvoiceTemplateSettingGridLoader loader = null)
 => appUsable.ShowSearchDialog(title,
                               loader ?? new InvoiceTemplateSettingGridLoader(appUsable.ApplicationContext));
Example #17
0
 public static Section ShowSectionSearchDialog(this IApplicationUsable appUsable,
                                               string title = "入金部門検索")
 => appUsable.ShowSearchDialog(title,
                               new SectionGridLoader(appUsable.ApplicationContext), 500);
Example #18
0
 /// <summary>
 /// 0 : しない, 1 : する の 固定値 検索ダイアログ
 /// title の指定が必須のため、初期値は設定しない
 /// </summary>
 /// <param name="appUsable"></param>
 /// <param name="title"></param>
 /// <returns></returns>
 public static FixedValue ShowYesOrNoSettingSearchDialog(this IApplicationUsable appUsable,
                                                         string title)
 => appUsable.ShowSearchDialog(title,
                               new YesOrNoGridLoader(appUsable.ApplicationContext));
Example #19
0
 public static PaymentAgency ShowPaymentAgencySearchDialog(this IApplicationUsable appUsable,
                                                           string title = "決済代行会社検索")
 => appUsable.ShowSearchDialog(title,
                               new PaymentAgencyGridLoader(appUsable.ApplicationContext), 700);
Example #20
0
 public static PeriodicBillingSetting ShowPeriodicBillingSettingSearchDialog(this IApplicationUsable appUsable,
                                                                             string title = "定期請求パターン検索", PeriodicBillingSettingGridLoader loader = null)
 => appUsable.ShowSearchDialog(title, loader ?? new PeriodicBillingSettingGridLoader(appUsable.ApplicationContext));
Example #21
0
 public static BankAccount ShowBankAccountSearchDialog(this IApplicationUsable appUsable,
                                                       string title = "銀行口座検索")
 => appUsable.ShowSearchDialog(title,
                               new BankAccountGridLoader(appUsable.ApplicationContext), 950);
Example #22
0
 public static BankBranch ShowBankBranchSearchDialog(this IApplicationUsable appUsable,
                                                     string title = "銀行・支店検索")
 => appUsable.ShowSearchDialog(title,
                               new BankBranchGridLoader(appUsable.ApplicationContext), 950);