Skip to content

SalesItemLineDetail.UnitPrice is not accepting Decimals #387

Description

@mohnish7

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions