According to the documentation, UnitPrice should be a Decimal field, but I keep getting this error
Cannot assign to attribute "UnitPrice" for class "SalesItemLineDetail" Expression of type "float | Literal[0]" cannot be assigned to attribute "UnitPrice" of class "SalesItemLineDetail" Type "float | Literal[0]" is not assignable to type "int" "float" is not assignable to "int" (reportAttributeAccessIssue)