| | | 1 | | using Microsoft.Xrm.Sdk; |
| | | 2 | | using Microsoft.Xrm.Sdk.Client; |
| | | 3 | | using System; |
| | | 4 | | |
| | | 5 | | namespace FakeXrmEasy |
| | | 6 | | { |
| | | 7 | | [EntityLogicalName("organization")] |
| | | 8 | | public class FiscalYearSettings |
| | | 9 | | { |
| | | 10 | | [AttributeLogicalName("fiscalcalendarstart")] |
| | 12 | 11 | | public DateTime StartDate { get; set; } |
| | | 12 | | |
| | | 13 | | [AttributeLogicalName("fiscalperiodtype")] |
| | 6 | 14 | | public Template FiscalPeriodTemplate { get; set; } |
| | | 15 | | |
| | | 16 | | public enum Template |
| | | 17 | | { |
| | | 18 | | Annually = 2000, |
| | | 19 | | SemiAnnually = 2001, |
| | | 20 | | Quarterly = 2002, |
| | | 21 | | Monthly = 2003, |
| | | 22 | | FourWeek = 2004 |
| | | 23 | | } |
| | | 24 | | } |
| | | 25 | | } |