{
    "definitions": {
        "API_PURCHASEORDER_PROCESS_SRV": {
            "kind": "service"
        },
        "API_PURCHASEORDER_PROCESS_SRV.A_POSubcontractingComponent": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "PurchaseOrder": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "PurchaseOrderItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 5
                },
                "ScheduleLine": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "ReservationItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "RecordType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 1
                },
                "Material": {
                    "type": "cds.String",
                    "length": 40
                },
                "BOMItemDescription": {
                    "type": "cds.String",
                    "length": 40
                },
                "RequiredQuantity": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "BaseUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "RequirementDate": {
                    "type": "cds.Date"
                },
                "QuantityInEntryUnit": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "EntryUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "WithdrawnQuantity": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "Plant": {
                    "type": "cds.String",
                    "length": 4
                },
                "Batch": {
                    "type": "cds.String",
                    "length": 10
                }
            }
        },
        "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrder": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "PurchaseOrder": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "CompanyCode": {
                    "type": "cds.String",
                    "length": 4
                },
                "PurchaseOrderType": {
                    "type": "cds.String",
                    "length": 4
                },
                "PurchasingDocumentDeletionCode": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurchasingProcessingStatus": {
                    "type": "cds.String",
                    "length": 2
                },
                "CreatedByUser": {
                    "type": "cds.String",
                    "length": 12
                },
                "CreationDate": {
                    "type": "cds.Date"
                },
                "LastChangeDateTime": {
                    "type": "cds.Timestamp"
                },
                "Supplier": {
                    "type": "cds.String",
                    "length": 10
                },
                "PurchaseOrderSubtype": {
                    "type": "cds.String",
                    "length": 1
                },
                "Language": {
                    "type": "cds.String",
                    "length": 2
                },
                "PaymentTerms": {
                    "type": "cds.String",
                    "length": 4
                },
                "CashDiscount1Days": {
                    "type": "cds.Decimal",
                    "precision": 3,
                    "scale": 0
                },
                "CashDiscount2Days": {
                    "type": "cds.Decimal",
                    "precision": 3,
                    "scale": 0
                },
                "NetPaymentDays": {
                    "type": "cds.Decimal",
                    "precision": 3,
                    "scale": 0
                },
                "CashDiscount1Percent": {
                    "type": "cds.Decimal",
                    "precision": 5,
                    "scale": 3
                },
                "CashDiscount2Percent": {
                    "type": "cds.Decimal",
                    "precision": 5,
                    "scale": 3
                },
                "PurchasingOrganization": {
                    "type": "cds.String",
                    "length": 4
                },
                "PurchasingDocumentOrigin": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurchasingGroup": {
                    "type": "cds.String",
                    "length": 3
                },
                "PurchaseOrderDate": {
                    "type": "cds.Date"
                },
                "DocumentCurrency": {
                    "type": "cds.String",
                    "length": 5
                },
                "ExchangeRate": {
                    "type": "cds.String",
                    "length": 12
                },
                "ExchangeRateIsFixed": {
                    "type": "cds.Boolean"
                },
                "ValidityStartDate": {
                    "type": "cds.Date"
                },
                "ValidityEndDate": {
                    "type": "cds.Date"
                },
                "SupplierQuotationExternalID": {
                    "type": "cds.String",
                    "length": 10
                },
                "SupplierRespSalesPersonName": {
                    "type": "cds.String",
                    "length": 30
                },
                "SupplierPhoneNumber": {
                    "type": "cds.String",
                    "length": 16
                },
                "SupplyingSupplier": {
                    "type": "cds.String",
                    "length": 10
                },
                "SupplyingPlant": {
                    "type": "cds.String",
                    "length": 4
                },
                "IncotermsClassification": {
                    "type": "cds.String",
                    "length": 3
                },
                "CorrespncExternalReference": {
                    "type": "cds.String",
                    "length": 12
                },
                "CorrespncInternalReference": {
                    "type": "cds.String",
                    "length": 12
                },
                "InvoicingParty": {
                    "type": "cds.String",
                    "length": 10
                },
                "ReleaseIsNotCompleted": {
                    "type": "cds.Boolean"
                },
                "PurchasingCompletenessStatus": {
                    "type": "cds.Boolean"
                },
                "IncotermsVersion": {
                    "type": "cds.String",
                    "length": 4
                },
                "IncotermsLocation1": {
                    "type": "cds.String",
                    "length": 70
                },
                "IncotermsLocation2": {
                    "type": "cds.String",
                    "length": 70
                },
                "ManualSupplierAddressID": {
                    "type": "cds.String",
                    "length": 10
                },
                "IsEndOfPurposeBlocked": {
                    "type": "cds.String",
                    "length": 1
                },
                "AddressCityName": {
                    "type": "cds.String",
                    "length": 40
                },
                "AddressFaxNumber": {
                    "type": "cds.String",
                    "length": 30
                },
                "AddressHouseNumber": {
                    "type": "cds.String",
                    "length": 10
                },
                "AddressName": {
                    "type": "cds.String",
                    "length": 40
                },
                "AddressPostalCode": {
                    "type": "cds.String",
                    "length": 10
                },
                "AddressStreetName": {
                    "type": "cds.String",
                    "length": 60
                },
                "AddressPhoneNumber": {
                    "type": "cds.String",
                    "length": 30
                },
                "AddressRegion": {
                    "type": "cds.String",
                    "length": 3
                },
                "AddressCountry": {
                    "type": "cds.String",
                    "length": 3
                },
                "AddressCorrespondenceLanguage": {
                    "type": "cds.String",
                    "length": 2
                },
                "PurgAggrgdProdCmplncSuplrSts": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurgAggrgdProdMarketabilitySts": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurgAggrgdSftyDataSheetStatus": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurgProdCmplncTotDngrsGoodsSts": {
                    "type": "cds.String",
                    "length": 1
                },
                "to_PurchaseOrderItem": {
                    "type": "cds.Association",
                    "target": "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderItem",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_PurchaseOrderItem",
                                "PurchaseOrder"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrder"
                            ]
                        }
                    ]
                },
                "to_PurchaseOrderNote": {
                    "type": "cds.Association",
                    "target": "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderNote",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_PurchaseOrderNote",
                                "PurchaseOrder"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrder"
                            ]
                        }
                    ]
                }
            }
        },
        "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderItem": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "PurchaseOrder": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "PurchaseOrderItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 5
                },
                "PurchasingDocumentDeletionCode": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurchaseOrderItemText": {
                    "type": "cds.String",
                    "length": 40
                },
                "Plant": {
                    "type": "cds.String",
                    "length": 4
                },
                "StorageLocation": {
                    "type": "cds.String",
                    "length": 4
                },
                "MaterialGroup": {
                    "type": "cds.String",
                    "length": 9
                },
                "PurchasingInfoRecord": {
                    "type": "cds.String",
                    "length": 10
                },
                "SupplierMaterialNumber": {
                    "type": "cds.String",
                    "length": 35
                },
                "OrderQuantity": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "PurchaseOrderQuantityUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "OrderPriceUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "OrderPriceUnitToOrderUnitNmrtr": {
                    "type": "cds.Decimal",
                    "precision": 5,
                    "scale": 0
                },
                "OrdPriceUnitToOrderUnitDnmntr": {
                    "type": "cds.Decimal",
                    "precision": 5,
                    "scale": 0
                },
                "DocumentCurrency": {
                    "type": "cds.String",
                    "length": 5
                },
                "NetPriceAmount": {
                    "type": "cds.Decimal",
                    "precision": 12,
                    "scale": 3
                },
                "NetPriceQuantity": {
                    "type": "cds.Decimal",
                    "precision": 5,
                    "scale": 0
                },
                "TaxCode": {
                    "type": "cds.String",
                    "length": 2
                },
                "ShippingInstruction": {
                    "type": "cds.String",
                    "length": 2
                },
                "TaxDeterminationDate": {
                    "type": "cds.Date"
                },
                "TaxCountry": {
                    "type": "cds.String",
                    "length": 3
                },
                "PriceIsToBePrinted": {
                    "type": "cds.Boolean"
                },
                "OverdelivTolrtdLmtRatioInPct": {
                    "type": "cds.Decimal",
                    "precision": 3,
                    "scale": 1
                },
                "UnlimitedOverdeliveryIsAllowed": {
                    "type": "cds.Boolean"
                },
                "UnderdelivTolrtdLmtRatioInPct": {
                    "type": "cds.Decimal",
                    "precision": 3,
                    "scale": 1
                },
                "ValuationType": {
                    "type": "cds.String",
                    "length": 10
                },
                "IsCompletelyDelivered": {
                    "type": "cds.Boolean"
                },
                "IsFinallyInvoiced": {
                    "type": "cds.Boolean"
                },
                "PurchaseOrderItemCategory": {
                    "type": "cds.String",
                    "length": 1
                },
                "AccountAssignmentCategory": {
                    "type": "cds.String",
                    "length": 1
                },
                "MultipleAcctAssgmtDistribution": {
                    "type": "cds.String",
                    "length": 1
                },
                "PartialInvoiceDistribution": {
                    "type": "cds.String",
                    "length": 1
                },
                "GoodsReceiptIsExpected": {
                    "type": "cds.Boolean"
                },
                "GoodsReceiptIsNonValuated": {
                    "type": "cds.Boolean"
                },
                "InvoiceIsExpected": {
                    "type": "cds.Boolean"
                },
                "InvoiceIsGoodsReceiptBased": {
                    "type": "cds.Boolean"
                },
                "PurchaseContract": {
                    "type": "cds.String",
                    "length": 10
                },
                "PurchaseContractItem": {
                    "type": "cds.String",
                    "length": 5
                },
                "Customer": {
                    "type": "cds.String",
                    "length": 10
                },
                "Subcontractor": {
                    "type": "cds.String",
                    "length": 10
                },
                "SupplierIsSubcontractor": {
                    "type": "cds.Boolean"
                },
                "ItemNetWeight": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "ItemWeightUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "TaxJurisdiction": {
                    "type": "cds.String",
                    "length": 15
                },
                "PricingDateControl": {
                    "type": "cds.String",
                    "length": 1
                },
                "ItemVolume": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "ItemVolumeUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "SupplierConfirmationControlKey": {
                    "type": "cds.String",
                    "length": 4
                },
                "IncotermsClassification": {
                    "type": "cds.String",
                    "length": 3
                },
                "IncotermsTransferLocation": {
                    "type": "cds.String",
                    "length": 28
                },
                "EvaldRcptSettlmtIsAllowed": {
                    "type": "cds.Boolean"
                },
                "PurchaseRequisition": {
                    "type": "cds.String",
                    "length": 10
                },
                "PurchaseRequisitionItem": {
                    "type": "cds.String",
                    "length": 5
                },
                "IsReturnsItem": {
                    "type": "cds.Boolean"
                },
                "RequisitionerName": {
                    "type": "cds.String",
                    "length": 12
                },
                "ServicePackage": {
                    "type": "cds.String",
                    "length": 10
                },
                "EarmarkedFunds": {
                    "type": "cds.String",
                    "length": 10
                },
                "EarmarkedFundsDocument": {
                    "type": "cds.String",
                    "length": 10
                },
                "EarmarkedFundsItem": {
                    "type": "cds.String",
                    "length": 3
                },
                "EarmarkedFundsDocumentItem": {
                    "type": "cds.String",
                    "length": 3
                },
                "IncotermsLocation1": {
                    "type": "cds.String",
                    "length": 70
                },
                "IncotermsLocation2": {
                    "type": "cds.String",
                    "length": 70
                },
                "Material": {
                    "type": "cds.String",
                    "length": 40
                },
                "InternationalArticleNumber": {
                    "type": "cds.String",
                    "length": 18
                },
                "ManufacturerMaterial": {
                    "type": "cds.String",
                    "length": 40
                },
                "ServicePerformer": {
                    "type": "cds.String",
                    "length": 10
                },
                "ProductType": {
                    "type": "cds.String",
                    "length": 2
                },
                "ExpectedOverallLimitAmount": {
                    "type": "cds.Decimal",
                    "precision": 14,
                    "scale": 3
                },
                "OverallLimitAmount": {
                    "type": "cds.Decimal",
                    "precision": 14,
                    "scale": 3
                },
                "PurContractForOverallLimit": {
                    "type": "cds.String",
                    "length": 10
                },
                "PurchasingParentItem": {
                    "type": "cds.String",
                    "length": 5
                },
                "PurgConfigurableItemNumber": {
                    "type": "cds.String",
                    "length": 40
                },
                "PurgDocAggrgdSubitemCategory": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurgDocSubitemCategory": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurgExternalSortNumber": {
                    "type": "cds.String",
                    "length": 5
                },
                "ReferenceDeliveryAddressID": {
                    "type": "cds.String",
                    "length": 10
                },
                "DeliveryAddressID": {
                    "type": "cds.String",
                    "length": 10
                },
                "DeliveryAddressName": {
                    "type": "cds.String",
                    "length": 40
                },
                "DeliveryAddressName2": {
                    "type": "cds.String",
                    "length": 40
                },
                "DeliveryAddressFullName": {
                    "type": "cds.String",
                    "length": 80
                },
                "DeliveryAddressStreetName": {
                    "type": "cds.String",
                    "length": 60
                },
                "DeliveryAddressHouseNumber": {
                    "type": "cds.String",
                    "length": 10
                },
                "DeliveryAddressCityName": {
                    "type": "cds.String",
                    "length": 40
                },
                "DeliveryAddressPostalCode": {
                    "type": "cds.String",
                    "length": 10
                },
                "DeliveryAddressRegion": {
                    "type": "cds.String",
                    "length": 3
                },
                "DeliveryAddressCountry": {
                    "type": "cds.String",
                    "length": 3
                },
                "DeliveryAddressDistrictName": {
                    "type": "cds.String",
                    "length": 40
                },
                "DownPaymentType": {
                    "type": "cds.String",
                    "length": 4
                },
                "DownPaymentPercentageOfTotAmt": {
                    "type": "cds.Decimal",
                    "precision": 5,
                    "scale": 2
                },
                "DownPaymentAmount": {
                    "type": "cds.Decimal",
                    "precision": 12,
                    "scale": 3
                },
                "DownPaymentDueDate": {
                    "type": "cds.Date"
                },
                "BR_MaterialUsage": {
                    "type": "cds.String",
                    "length": 1
                },
                "BR_MaterialOrigin": {
                    "type": "cds.String",
                    "length": 1
                },
                "BR_CFOPCategory": {
                    "type": "cds.String",
                    "length": 2
                },
                "BR_IsProducedInHouse": {
                    "type": "cds.Boolean"
                },
                "ConsumptionTaxCtrlCode": {
                    "type": "cds.String",
                    "length": 16
                },
                "PurgProdCmplncSupplierStatus": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurgProductMarketabilityStatus": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurgSafetyDataSheetStatus": {
                    "type": "cds.String",
                    "length": 1
                },
                "PurgProdCmplncDngrsGoodsStatus": {
                    "type": "cds.String",
                    "length": 1
                },
                "to_PurchaseOrder": {
                    "type": "cds.Association",
                    "target": "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrder",
                    "on": [
                        {
                            "ref": [
                                "to_PurchaseOrder",
                                "PurchaseOrder"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrder"
                            ]
                        }
                    ]
                },
                "to_AccountAssignment": {
                    "type": "cds.Association",
                    "target": "API_PURCHASEORDER_PROCESS_SRV.A_PurOrdAccountAssignment",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_AccountAssignment",
                                "PurchaseOrderItem"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrderItem"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_AccountAssignment",
                                "PurchaseOrder"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrder"
                            ]
                        }
                    ]
                },
                "to_PurchaseOrderItemNote": {
                    "type": "cds.Association",
                    "target": "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderItemNote",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_PurchaseOrderItemNote",
                                "PurchaseOrderItem"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrderItem"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_PurchaseOrderItemNote",
                                "PurchaseOrder"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrder"
                            ]
                        }
                    ]
                },
                "to_PurchaseOrderPricingElement": {
                    "type": "cds.Association",
                    "target": "API_PURCHASEORDER_PROCESS_SRV.A_PurOrdPricingElement",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_PurchaseOrderPricingElement",
                                "PurchaseOrderItem"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrderItem"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_PurchaseOrderPricingElement",
                                "PurchaseOrder"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrder"
                            ]
                        }
                    ]
                },
                "to_ScheduleLine": {
                    "type": "cds.Association",
                    "target": "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderScheduleLine",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_ScheduleLine",
                                "PurchasingDocumentItem"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrderItem"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_ScheduleLine",
                                "PurchasingDocument"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchaseOrder"
                            ]
                        }
                    ]
                }
            }
        },
        "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderItemNote": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "PurchaseOrder": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "PurchaseOrderItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 5
                },
                "TextObjectType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "Language": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "PlainLongText": {
                    "type": "cds.LargeString"
                }
            }
        },
        "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderNote": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "PurchaseOrder": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "TextObjectType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "Language": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "PlainLongText": {
                    "type": "cds.LargeString"
                }
            }
        },
        "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderScheduleLine": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "PurchasingDocument": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "PurchasingDocumentItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 5
                },
                "ScheduleLine": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "DelivDateCategory": {
                    "type": "cds.String",
                    "length": 1
                },
                "ScheduleLineDeliveryDate": {
                    "type": "cds.Date"
                },
                "PurchaseOrderQuantityUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "ScheduleLineOrderQuantity": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "ScheduleLineDeliveryTime": {
                    "type": "cds.Time"
                },
                "SchedLineStscDeliveryDate": {
                    "type": "cds.Date"
                },
                "PurchaseRequisition": {
                    "type": "cds.String",
                    "length": 10
                },
                "PurchaseRequisitionItem": {
                    "type": "cds.String",
                    "length": 5
                },
                "ScheduleLineCommittedQuantity": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "PerformancePeriodStartDate": {
                    "type": "cds.Date"
                },
                "PerformancePeriodEndDate": {
                    "type": "cds.Date"
                },
                "to_SubcontractingComponent": {
                    "type": "cds.Association",
                    "target": "API_PURCHASEORDER_PROCESS_SRV.A_POSubcontractingComponent",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_SubcontractingComponent",
                                "ScheduleLine"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "ScheduleLine"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_SubcontractingComponent",
                                "PurchaseOrderItem"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchasingDocumentItem"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_SubcontractingComponent",
                                "PurchaseOrder"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "PurchasingDocument"
                            ]
                        }
                    ]
                }
            }
        },
        "API_PURCHASEORDER_PROCESS_SRV.A_PurOrdAccountAssignment": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "PurchaseOrder": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "PurchaseOrderItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 5
                },
                "AccountAssignmentNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "IsDeleted": {
                    "type": "cds.Boolean"
                },
                "PurchaseOrderQuantityUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "Quantity": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "MultipleAcctAssgmtDistrPercent": {
                    "type": "cds.Decimal",
                    "precision": 3,
                    "scale": 1
                },
                "DocumentCurrency": {
                    "type": "cds.String",
                    "length": 5
                },
                "PurgDocNetAmount": {
                    "type": "cds.Decimal",
                    "precision": 14,
                    "scale": 3
                },
                "GLAccount": {
                    "type": "cds.String",
                    "length": 10
                },
                "BusinessArea": {
                    "type": "cds.String",
                    "length": 4
                },
                "CostCenter": {
                    "type": "cds.String",
                    "length": 10
                },
                "SalesOrder": {
                    "type": "cds.String",
                    "length": 10
                },
                "SalesOrderItem": {
                    "type": "cds.String",
                    "length": 6
                },
                "SalesOrderScheduleLine": {
                    "type": "cds.String",
                    "length": 4
                },
                "MasterFixedAsset": {
                    "type": "cds.String",
                    "length": 12
                },
                "FixedAsset": {
                    "type": "cds.String",
                    "length": 4
                },
                "GoodsRecipientName": {
                    "type": "cds.String",
                    "length": 12
                },
                "UnloadingPointName": {
                    "type": "cds.String",
                    "length": 25
                },
                "ControllingArea": {
                    "type": "cds.String",
                    "length": 4
                },
                "CostObject": {
                    "type": "cds.String",
                    "length": 12
                },
                "OrderID": {
                    "type": "cds.String",
                    "length": 12
                },
                "ProfitCenter": {
                    "type": "cds.String",
                    "length": 10
                },
                "WBSElementInternalID": {
                    "type": "cds.String",
                    "length": 24
                },
                "WBSElement": {
                    "type": "cds.String",
                    "length": 24
                },
                "WBSElementExternalID": {
                    "type": "cds.String",
                    "length": 24
                },
                "ProjectNetwork": {
                    "type": "cds.String",
                    "length": 12
                },
                "RealEstateObject": {
                    "type": "cds.String",
                    "length": 40
                },
                "PartnerAccountNumber": {
                    "type": "cds.String",
                    "length": 10
                },
                "CommitmentItem": {
                    "type": "cds.String",
                    "length": 24
                },
                "JointVentureRecoveryCode": {
                    "type": "cds.String",
                    "length": 2
                },
                "FundsCenter": {
                    "type": "cds.String",
                    "length": 16
                },
                "Fund": {
                    "type": "cds.String",
                    "length": 10
                },
                "FunctionalArea": {
                    "type": "cds.String",
                    "length": 16
                },
                "SettlementReferenceDate": {
                    "type": "cds.Date"
                },
                "TaxCode": {
                    "type": "cds.String",
                    "length": 2
                },
                "TaxJurisdiction": {
                    "type": "cds.String",
                    "length": 15
                },
                "CostCtrActivityType": {
                    "type": "cds.String",
                    "length": 6
                },
                "BusinessProcess": {
                    "type": "cds.String",
                    "length": 12
                },
                "EarmarkedFundsDocument": {
                    "type": "cds.String",
                    "length": 10
                },
                "GrantID": {
                    "type": "cds.String",
                    "length": 20
                },
                "BudgetPeriod": {
                    "type": "cds.String",
                    "length": 10
                }
            }
        },
        "API_PURCHASEORDER_PROCESS_SRV.A_PurOrdPricingElement": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "PurchaseOrder": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "PurchaseOrderItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 5
                },
                "PricingDocument": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "PricingDocumentItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 6
                },
                "PricingProcedureStep": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "PricingProcedureCounter": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "ConditionType": {
                    "type": "cds.String",
                    "length": 4
                },
                "ConditionRateValue": {
                    "type": "cds.Decimal",
                    "precision": 24,
                    "scale": 9
                },
                "ConditionCurrency": {
                    "type": "cds.String",
                    "length": 5
                },
                "PriceDetnExchangeRate": {
                    "type": "cds.String",
                    "length": 12
                },
                "TransactionCurrency": {
                    "type": "cds.String",
                    "length": 5
                },
                "ConditionAmount": {
                    "type": "cds.Decimal",
                    "precision": 16,
                    "scale": 3
                },
                "ConditionQuantityUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "ConditionQuantity": {
                    "type": "cds.Decimal",
                    "precision": 5,
                    "scale": 0
                },
                "ConditionApplication": {
                    "type": "cds.String",
                    "length": 2
                },
                "PricingDateTime": {
                    "type": "cds.String",
                    "length": 14
                },
                "ConditionCalculationType": {
                    "type": "cds.String",
                    "length": 3
                },
                "ConditionBaseValue": {
                    "type": "cds.Decimal",
                    "precision": 24,
                    "scale": 9
                },
                "ConditionToBaseQtyNmrtr": {
                    "type": "cds.Decimal",
                    "precision": 10,
                    "scale": 0
                },
                "ConditionToBaseQtyDnmntr": {
                    "type": "cds.Decimal",
                    "precision": 10,
                    "scale": 0
                },
                "ConditionCategory": {
                    "type": "cds.String",
                    "length": 1
                },
                "ConditionIsForStatistics": {
                    "type": "cds.Boolean"
                },
                "PricingScaleType": {
                    "type": "cds.String",
                    "length": 1
                },
                "IsRelevantForAccrual": {
                    "type": "cds.Boolean"
                },
                "CndnIsRelevantForInvoiceList": {
                    "type": "cds.String",
                    "length": 1
                },
                "ConditionOrigin": {
                    "type": "cds.String",
                    "length": 1
                },
                "IsGroupCondition": {
                    "type": "cds.String",
                    "length": 1
                },
                "CndnIsRelevantForLimitValue": {
                    "type": "cds.Boolean"
                },
                "ConditionSequentialNumber": {
                    "type": "cds.String",
                    "length": 3
                },
                "ConditionControl": {
                    "type": "cds.String",
                    "length": 1
                },
                "ConditionInactiveReason": {
                    "type": "cds.String",
                    "length": 1
                },
                "ConditionClass": {
                    "type": "cds.String",
                    "length": 1
                },
                "FactorForConditionBasisValue": {
                    "type": "cds.Double"
                },
                "PricingScaleBasis": {
                    "type": "cds.String",
                    "length": 3
                },
                "ConditionScaleBasisValue": {
                    "type": "cds.Decimal",
                    "precision": 24,
                    "scale": 9
                },
                "ConditionScaleBasisCurrency": {
                    "type": "cds.String",
                    "length": 5
                },
                "ConditionScaleBasisUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "CndnIsRelevantForIntcoBilling": {
                    "type": "cds.Boolean"
                },
                "ConditionIsForConfiguration": {
                    "type": "cds.Boolean"
                },
                "ConditionIsManuallyChanged": {
                    "type": "cds.Boolean"
                },
                "ConditionRecord": {
                    "type": "cds.String",
                    "length": 10
                },
                "AccessNumberOfAccessSequence": {
                    "type": "cds.String",
                    "length": 3
                }
            }
        }
    }
}