OrderEmployee
object type
The employee-discount attach. The position-5 evaluation converts it to source=employee LINE entries (the LAST pre-tax reduction); the percent is caller-supplied v1 under the LIVE discount.apply authority gate. EVERY orderType may carry it (the coupon posture); the User re-validates FRESH at PLACE.
Fields
| Field | Type | Notes |
|---|---|---|
userId | ID ID! | The verified employee User. |
percentPpm | Int Int! | The discount percent in integer ppm ((0, 1000000] — the SaleDiscount grammar; 20% = 200000). |