         self.customerOrders = customerOrders
         self.supplies = supplies
         self.commitentSum = commitentSum
+        super.init(attributes: attributes)
     }
 }


import Foundation

public class MSDocument: MSBaseDocumentType, MSGeneralDocument, MSCustomerOrderType, MSDemandType,
                        MSInvoiceOutType, MSInvoiceInType, MSMoneyDocumentType, MSCashInType, MSCashOutType,
                        MSPaymentInType, MSPaymentOutType, MSProcurementType, MSSupplyType, MSRetailShiftType {
    // MSBaseDocumentType

    public var shared : Bool
    public var applicable : Bool
    public var state : MSEntity<MSState>?
    public var originalApplicable: Bool
    public var stateContractId: String?
    
