Page body
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 than0 RevSharemust stay within0to100
Known caveats
- The edit page currently hydrates from the list hook in the FE instead of calling a dedicated detail hook first.
End Dateis optional. Leaving it empty makes the deal open-ended until another backend rule caps the effective period on reporting pages.Cancelreturns to the list page and does not save anything.
Verification status
- status:
verified_backend - FE validation checked in
AffiliateDealForm - backend create and update services checked in
CreateAffiliateDealServiceandUpdateAffiliateDealService