Skip to content

SalesItemLineDetail.ServiceDate populates with undesired value #357

@EgorChernik

Description

@EgorChernik

I faced an unexpected behavior:
Invoice.Line[0..n].SalesItemLineDetail.ServiceDate obtains weird value "9999-12-31"

I'm using version 0.9.7
When I create an invoice using this library I don't specify any value in ServiceDate in my Line items.
And it creates without any issue and shows invoice in UI correctly

Magic happens when I update something (in my particular case Invoice.TxnTaxDetail.TxnTaxCodeRef.value)
It populates ServiceDate under the hood in all SalesItemLineDetail lines which I think is incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions