# Calculate Resupply Dates

> Perform Calculate Resupply Dates through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_calculate_resupply_dates](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_calculate_resupply_dates)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_calculate_resupply_dates`

- Connection type: `brightree`

## Inputs

- `carrier_name` — Carrier Name (expression)
  Optional literal value or workflow expression.
- `task_date_needed` — Task Date Needed (expression)
  Optional literal value or workflow expression.
- `scheduled_date` — Scheduled Date (expression)
  Optional literal value or workflow expression.
- `source_so_key` — Source So Key (expression)
  Optional literal value or workflow expression.

## Outputs

- `new_so_actual_date` — New So Actual Date
- `source_so_key` — Source So Key
- `new_so_scheduled_date` — New So Scheduled Date
- `next_task_date_needed` — Next Task Date Needed

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `read`
- Confirmation recommended: no
- Retry safe: yes
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "carrier_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "source_so_key": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "scheduled_date": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "task_date_needed": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "source_so_key": {},
    "new_so_actual_date": {},
    "new_so_scheduled_date": {},
    "next_task_date_needed": {}
  },
  "additionalProperties": true
}
```
