context: // <copyright file="InternalOrganisation.cs" company="Allors bvba">
  // Copyright (c) Allors bvba. All rights reserved.
  // Licensed under the LGPL license. See LICENSE file in the project root for full license information.
  // </copyright>
  
  namespace Allors.Repository
  {
      using Allors.Repository.Attributes;
  
      #region Allors
      [Id("c81441c8-9ac9-440e-a926-c96230b2701f")]
      #endregion
      public partial interface InternalOrganisation : Party
      {
          #region inherited properties
  
          #endregion
  
          #region Allors
          [Id("25E8BD32-807F-4484-8561-2AA34B425C6F")]
          [AssociationId("F2F0A84E-0EBA-437F-9F2D-431CB7FA19B1")]
          [RoleId("4C553A51-9B83-4D05-ACAF-4884796072B3")]
          #endregion
          [Required]
          [Workspace]
          public bool IsInternalOrganisation { get; set; }
  
          #region Allors
          [Id("5eaab214-d2d4-46e3-806c-5193047067e2")]
          [AssociationId("12c9e2d5-1554-454f-b1a2-74215316bf51")]
          [RoleId("b0d2c70c-3048-4df5-a6b3-837a115af6dd")]
          #endregion
          [Multiplicity(Multiplicity.OneToMany)]
          [Indexed]
          public FiscalYearInternalOrganisationSequenceNumbers[] FiscalYearsInternalOrganisationSequenceNumbers { get; set; }
  
          #region Allors
          [Id("E6BBEC1C-5855-4D22-97D2-BF62B853DC7E")]
          [AssociationId("FE5822F4-4E05-4059-B4EB-56AAB4356384")]
          [RoleId("AF8BE64A-A610-4917-9B21-D277419756F9")]
          [Indexed]
          #endregion
          [Workspace]
          [Multiplicity(Multiplicity.OneToMany)]
          PaymentMethod[] PaymentMethods { get; set; }
  
          #region Allors
          [Id("356044B9-47FA-4EEB-955E-B75C2A21EA2E")]
          [AssociationId("DCAC5A59-8918-482C-B453-6340A7EFAC7A")]
          [RoleId("77F0A7ED-F548-4F62-AD53-3CE616B2476C")]
          [Indexed]
          #endregion
          [Workspace]
          [Multiplicity(Multiplicity.OneToOne)]
          PaymentMethod DefaultCollectionMethod { get; set; }
  
          #region Allors
          [Id("1a986cbf-b7db-4850-af06-d96e1339beb7")]
          [AssociationId("fc69f819-2ca0-4ac4-b36e-cfff791679a1")]
          [RoleId("d6e816ae-50c5-41c7-8877-9f4c30208d47")]
          #endregion
          [Multiplicity(Multiplicity.OneToOne)]
          [Indexed]
          [Workspace]
          Counter PurchaseInvoiceNumberCounter { get; set; }
  
          #region Allors
          [Id("23aee857-9cea-481c-a4a3-72dd8b808d71")]
          [AssociationId("61c64e66-4647-439d-9efa-28500319e8ca")]
          [RoleId("4d68b2fe-d5b4-45f8-9e68-377d75f3401d")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Indexed]
          [Workspace]
          InvoiceSequence InvoiceSequence { get; set; }
  
          #region Allors
          [Id("63e05248-fb49-46c9-b7f1-98769fbfcc91")]
          [AssociationId("f2c63772-1824-4736-acbf-24685db7b33b")]
          [RoleId("7a2fa065-b49a-44be-a09e-1e00ee9a0ff9")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Indexed]
          [Workspace]
          RequestSequence RequestSequence { get; set; }
  
          #region Allors
          [Id("5d7ea4f2-9b8b-4715-ada4-7e0489d4dee7")]
          [AssociationId("d149b716-5ab4-4128-a632-29e475ff6eea")]
          [RoleId("fa767287-2e69-459e-b2a2-67ea9cbe8546")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Indexed]
          [Workspace]
          QuoteSequence QuoteSequence { get; set; }
  
          #region Allors
          [Id("ccbc587c-f01c-4bd8-805c-1491f8e41f23")]
          [AssociationId("109676fc-d2ba-4752-acc8-b921902818fe")]
          [RoleId("f6e28fe7-8898-408c-bb2a-b79428ef912a")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Indexed]
          [Workspace]
          CustomerShipmentSequence CustomerShipmentSequence { get; set; }
  
          #region Allors
          [Id("b04166d7-cd76-40cc-984b-edfe25630f02")]
          [AssociationId("34b34717-0d64-4e07-bdfa-633a3ebccc6e")]
          [RoleId("ad80c0aa-658f-4896-aaaf-4f90e490c378")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Indexed]
          [Workspace]
          PurchaseShipmentSequence PurchaseShipmentSequence { get; set; }
  
          #region Allors
          [Id("23bc3a20-aea2-4e05-b792-fdcf92def95b")]
          [AssociationId("3ac88339-6fce-4a79-a43b-9b959b28a096")]
          [RoleId("4babe525-c0ac-4d58-9862-88ac11a679bd")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Indexed]
          [Workspace]
          WorkEffortSequence WorkEffortSequence { get; set; }
  
          #region Allors
          [Id("44f165ed-a6ca-4979-9046-a0f7391bef7d")]
          [AssociationId("5e581649-0b45-498f-b274-fdcc05bb3894")]
          [RoleId("1069343b-d6d5-4418-abf9-688b9dcec6d0")]
          #endregion
          [Multiplicity(Multiplicity.OneToOne)]
          [Indexed]
          [Workspace]
          Counter PurchaseOrderNumberCounter { get; set; }
  
          #region Allors
          [Id("7e210c5e-a68b-4ea0-b019-1dd452d8e407")]
          [AssociationId("b9c41192-1666-44c0-9365-b24df29a2cdf")]
          [RoleId("dfe3042c-babb-416b-a414-5dda0a2958c0")]
          #endregion
          [Workspace]
          int FiscalYearStartDay { get; set; }
  
          #region Allors
          [Id("ad7c8532-59d2-4668-bd9f-6c67ddc4e4bc")]
          [AssociationId("7028e722-f29d-42f6-b7c5-d73c2e99c907")]
          [RoleId("48454368-06c6-4e64-876b-b5e4268407a4")]
          #endregion
          [Multiplicity(Multiplicity.OneToOne)]
          [Indexed]
          [Workspace]
          Counter SubAccountCounter { get; set; }
  
          #region Allors
          [Id("A49663B5-A432-41FA-BBCA-8368D1B9D53D")]
          [AssociationId("27E7D099-3D94-4DCF-AFD2-9143A4815ECC")]
          [RoleId("A82306DA-FFA4-48D5-81EC-B657E2CB99C1")]
          #endregion
          [Multiplicity(Multiplicity.OneToOne)]
          [Indexed]
          [Workspace]
          Counter RequestNumberCounter { get; set; }
  
          #region Allors
          [Id("5b64cf9d-e990-491e-b009-3481d73db67e")]
          [AssociationId("40296302-a559-4014-ba68-929d4238f4d8")]
          [RoleId("5b966f3d-cc80-44f4-b255-87182aa796d4")]
          #endregion
          [Workspace]
          int FiscalYearStartMonth { get; set; }
  
          #region Allors
          [Id("86dd32e2-74e7-4ced-bfbd-4e1fdc723588")]
          [AssociationId("ab8ace70-5d23-4ba0-83f7-471a8dbefeb6")]
          [RoleId("fa1a381c-a895-44d2-a028-860486b1d1af")]
          #endregion
          [Multiplicity(Multiplicity.OneToOne)]
          [Indexed]
          [Workspace]
          Counter IncomingShipmentNumberCounter { get; set; }
  
          #region Allors
          [Id("ba00c0d2-6067-4584-bdc4-e6c72be77232")]
          [AssociationId("687afb94-445e-41e2-bf22-deaac5b40e5a")]
          [RoleId("9fa5512e-098a-40fd-a821-38a5f5f280f5")]
          #endregion
          [Multiplicity(Multiplicity.OneToOne)]
          [Indexed]
          [Workspace]
          Counter QuoteNumberCounter { get; set; }
  
          #region Allors
          [Id("d5645df8-2b10-435d-8e47-57b5d268541a")]
          [AssociationId("4d145acb-007a-46b9-98a8-a86888221e28")]
          [RoleId("c2fe67e4-a100-4d96-b4ff-df1ec73db5fe")]
          #endregion
          [Required]
          [Workspace]
          bool DoAccounting { get; set; }
  
          #region Allors
          [Id("00bf781c-c874-44fe-ae60-d6609075b1c0")]
          [AssociationId("3b99af1e-e6c3-498b-aabd-78d6e82c8819")]
          [RoleId("b9a508e2-2931-4ddc-ab34-947d19c2d742")]
          #endregion
          [Size(256)]
          [Workspace]
          string PurchaseOrderNumberPrefix { get; set; }
  
          #region Allors
          [Id("01d4f5d8-da57-4524-b35f-69a1a4adfa1c")]
          [AssociationId("84ff4f9a-b1d3-4e2c-aff6-52a9f75e874a")]
          [RoleId("ee1b0251-ba57-490a-bdc9-c4e8fd6142ce")]
          #endregion
          [Workspace]
          [Size(256)]
          string TransactionReferenceNumber { get; set; }
  
          #region Allors
          [Id("0994b73e-8d4c-4fa4-aca2-287449b22ca7")]
          [AssociationId("17a9138e-76c8-42e1-85b8-7af73b551a22")]
          [RoleId("09fbb64d-c32e-4734-8df9-6e741a5070a5")]
          #endregion
          [Multiplicity(Multiplicity.OneToMany)]
          [Workspace]
          [Indexed]
          JournalEntryNumber[] JournalEntryNumbers { get; set; }
  
          #region Allors
          [Id("1a2533cb-9b75-4597-83ab-9bbfc49e0103")]
          [AssociationId("b4cb12ba-0ea1-41e5-945a-030503bf2c7b")]
          [RoleId("031ba0aa-32e4-470c-9a79-fae65cace2f2")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Workspace]
          [Indexed]
          Country EuListingState { get; set; }
  
          #region Allors
          [Id("219a1d97-9615-47c5-bc4d-20a7d37313bd")]
          [AssociationId("4fd6a9e2-174c-41db-b519-44c317de0f96")]
          [RoleId("45f4d069-5faf-45cf-b097-21f58fab4097")]
          #endregion
          [Multiplicity(Multiplicity.OneToOne)]
          [Indexed]
          [Workspace]
          AccountingPeriod ActualAccountingPeriod { get; set; }
  
          #region Allors
          [Id("293758d7-cc0a-4f1c-b122-84f609a828c2")]
          [AssociationId("afe9d80b-2984-4e46-b45c-e5a25af3bccd")]
          [RoleId("97aa32a6-69c0-4cc5-9e42-98907ff6c45f")]
          #endregion
          [Multiplicity(Multiplicity.OneToMany)]
          [Derived]
          [Indexed]
          [Workspace]
          PaymentMethod[] ActiveCollectionMethods { get; set; }
  
          #region Allors
          [Id("37b4bf2c-5b09-42b0-84d9-59b57793cf37")]
          [AssociationId("22aff7e0-1b45-4f06-b281-19cbf0d1c511")]
          [RoleId("dcd31b64-e449-4833-91cb-8237bdb71b78")]
          #endregion
          [Precision(19)]
          [Scale(2)]
          [Workspace]
          decimal MaximumAllowedPaymentDifference { get; set; }
  
          #region Allors
          [Id("3b32c442-9cbc-41d8-8eb2-2ae41beca2c4")]
          [AssociationId("eda352cd-00cc-4d04-99cf-f7ad667cb20a")]
          [RoleId("b8211575-f4c9-44c8-89b2-bd122704f098")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Indexed]
          [Workspace]
          CostCenterSplitMethod CostCenterSplitMethod { get; set; }
  
          #region Allors
          [Id("4fc741ef-fe95-49a8-8bcd-8ff43092db88")]
          [AssociationId("0e58cd98-94e6-42ab-8501-394f8b8d3624")]
          [RoleId("d5096d5d-a443-4667-95dd-7184f348e55c")]
          #endregion
          [Multiplicity(Multiplicity.OneToOne)]
          [Indexed]
          [Workspace]
          GeneralLedgerAccount SalesPaymentDifferencesAccount { get; set; }
  
          #region Allors
          [Id("5b64038f-5ad9-46a6-9af6-b95819ac9830")]
          [AssociationId("753f6fa9-ff10-402c-9812-d2c738d35dbb")]
          [RoleId("8411c910-14d4-4629-aa39-c58602a799d4")]
          #endregion
          [Size(256)]
          [Workspace]
          string PurchaseTransactionReferenceNumber { get; set; }
  
          #region Allors
          [Id("63c9ceb1-d583-41e1-a9a9-0c2576e9adfc")]
          [AssociationId("fd1ac2ff-6869-44bd-9b4e-05a3b14fbad9")]
          [RoleId("41058049-5c44-47b7-bbb9-34ab0bdcfbcb")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Workspace]
          [Indexed]
          CostOfGoodsSoldMethod CostOfGoodsSoldMethod { get; set; }
  
          #region Allors
          [Id("77ae5145-791a-4ef0-94cc-6c9683b02f13")]
          [AssociationId("0da6cc82-b538-4346-bb48-19b02223a566")]
          [RoleId("bef210d2-7af6-4653-872b-a5eebba2af87")]
          #endregion
          [Workspace]
          bool VatDeactivated { get; set; }
  
          #region Allors
          [Id("848f3098-ce8b-400c-9775-85c00ac68f28")]
          [AssociationId("44649646-ccf8-48b7-9ebf-a09df75d23fc")]
          [RoleId("3d5a74b3-cb62-4803-8115-fde43a648af5")]
          #endregion
          [Multiplicity(Multiplicity.OneToMany)]
          [Derived]
          [Indexed]
          [Workspace]
          GeneralLedgerAccount[] GeneralLedgerAccounts { get; set; }
  
          #region Allors
          [Id("859d95c2-7321-4408-bcd1-405dc0b31efc")]
          [AssociationId("47674006-74f4-497e-b9b6-1d5cff1ada0f")]
          [RoleId("0dc922be-86d0-469e-a9d2-5bf19a910994")]
          #endregion
          [Multiplicity(Multiplicity.OneToOne)]
          [Indexed]
          [Workspace]
          Counter AccountingTransactionCounter { get; set; }
  
          #region Allors
          [Id("89f4907d-4a10-428d-9e6b-ef9fb045c019")]
          [AssociationId("a0fd3167-5d4e-400f-b593-1497fce5d024")]
          [RoleId("0ab03957-8140-4e1c-8a13-a9647f6c9e47")]
          #endregion
          [Multiplicity(Multiplicity.ManyToOne)]
          [Indexed]
          [Workspace]
  
gt:         GeneralLedgerAccount RetainedEarningsAccount { get; set; }