protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(DepartmentId, v => { v.Name = "Department"; localisedName.Set(v, dutchLocale, "Departement"); v.IsActive = true; }); merge(DivisionId, v => { v.Name = "Division"; localisedName.Set(v, dutchLocale, "Divisie"); v.IsActive = true; }); merge(SubsidiaryId, v => { v.Name = "Subsidiary"; localisedName.Set(v, dutchLocale, "Dochtermaatschappij"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(PoorId, v => { v.Name = "Poor"; localisedName.Set(v, dutchLocale, "Laag"); v.IsActive = true; }); merge(FairId, v => { v.Name = "Fair"; localisedName.Set(v, dutchLocale, "Redelijk"); v.IsActive = true; }); merge(GoodId, v => { v.Name = "Good"; localisedName.Set(v, dutchLocale, "Goed"); v.IsActive = true; }); merge(OutstandingId, v => { v.Name = "Outstanding"; localisedName.Set(v, dutchLocale, "Uitstekend"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(StandardId, v => { v.Name = "Standard"; localisedName.Set(v, dutchLocale, "Hoog"); v.IsActive = true; }); merge(ReducedRateId, v => { v.Name = "Reduced rate"; localisedName.Set(v, dutchLocale, "Laag"); v.IsActive = true; }); merge(ZeroRateId, v => { v.Name = "Zero rate"; localisedName.Set(v, dutchLocale, "Nul tarief"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(PurchaseId, v => { v.Name = "Purchase"; localisedName.Set(v, dutchLocale, "Inkoop"); v.IsActive = true; }); merge(SalesId, v => { v.Name = "Sales"; localisedName.Set(v, dutchLocale, "Verkoop"); v.IsActive = true; }); merge(PurchaseAndSalesId, v => { v.Name = "Purchase & sales"; localisedName.Set(v, dutchLocale, "Inkoop & verkoop"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var vatRate0 = new VatRates(this.Session).Zero; var vatRate21 = new VatRates(this.Session).TwentyOne; var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(PrivatePersonId, v => { v.Name = "Private Person"; localisedName.Set(v, dutchLocale, "particulier"); v.VatRate = vatRate21; v.IsActive = true; }); merge(AssessableId, v => { v.Name = "VAT Assessable 21%"; localisedName.Set(v, dutchLocale, "BTW-plichtig 21%"); v.VatRate = vatRate21; v.IsActive = true; }); merge(ExportId, v => { v.Name = "Export"; localisedName.Set(v, dutchLocale, "Export"); v.VatRate = vatRate0; v.IsActive = true; }); merge(IntraCommunautairId, v => { v.Name = "Intracommunautair"; localisedName.Set(v, dutchLocale, "Intracommunautair"); v.VatRate = vatRate0; v.VatClause = new VatClauses(this.Session).Intracommunautair; v.IsActive = true; }); merge(ServiceB2BId, v => { v.Name = "Service B2B: Not VAT assessable"; localisedName.Set(v, dutchLocale, "Service B2B: Niet BTW-plichtig"); v.VatRate = vatRate0; v.VatClause = new VatClauses(this.Session).ServiceB2B; v.IsActive = true; }); merge(ExemptId, v => { v.Name = "Exempt"; localisedName.Set(v, dutchLocale, "Vrijgesteld"); v.VatRate = vatRate0; v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(GoodsId, v => { v.Name = "Goods"; localisedName.Set(v, dutchLocale, "Goederen"); v.IsActive = true; }); merge(ServicesId, v => { v.Name = "Services"; localisedName.Set(v, dutchLocale, "Diensten"); v.IsActive = true; }); merge(InvestmentsId, v => { v.Name = "Investments"; localisedName.Set(v, dutchLocale, "Investeringen"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(FirstId, v => { v.Name = "First"; localisedName.Set(v, dutchLocale, "Eerste"); v.IsActive = true; }); merge(SecondId, v => { v.Name = "Second"; localisedName.Set(v, dutchLocale, "Tweede"); v.IsActive = true; }); merge(ThirdId, v => { v.Name = "Third"; localisedName.Set(v, dutchLocale, "Derde"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(SingleId, v => { v.Name = "Single"; localisedName.Set(v, dutchLocale, "Alleenstaand"); v.IsActive = true; }); merge(MarriedId, v => { v.Name = "Married"; localisedName.Set(v, dutchLocale, "Gehuwd"); v.IsActive = true; }); merge(DivorcedId, v => { v.Name = "Divorced"; localisedName.Set(v, dutchLocale, "Gescheiden"); v.IsActive = true; }); merge(WidowedId, v => { v.Name = "Widowed"; localisedName.Set(v, dutchLocale, "Weduw(e)(naar)"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(GoodsId, v => { v.Name = "Goods"; localisedName.Set(v, dutchLocale, "Goederen"); v.IsActive = true; }); merge(ServicesId, v => { v.Name = "Services"; localisedName.Set(v, dutchLocale, "Diensten"); v.IsActive = true; }); merge(TriangularTradeId, v => { v.Name = "Triangular trade"; localisedName.Set(v, dutchLocale, "ABC-transactie"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(CustomerId, v => { v.Name = "Customer"; localisedName.Set(v, dutchLocale, "Klant"); v.IsActive = true; }); merge(SupplierId, v => { v.Name = "Supplier"; localisedName.Set(v, dutchLocale, "Leverancier"); v.IsActive = true; }); merge(ManufacturerId, v => { v.Name = "Manufacturer"; localisedName.Set(v, dutchLocale, "Fabrikant"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(MaleId, v => { v.Name = "Male"; localisedName.Set(v, dutchLocale, "Mannelijk"); v.IsActive = true; }); merge(FemaleId, v => { v.Name = "Female"; localisedName.Set(v, dutchLocale, "Vrouwelijk"); v.IsActive = true; }); merge(OtherId, v => { v.Name = "Other"; localisedName.Set(v, dutchLocale, "Anders"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(FiFoId, v => { v.Name = "FiFo"; localisedName.Set(v, dutchLocale, "FiFo"); v.IsActive = true; }); merge(LiFoId, v => { v.Name = "LiFo"; localisedName.Set(v, dutchLocale, "LiFo"); v.IsActive = true; }); merge(AverageId, v => { v.Name = "Average price"; localisedName.Set(v, dutchLocale, "Gemiddelde prijs"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(ResignationId, v => { v.Name = "Resignation"; localisedName.Set(v, dutchLocale, "Ontslag genomen"); v.IsActive = true; }); merge(FiredId, v => { v.Name = "Fired"; localisedName.Set(v, dutchLocale, "Ontslagen"); v.IsActive = true; }); merge(RetirenmentId, v => { v.Name = "Retirement"; localisedName.Set(v, dutchLocale, "Pensioen"); v.IsActive = true; }); merge(DeceasedId, v => { v.Name = "Deceased"; localisedName.Set(v, dutchLocale, "Overleden"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(ProjectPlanId, v => { v.Name = "Project Plan"; localisedName.Set(v, dutchLocale, "Projectplan"); v.IsActive = true; }); merge(PresentationId, v => { v.Name = "Presentation"; localisedName.Set(v, dutchLocale, "Presentatie"); v.IsActive = true; }); merge(ReportId, v => { v.Name = "Report"; localisedName.Set(v, dutchLocale, "Rapport"); v.IsActive = true; }); merge(MarketAnalysisId, v => { v.Name = "Market Analysis"; localisedName.Set(v, dutchLocale, "Markt analyse"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(Assessable15Id, v => { v.Name = "IRPF Assessable 15%"; localisedName.Set(v, dutchLocale, "IRPF-plichtig 15%"); v.IsActive = true; }); var irpfregime = new IrpfRegimes(this.Session).FindBy(M.VatRegime.UniqueId, Assessable15Id); irpfregime.AddIrpfRate(new IrpfRates(this.Session).fifteen); merge(Assessable19Id, v => { v.Name = "IRPF Assessable 19%"; localisedName.Set(v, dutchLocale, "IRPF-plichtig 19%"); v.IsActive = true; }); irpfregime = new IrpfRegimes(this.Session).FindBy(M.VatRegime.UniqueId, Assessable19Id); irpfregime.AddIrpfRate(new IrpfRates(this.Session).nineteen); merge(ExemptId, v => { v.Name = "Exempt"; localisedName.Set(v, dutchLocale, "Vrijgesteld"); v.IsActive = true; }); irpfregime = new IrpfRegimes(this.Session).FindBy(M.VatRegime.UniqueId, ExemptId); irpfregime.AddIrpfRate(new IrpfRates(this.Session).Zero); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(InsubordinationId, v => { v.Name = "Insubordination"; localisedName.Set(v, dutchLocale, "Weigering van bevel"); v.IsActive = true; }); merge(AcceptedNewJobId, v => { v.Name = "Accepted New Job"; localisedName.Set(v, dutchLocale, "Nieuwe job aangenomen"); v.IsActive = true; }); merge(NonPerformanceId, v => { v.Name = "Non Performance"; localisedName.Set(v, dutchLocale, "Slechte performantie"); v.IsActive = true; }); merge(MovedId, v => { v.Name = "Moved"; localisedName.Set(v, dutchLocale, "Verhuis"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(RequiredId, v => { v.Name = "Required"; localisedName.Set(v, dutchLocale, "Verplicht"); v.IsActive = true; }); merge(RequiredId, v => { v.Name = "Standard"; localisedName.Set(v, dutchLocale, "Standaard"); v.IsActive = true; }); merge(OptionalId, v => { v.Name = "Optional"; localisedName.Set(v, dutchLocale, "Optioneel"); v.IsActive = true; }); merge(OptionalId, v => { v.Name = "Selectable"; localisedName.Set(v, dutchLocale, "Selecteerbaar"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(EmployeeId, v => { v.Name = "Employee"; localisedName.Set(v, dutchLocale, "Werknemer"); v.IsActive = true; }); merge(EmployeeId, v => { v.Name = "Sales Rep"; localisedName.Set(v, dutchLocale, "Verkoper"); v.IsActive = true; }); merge(ContactId, v => { v.Name = "Organisation Contact"; localisedName.Set(v, dutchLocale, "Contact"); v.IsActive = true; }); merge(CustomerId, v => { v.Name = "Customer"; localisedName.Set(v, dutchLocale, "Klant"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(PhoneId, v => { v.Name = "Phone"; localisedName.Set(v, dutchLocale, "Telefoon"); v.IsActive = true; }); merge(MobilePhoneId, v => { v.Name = "Mobile Phone"; localisedName.Set(v, dutchLocale, "Mobiel"); v.IsActive = true; }); merge(MobilePhoneId, v => { v.Name = "FaxId"; localisedName.Set(v, dutchLocale, "Fax"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(NewsPaperId, v => { v.Name = "NewsPaper"; localisedName.Set(v, dutchLocale, "Krant"); v.IsActive = true; }); merge(PersonallReferalId, v => { v.Name = "PersonallReferal"; localisedName.Set(v, dutchLocale, "Persoonlijk doorverwezen"); v.IsActive = true; }); merge(InternetId, v => { v.Name = "Internet"; localisedName.Set(v, dutchLocale, "Internet"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(BeginnerId, v => { v.Name = "Beginner"; localisedName.Set(v, dutchLocale, "Starter"); v.IsActive = true; }); merge(IntermediateId, v => { v.Name = "Intermediate"; localisedName.Set(v, dutchLocale, "Intermediate"); v.IsActive = true; }); merge(AdvancedId, v => { v.Name = "Advanced"; localisedName.Set(v, dutchLocale, "Ervaren"); v.IsActive = true; }); merge(ExpertId, v => { v.Name = "Expert"; localisedName.Set(v, dutchLocale, "Expert"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(OwnId, v => { v.Name = "Own"; localisedName.Set(v, dutchLocale, "Eigen"); v.IsActive = true; }); merge(TradingId, v => { v.Name = "Trading"; localisedName.Set(v, dutchLocale, "Handel"); v.IsActive = true; }); merge(ThirdPartyId, v => { v.Name = "Third party"; localisedName.Set(v, dutchLocale, "Derde partij"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(InternalRateId, v => { v.Name = "Internal Rate"; localisedName.Set(v, dutchLocale, "Internal tarief"); v.IsActive = true; }); merge(StandardRateId, v => { v.Name = "Standard Rate"; localisedName.Set(v, dutchLocale, "Standaard tarief"); v.IsActive = true; }); merge(OvertimeRateId, v => { v.Name = "Overtime Rate"; localisedName.Set(v, dutchLocale, "Overuren tarief"); v.IsActive = true; }); merge(WeekendRateId, v => { v.Name = "Weekend Rate"; localisedName.Set(v, dutchLocale, "Weekend tarief"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var dutchBelgium = new Locales(this.Session).DutchBelgium; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); var localisedClause = new LocalisedTextAccessor(this.Meta.LocalisedClauses); merge(ServiceB2BId, v => { v.Name = "Rent goods"; localisedName.Set(v, dutchBelgium, "Verhuur goederen"); localisedClause.Set(v, dutchBelgium, "Dienstverrichting niet onderworpen aan Belgische btw art. 21, § 2 van het Wbtw / Art. 44 /EG."); v.IsActive = true; }); merge(IntracommunautairId, v => { v.Name = "Intracommunautair"; localisedName.Set(v, dutchBelgium, "Intracommunautair"); localisedClause.Set(v, dutchBelgium, "Vrijstelling van BTW art. 39bis, eerste lid, 1° van het WBTW / Vrijgesteld || Artikel 138, lid 1 - Richtlijn 2006/112."); v.IsActive = true; }); merge(BeArt39Par1Item1Id, v => { v.Name = "Export goods, transport responsible is you, destination customer"; localisedName.Set(v, dutchBelgium, "Verkoop buiten EU, transport verantwoordelijk bent u, bestemming klant"); localisedClause.Set(v, dutchBelgium, "Vrijstelling van BTW art. 39 § 1, 1° van het WBTW / Vrijgesteld || artikel 146, lid 1, onder a) – richtlijn 2006/112."); v.IsActive = true; }); merge(BeArt15Par2Id, v => { v.Name = "Export goods, transport responsible is you, destination internal organisation"; localisedName.Set(v, dutchBelgium, "Verkoop buiten EU, transport verantwoordelijk bent u, bestemming interne organisatie"); localisedClause.Set(v, dutchBelgium, "Levering van goederen niet onderworpen aan Belgische BTW. art. 15, § 2, van het WBTW / Artikel 33, lid 1, onder a) en b) - Richtlijn 2006/112."); v.IsActive = true; }); merge(BeArt39Par1Item2Id, v => { v.Name = "Export goods, transport responsible is customer, destination customer"; localisedName.Set(v, dutchBelgium, "Verkoop buiten EU, transport verantwoordelijk is klant, bestemming klant"); localisedClause.Set(v, dutchBelgium, "Vrijstelling van BTW art. 39 § 1, 2° van het WBTW / Vrijgesteld || artikel 146, lid 1, onder a) – richtlijn 2006/112."); v.IsActive = true; }); merge(BeArt14Par2Id, v => { v.Name = "Export goods, transport responsible is customer, destination internal organisation"; localisedName.Set(v, dutchBelgium, "Verkoop buiten EU, transport verantwoordelijk is klant, bestemming internal organisation"); localisedClause.Set(v, dutchBelgium, @" Levering van goederen niet onderworpen aan Belgische BTW. art. 14, § 2 van het WBTW / Artikel 32, eerste alinea - Richtlijn 2006/112 Extra vermeldingen: De goederen worden niet geïnstalleerd. / The goods are not installed. Koper vervoert van België naar {shipToCountry}. / The buyer transports from Belgium to {shipToCountry}"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(SundayId, v => { v.Name = "Sunday"; localisedName.Set(v, dutchLocale, "Zondag"); v.IsActive = true; }); merge(MondayId, v => { v.Name = "Monday"; localisedName.Set(v, dutchLocale, "Maandag"); v.IsActive = true; }); merge(TuesdayId, v => { v.Name = "Tuesday"; localisedName.Set(v, dutchLocale, "Dinsdag"); v.IsActive = true; }); merge(WednesdayId, v => { v.Name = "Wednesday"; localisedName.Set(v, dutchLocale, "Woensdag"); v.IsActive = true; }); merge(ThursdayId, v => { v.Name = "Thursday"; localisedName.Set(v, dutchLocale, "Donderdag"); v.IsActive = true; }); merge(FridayId, v => { v.Name = "Friday"; localisedName.Set(v, dutchLocale, "Vrijdag"); v.IsActive = true; }); merge(SaturdayId, v => { v.Name = "Saturday"; localisedName.Set(v, dutchLocale, "Zaterdag"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(VeryHighId, v => { v.Name = "Very High"; localisedName.Set(v, dutchLocale, "Zeer hoog"); v.IsActive = true; }); merge(HighId, v => { v.Name = "High"; localisedName.Set(v, dutchLocale, "Hoog"); v.IsActive = true; }); merge(MediumId, v => { v.Name = "Medium"; localisedName.Set(v, dutchLocale, "Gemiddeld"); v.IsActive = true; }); merge(LowId, v => { v.Name = "Low"; localisedName.Set(v, dutchLocale, "Laag"); v.IsActive = true; }); merge(FirstId, v => { v.Name = "First"; localisedName.Set(v, dutchLocale, "Eerste"); v.IsActive = true; }); merge(SecondId, v => { v.Name = "Second"; localisedName.Set(v, dutchLocale, "Tweede"); v.IsActive = true; }); merge(ThirdId, v => { v.Name = "Third"; localisedName.Set(v, dutchLocale, "Derde"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(ProjectManagementId, v => { v.Name = "Project Management"; localisedName.Set(v, dutchLocale, "Project Management"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(PaymentNetDaysId, v => { v.Name = "Payment-net days"; localisedName.Set(v, dutchLocale, "Betaaltermijn"); v.IsActive = true; }); merge(LateFeeId, v => { v.Name = "Penalty for late fee"; localisedName.Set(v, dutchLocale, "Boete late betaling"); v.IsActive = true; }); merge(CollectionAgencyPenaltyId, v => { v.Name = "Penalty for collection agency"; localisedName.Set(v, dutchLocale, "Boete incassobureau"); v.IsActive = true; }); merge(PayFullBeforeTransportId, v => { v.Name = "Payment condition: 100% before transport"; localisedName.Set(v, dutchLocale, "Betalings voorwaarde: 100% voorafgaand aan verzending"); v.IsActive = true; }); merge(PayHalfBeforeTransportId, v => { v.Name = "Payment condition: 50% on order and 50% before transport"; localisedName.Set(v, dutchLocale, "Betalings voorwaarde: 50% bij order en 50% voorafgaand aan verzending"); v.IsActive = true; }); merge(OtherId, v => { v.Name = "Other"; localisedName.Set(v, dutchLocale, "Overige"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(CashId, v => { v.Name = "Cash"; localisedName.Set(v, dutchLocale, "Kas"); v.IsActive = true; }); merge(BankId, v => { v.Name = "Bank"; localisedName.Set(v, dutchLocale, "Bank"); v.IsActive = true; }); merge(GiroId, v => { v.Name = "Giro"; localisedName.Set(v, dutchLocale, "Giro"); v.IsActive = true; }); merge(GeneralId, v => { v.Name = "General"; localisedName.Set(v, dutchLocale, "Memoriaal"); v.IsActive = true; }); merge(SalesId, v => { v.Name = "Sales"; localisedName.Set(v, dutchLocale, "Verkoop"); v.IsActive = true; }); merge(PurchaseId, v => { v.Name = "Purchase"; localisedName.Set(v, dutchLocale, "Aankoop"); v.IsActive = true; }); }
protected override void BaseSetup(Setup setup) { var dutchLocale = new Locales(this.Session).DutchNetherlands; var merge = this.Cache.Merger().Action(); var localisedName = new LocalisedTextAccessor(this.Meta.LocalisedNames); merge(ReceivedId, v => { v.Name = "Received"; localisedName.Set(v, dutchLocale, "Ontvangen"); v.IsActive = true; }); merge(ReceivedId, v => { v.Name = "Reviewed"; localisedName.Set(v, dutchLocale, "Gereviewed"); v.IsActive = true; }); merge(FiledId, v => { v.Name = "Filed"; localisedName.Set(v, dutchLocale, "Ingediend"); v.IsActive = true; }); merge(RejectedId, v => { v.Name = "Rejected"; localisedName.Set(v, dutchLocale, "Geweigerd"); v.IsActive = true; }); merge(NotifiedOfNonInterestedId, v => { v.Name = "Notified Of Non Interested"; localisedName.Set(v, dutchLocale, "Niet geïnteresseerd beantwoord"); v.IsActive = true; }); merge(EmployedId, v => { v.Name = "Employed"; localisedName.Set(v, dutchLocale, "Aangenomen"); v.IsActive = true; }); }