-
Notifications
You must be signed in to change notification settings - Fork 0
/
sapES5POApprovalmetadata.xml
126 lines (126 loc) · 10.2 KB
/
sapES5POApprovalmetadata.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData" Version="1.0">
<edmx:Reference xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Uri="https://sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_COMMON',Version='0001',SAP__Origin='')/$value">
<edmx:Include Namespace="com.sap.vocabularies.Common.v1" Alias="Common"/>
</edmx:Reference>
<edmx:Reference xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Uri="https://sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_UI',Version='0001',SAP__Origin='')/$value">
<edmx:Include Namespace="com.sap.vocabularies.UI.v1" Alias="UI"/>
</edmx:Reference>
<edmx:DataServices m:DataServiceVersion="2.0">
<Schema xmlns="http://schemas.microsoft.com/ado/2008/09/edm" Namespace="SEPMRA_PO_APV" xml:lang="en" sap:schema-version="1">
<EntityType Name="PurchaseOrder" sap:is-thing-type="true" sap:content-version="1">
<Key>
<PropertyRef Name="POId"/>
</Key>
<Property Name="ChangedAt" Type="Edm.DateTime" Precision="7" sap:label="Last Changed" sap:creatable="false" sap:updatable="false"/>
<Property Name="ProductId" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="Product" sap:creatable="false" sap:updatable="false" sap:sortable="false"/>
<Property Name="CurrencyCode" Type="Edm.String" Nullable="false" MaxLength="5" sap:label="Currency Code" sap:creatable="false" sap:updatable="false" sap:semantics="currency-code"/>
<Property Name="DeliveryAddress" Type="Edm.String" Nullable="false" MaxLength="129" sap:label="Delivery Address" sap:creatable="false" sap:updatable="false"/>
<Property Name="DeliveryDateEarliest" Type="Edm.DateTime" Precision="7" sap:label="Delivery Date" sap:creatable="false" sap:updatable="false"/>
<Property Name="GrossAmount" Type="Edm.Decimal" Nullable="false" Precision="15" Scale="2" sap:unit="CurrencyCode" sap:label="Gross Amount" sap:creatable="false" sap:updatable="false"/>
<Property Name="ItemCount" Type="Edm.Int32" Nullable="false" sap:label="Item Count" sap:creatable="false" sap:updatable="false"/>
<Property Name="LaterDelivDateExist" Type="Edm.Boolean" Nullable="false" sap:label="Later Delivery Date" sap:creatable="false" sap:updatable="false"/>
<Property Name="OrderedByName" Type="Edm.String" Nullable="false" MaxLength="81" sap:label="Ordered By" sap:creatable="false" sap:updatable="false"/>
<Property Name="POId" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="Purchase Order ID" sap:creatable="false" sap:updatable="false"/>
<Property Name="SupplierName" Type="Edm.String" Nullable="false" MaxLength="80" sap:label="Supplier" sap:creatable="false" sap:updatable="false"/>
<NavigationProperty Name="PurchaseOrderItems" Relationship="SEPMRA_PO_APV.PurchaseOrderPurchaseOrderItem" FromRole="FromRole_PurchaseOrderPurchaseOrderItem" ToRole="ToRole_PurchaseOrderPurchaseOrderItem"/>
</EntityType>
<EntityType Name="PurchaseOrderItem" sap:content-version="1">
<Key>
<PropertyRef Name="POId"/>
<PropertyRef Name="POItemPos"/>
</Key>
<Property Name="DeliveryDate" Type="Edm.DateTime" Nullable="false" Precision="7" sap:label="Delivery Time" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>
<Property Name="GrossAmount" Type="Edm.Decimal" Nullable="false" Precision="16" Scale="3" sap:unit="GrossAmountCurrency" sap:label="Gross Amount" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>
<Property Name="GrossAmountCurrency" Type="Edm.String" Nullable="false" MaxLength="5" sap:label="Currency Code" sap:creatable="false" sap:updatable="false" sap:filterable="false" sap:semantics="currency-code"/>
<Property Name="POId" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="Purchase Order ID" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>
<Property Name="POItemPos" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="Item Position" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>
<Property Name="Price" Type="Edm.Decimal" Nullable="false" Precision="15" Scale="2" sap:unit="PriceCurrency" sap:label="Price" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>
<Property Name="PriceCurrency" Type="Edm.String" Nullable="false" MaxLength="5" sap:label="Currency Code" sap:creatable="false" sap:updatable="false" sap:filterable="false" sap:semantics="currency-code"/>
<Property Name="Product" Type="Edm.String" Nullable="false" MaxLength="255" sap:label="Product" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>
<Property Name="Quantity" Type="Edm.Int32" Nullable="false" sap:label="Quantity" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>
<Property Name="QuantityUnit" Type="Edm.String" Nullable="false" MaxLength="3" sap:label="Unit of Measure" sap:creatable="false" sap:updatable="false" sap:filterable="false" sap:semantics="unit-of-measure"/>
</EntityType>
<ComplexType Name="BudgetReductionResult">
<Property Name="OverallBudget" Type="Edm.Decimal" Nullable="false" Precision="16" Scale="2" sap:unit="Currency" sap:label="Overall Budget" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false"/>
<Property Name="RemainingBudget" Type="Edm.Decimal" Nullable="false" Precision="16" Scale="2" sap:unit="Currency" sap:label="Remaining Budget" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false"/>
<Property Name="TotalApprovedAmount" Type="Edm.Decimal" Nullable="false" Precision="16" Scale="2" sap:unit="Currency" sap:label="Total Approved PO Amount" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false"/>
<Property Name="Currency" Type="Edm.String" Nullable="false" MaxLength="5" sap:label="Currency" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false" sap:semantics="currency-code"/>
</ComplexType>
<ComplexType Name="FunctionImportResult">
<Property Name="Success" Type="Edm.Boolean" Nullable="false" sap:label="Boolean Variable (X=true, -=false, space=unknown)" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false"/>
</ComplexType>
<Association Name="PurchaseOrderPurchaseOrderItem" sap:content-version="1">
<End Type="SEPMRA_PO_APV.PurchaseOrder" Multiplicity="1" Role="FromRole_PurchaseOrderPurchaseOrderItem"/>
<End Type="SEPMRA_PO_APV.PurchaseOrderItem" Multiplicity="*" Role="ToRole_PurchaseOrderPurchaseOrderItem"/>
<ReferentialConstraint>
<Principal Role="FromRole_PurchaseOrderPurchaseOrderItem">
<PropertyRef Name="POId"/>
</Principal>
<Dependent Role="ToRole_PurchaseOrderPurchaseOrderItem">
<PropertyRef Name="POId"/>
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="SEPMRA_PO_APV_Entities" m:IsDefaultEntityContainer="true" sap:supported-formats="atom json xlsx">
<EntitySet Name="PurchaseOrders" EntityType="SEPMRA_PO_APV.PurchaseOrder" sap:label="Purchase Orders" sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:searchable="true" sap:content-version="1"/>
<EntitySet Name="PurchaseOrderItems" EntityType="SEPMRA_PO_APV.PurchaseOrderItem" sap:label="Purchase Order Items" sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:searchable="true" sap:content-version="1"/>
<AssociationSet Name="PurchaseOrderPurchaseOrderItemSet" Association="SEPMRA_PO_APV.PurchaseOrderPurchaseOrderItem" sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:content-version="1">
<End EntitySet="PurchaseOrders" Role="FromRole_PurchaseOrderPurchaseOrderItem"/>
<End EntitySet="PurchaseOrderItems" Role="ToRole_PurchaseOrderPurchaseOrderItem"/>
</AssociationSet>
<FunctionImport Name="ApprovePurchaseOrder" ReturnType="SEPMRA_PO_APV.FunctionImportResult" m:HttpMethod="POST" sap:label="Approve Purchase Order with optional note">
<Parameter Name="POId" Type="Edm.String" Mode="In" MaxLength="10"/>
<Parameter Name="Note" Type="Edm.String" Mode="In" MaxLength="255"/>
</FunctionImport>
<FunctionImport Name="RejectPurchaseOrder" ReturnType="SEPMRA_PO_APV.FunctionImportResult" m:HttpMethod="POST" sap:label="Reject Purchase Order with optional note">
<Parameter Name="POId" Type="Edm.String" Mode="In" MaxLength="10"/>
<Parameter Name="Note" Type="Edm.String" Mode="In" MaxLength="255"/>
</FunctionImport>
<FunctionImport Name="SimulateBudgetReduction" ReturnType="SEPMRA_PO_APV.BudgetReductionResult" m:HttpMethod="POST" sap:label="Calculate the budget reduction caused by a list of POs">
<Parameter Name="POIds" Type="Edm.String" Mode="In"/>
</FunctionImport>
</EntityContainer>
<Annotations xmlns="http://docs.oasis-open.org/odata/ns/edm" Target="SEPMRA_PO_APV.PurchaseOrder">
<Annotation Term="Common.SemanticObject" String="EPMPurchaseOrder"/>
<Annotation Term="UI.HeaderInfo">
<Record>
<PropertyValue Property="TypeName" String="Purchase Order"/>
<PropertyValue Property="TypeNamePlural" String="Purchase Orders"/>
<PropertyValue Property="Title">
<Record Type="UI.DataField">
<PropertyValue Property="Value" Path="SupplierName"/>
</Record>
</PropertyValue>
<PropertyValue Property="Description">
<Record Type="UI.DataField">
<PropertyValue Property="Value" Path="POId"/>
</Record>
</PropertyValue>
<PropertyValue Property="TypeImageUrl" String="sap-icon://Fiori6/F0138"/>
</Record>
</Annotation>
</Annotations>
<Annotations xmlns="http://docs.oasis-open.org/odata/ns/edm" Target="SEPMRA_PO_APV.PurchaseOrderItem">
<Annotation Term="UI.HeaderInfo">
<Record>
<PropertyValue Property="TypeName" String="Purchase Order Item"/>
<PropertyValue Property="TypeNamePlural" String="Purchase Order Items"/>
<PropertyValue Property="Title">
<Record Type="UI.DataField">
<PropertyValue Property="Value" Path="Product"/>
</Record>
</PropertyValue>
<PropertyValue Property="Description">
<Record Type="UI.DataField">
<PropertyValue Property="Value" Path="GrossAmount"/>
</Record>
</PropertyValue>
<PropertyValue Property="TypeImageUrl" String="sap-icon://sales-order-item"/>
</Record>
</Annotation>
</Annotations>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" href="https://sapes5.sapdevcenter.com/sap/opu/odata/sap/SEPMRA_PO_APV/$metadata"/>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="latest-version" href="https://sapes5.sapdevcenter.com/sap/opu/odata/sap/SEPMRA_PO_APV/$metadata"/>
</Schema>
</edmx:DataServices>
</edmx:Edmx>