Page 1 of 1

Filter archived recurring jobs

Posted: Mon Feb 17, 2025 12:11 am
by caine
Pretty sure there used to be a field for Archived true/false.

Currently I can't see a way to filter by archived/non archived recurring jobs?
Or even to check once the jobs list has been received which are active/archived.

Code: Select all

{
  "ID": 12345,
  "Type": "Project",
  "Customer": {
    "ID": 12345,
    "CompanyName": "John Smith Pty Ltd",
    "GivenName": "John",
    "FamilyName": "Smith"
  },
  "Site": {
    "ID": 12345,
    "Name": "string"
  },
  "CustomerContact": {
    "ID": 0,
    "GivenName": "string",
    "FamilyName": "string"
  },
  "AdditionalContacts": [
    {
      "ID": 0,
      "GivenName": "string",
      "FamilyName": "string"
    }
  ],
  "SiteContact": {
    "ID": 0,
    "GivenName": "string",
    "FamilyName": "string"
  },
  "Name": "string",
  "OrderNo": "string",
  "Description": "string",
  "Notes": "string",
  "Tags": [
    {
      "ID": 12345,
      "Name": "string"
    }
  ],
  "RecurringStartDate": "2021-04-22",
  "NextRecurringDate": "2021-04-22",
  "RecurringQuantity": 0,
  "RecurringFrequency": "week",
  "Salesperson": {
    "ID": 123,
    "Name": "John Smith",
    "Type": "employee",
    "TypeId": 0
  },
  "ProjectManager": {
    "ID": 123,
    "Name": "John Smith",
    "Type": "employee",
    "TypeId": 0
  },
  "Technicians": [
    {
      "ID": 123,
      "Name": "John Smith"
    }
  ],
  "PricingTier": {
    "ID": 12345,
    "Name": "Tier 1 (Service name)",
    "DefaultMarkup": 10
  },
  "LaborOverhead": 1.57,
  "LaborType": {
    "ID": 12345,
    "Name": "string"
  },
  "LaborFitTime": {
    "ID": 12345,
    "Name": "string",
    "Multiplier": 1.57
  },
  "LabourTaxCode": {
    "ID": 12345,
    "Code": "GST",
    "Type": "Single",
    "Rate": 10
  },
  "MaterialMarkup": 0,
  "Total": {
    "ExTax": 1.57,
    "Tax": 1.57,
    "IncTax": 1.57
  },
  "Totals": {
    "MaterialsCost": {
      "Estimate": 1.57,
      "Revized": 1.57
    },
    "ResourcesCost": {
      "Total": {
        "Estimate": 1.57,
        "Revized": 1.57
      },
      "Labor": {
        "Estimate": 1.57,
        "Revized": 1.57
      },
      "LaborHours": {
        "Estimate": 1.57,
        "Revized": 1.57
      },
      "PlantAndEquipment": {
        "Estimate": 1.57,
        "Revized": 1.57
      },
      "PlantAndEquipmentHours": {
        "Estimate": 1.57,
        "Revized": 1.57
      },
      "Overhead": {
        "Estimate": 1.57,
        "Revized": 1.57
      }
    },
    "MaterialsMarkup": {
      "Estimate": 1.57,
      "Revized": 1.57
    },
    "ResourcesMarkup": {
      "Total": {
        "Estimate": 1.57,
        "Revized": 1.57
      },
      "Labor": {
        "Estimate": 1.57,
        "Revized": 1.57
      },
      "PlantAndEquipment": {
        "Estimate": 1.57,
        "Revized": 1.57
      }
    },
    "Adjusted": {
      "Estimate": 1.57,
      "Revized": 1.57
    },
    "Discount": 1.57,
    "GrossProfitLoss": {
      "Estimate": 1.57,
      "Revized": 1.57
    },
    "GrossMargin": {
      "Estimate": 1.57,
      "Revized": 1.57
    },
    "NettProfitLoss": {
      "Estimate": 1.57,
      "Revized": 1.57
    },
    "NettMargin": {
      "Estimate": 1.57,
      "Revized": 1.57
    }
  },
  "CustomFields": [
    {
      "CustomField": {
        "ID": 12345,
        "Name": "string",
        "Type": "List",
        "ListItems": [
          "string"
        ],
        "IsMandatory": true
      },
      "Value": "string"
    }
  ],
  "DateModified": "2018-05-21T19:53:39+10:00"
}

Re: Filter archived recurring jobs

Posted: Tue Feb 25, 2025 3:33 am
by caine
Just following up to see if there is a solution?

Re: Filter archived recurring jobs

Posted: Fri Feb 28, 2025 4:31 am
by SimproAPITeam
Hi Caine,
There is no easy way to see Archived/deleted recurring jobs through the API. I investigated this and I can not see any evidence of this having been available in our RestAPI previously.

Regards

Re: Filter archived recurring jobs

Posted: Sat Mar 01, 2025 12:57 am
by caine
The BI has an "Archived" field which is just a date or null.
Would it be possible to add this to the API, it makes sense for the recurring job list to be filterable by Archived/Non Archived just like the UI.

If we are to batch apply a 4% increase to all jobs then you'd only want this increase to be applied to active jobs.
If I wanted to get a list of all recurring jobs I'd need to know which of those are active.

Re: Filter archived recurring jobs

Posted: Fri Mar 07, 2025 5:11 am
by SimproAPITeam
Hi,
Please post this as a suggestion on product board and it will be evaluated for future development.

See link in Simpro premium help section.

Regards