Skip to content

Deleted contracts #20

@bvandervoorn

Description

@bvandervoorn

When a contract is deleted, it becomes a ghost record in the API. A contract without start or enddate.
I would like to change line 357, to make sure these ghost records don't enter HelloID.

My suggestion: ($.Enddate -as [datetime] -ge (Get-Date).AddDays(-$cutOffDays) -or ([string]::IsNullOrEmpty($.Enddate) -and -not [string]::IsNullOrEmpty($_.Startdate)) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions