I'm trying to create a custom form on the EmployeeEmergencyContacts (EEC) business class to allow users to add emergency contacts.
I've built a custom form, action, and list—all based on the delivered EEC components. The custom action is a copy of the delivered "Create" (AddContact) action, and I've placed the form/list on the standard Employee composite form panel, using the same LPL as the delivered EEC list.
From what I can tell, my custom list and action are identical to the delivered versions. The only difference seems to be the form itself.
However, when I use my form, I get an error saying the "SequenceNumber" field is required. This field isn’t visible on the delivered form or in the action LPL. On the business class, "SequenceNumber" is a relative key and has an autosequencing rule, so I expected it to auto-generate the next value automatically—but it doesn't.
What could I be missing?