Error is encountered when saving Payment Information even though a Payment Method was selected -:
- Payment Method is a required field/association on Object Payment Information Detail
- Sorry, you should provide only one main payment method
Employee Central 2.0
Reproducing the Issue
Enter valid payment information for a use. Receive error on save.
This issue is caused by one of the follow:
- Configuration Issue - payType field is disabled -:
- UI Corruption
- OnInit rule defined in the Payment Information object. OnInit rules defaulting values triggered on the Payment Information Portlet are not supported.
To correct the configuration of the "payType" field on the "Payment Information Details V3" MDF Object -:
- Navigate to Admin Center > Configure Object Definitions. Select "Object Definition" and "Payment Information Details V3"
- Then click Take Action > Make Correction
- Then click "Details" link for the "payType" field (you can verify it is the correct field in Details by checking the Valid Values Source is set to - com.successfactors.employment.bean.core.model.EnumPayType)
- Set the Required flag to "YES" (as Payment Method is required - particularly for Payroll integration)
- Set the Visibility flag to "Editable" and click Done
- Scroll to the bottom of the object and click Save
NOTE: You will also need to add the field back to the Config UI via Admin Center > Manage Configuration UI. Either add it to the existing UI or create a new UI.
If the above does not resolve the issue. The error mesage is caused by a configuration issue of the Payment Information UI in Mange Configuration UI.
This can not be corrected and a new UI must be created or downloaded from Success Store.
In the case that there is an OnInit rule defined in the Payment Information object, please note that such a kind of rules are currently not supported on Parent object. You may instead use an onChange rule on field in PaymentInformationDetailsV3 object (Child) and the same Base Object for the rule (PaymentInformationDetailsV3)
2440812 - Defaulting Payment Information using Business Rules
"Payment Method is a required field/association on Object Payment Information Detail" "Sorry, you should provide only one main payment method" Payment Information Employee Central , KBA , LOD-SF-EC-PAY , Payment Information , Problem