cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Annotation with reference to unit code for field OPENQTYTOTALVALUE is missing

Please find the below screen shot.

0 Likes
View Entire Topic
rahulpippalla
Participant

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.