What this form does
This form creates or updates one affiliate deal row. It captures the PID, the active date window, the commercial terms, and the responsible person.
When to use it
- add a new contractual period for a PID
- correct dates or commercial terms on an existing deal
- set or change the responsible person for the row
How to read it
The form is intentionally short. It has two logical groups:
- scope: PID and date range
- commercial terms: fixed fee, CPA, revshare, and responsible person
Validation and operator rules
PIDis requiredStart Dateis requiredResponsible Personis required- at least one of
Fixed Fee,CPA, orRevSharemust be greater than0in the current form validation RevSharemust stay within0to100
Known caveats
- The edit page currently loads a large list and finds the selected row locally instead of reading that row directly first.
End Dateis optional. Leaving it empty makes the deal open-ended until a report-specific rule caps the effective period on report pages.Cancelreturns to the list page and does not save anything.- The positive commercial-term rule is enforced by the current form validation. Server-side validation enforces numeric ranges but does not enforce that cross-field rule by itself.