There are several different sequences that events fire, depending on how you enter data. I'm attempting to document that here.
Existing document - opened by manually changing the SOP Number on a Fulfillment doc
1. SOPNUMBER_VALIDATE
2. SOPTYPE_CHANGE (fulfillment to 5)
3. SOPNUMBER_CHANGE event (fulfillment, soptype=5)
4. CUSTOMERNUMBER_CHANGE event
5. SHIPTOADDRESSCODE_CHANGE (fulfillment, soptype = 5)
6. SOPTYPE_CHANGE (fulfillment to 6)
7. SOPNUMBER_CHANGE event (fulfillment, soptype=6)
8. SOPNUMBER_LEAVE event (fulfillment, soptype=6)
Scrolling through QUOTES using the VCR buttons at the bottom of the form
1. SOPNUMBER_LEAVE
2. SOPNUMBER_CHANGE (but it hasn't)
3. SOPNUMBER_CHANGE (this time it has)
4. SOPTYPE_CHANGE
5. SOPNUMBER_CHANGE (no change)
6. CUSTUMBER_CHANGE
7. SHIPTOADDRESSCODE_CHANGE
8. SOPTYPE_CHANGE
Scrolling through FULFILLMENTS using the VCR buttons at the bottom of the form
SOPNUMBER_CHANGE
SOPTYPE_CHANGE (6)
SOPTYPE_CHANGE (5)
SOPNUMBER_CHANGE (no change)
CUSTUMBER_CHANGE
SHIPTOADDRESSCODE_CHANGE
SOPTYPE_CHANGE (6)
New quote
CUSTNUMBER_VALIDATEBEFORE
ADRESSCODE_CHANGE
CUSTNUMBER_VALIDATEAFTER
CUSTNUMBER_CHANGE