We suggest you use the enhanced capabilities provided with the Order Information 2 Card Type.
The Order Information card type displays a field set on the Order object as a collection of editable fields. The card type uses a data source to create a new order record and when users submit the page, the values they entered in the editable fields are populated on the order record.
The field set must be on the Order object and the data source must return a Order sObject, like the NewOrder Data Source.
Card Type Information
|
Name |
OrderInformation |
|---|---|
|
Card Component Constructor |
FieldSetCardComponentFactory |
|
Class |
FieldSetCard |
|
Controller Name |
OrderInformationComponentController |
|
Display Name |
Order Information |