Request clarification before answering.
Hello Durga Prasad,
This might help You out .
You need to add Unit of measure semantic to the quantity field as shown in the below code.
DEFINE VIEW SalesOrderItem as select from ...
{
@Semantics.currencyCode
currency_code as CurrencyCode,
@Semantics.amount.currencyCode: 'CurrencyCode'
gross_amount as GrossAmount,
@Semantics.unitOfMeasure
unit_of_measure as UnitOfMeasure,
@Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
quantity as Quantity,
}Regards,
Rahul Pippalla.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I see that you are trying to use quantity fields but haven't added any field for UoM. Please add a field for UoM and add 'Semantics.quantity.unitOfMeasure' annotation to specify this UoM field as reference field in your quantity fields.
Please refer:
Let me know if this helps.
Thanks,
Aman Garg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.