Azure / azure-sdk-for-sap-odata

This repository serves as foundation to power SAP OData SDK development for .NET
MIT License
7 stars 2 forks source link

[BUG] Missing data types used after generation for OData services Purchase Orders and Sales Orders #20

Open thzandvl opened 1 year ago

thzandvl commented 1 year ago

Is there an existing issue for this?

Type of issue

bug

Describe the bug

After using the generator to build objects for the OData services A_PURCHASEORDER_PROCESS_SRV and API_SALES_ORDER_SRV there are missing data types used in some of the type classes. For DataOperations.Data.API_PURCHASEORDER_PROCESS_SRV i.e.: A_PurchaseOrderItemType.cs For DataOperations.Data.API_SALES_ORDER_SRV i.e.: A_SalesOrderItemPrElementType.cs

Types missing are one of the following: Edm.Boolean Edm.Date Edm.TimeOfDay Edm.Double

Expected Behavior

Expectation is that either the Edm data types are referred to in the references. Or to convert these to data types that do exist in the SDK.

Steps To Reproduce

Run: .\DataOperations.Generator.OData.exe --inputfile C:\Generator\publishout\salesorder.xml --outputfolder C:\SDK --templatefolder C:\Generator\publishout\Templates --samples false Where salesorder.xml contains the metadata information for the Sales Order OData service API_SALES_ORDER_SRV

Similar command used for the Purchase Order OData service A_PURCHASEORDER_PROCESS_SRV.

Add screenshots to help explain your problem

No response

Additional context

No response