2293079 - Payment Information: Error when saving Payment Information

SAP Knowledge Base Article - Public

2293079 - Payment Information: Error when saving Payment Information

Symptom

Error is encountered when saving Payment Information even though a Payment Method was selected -:

  1. Payment Method is a required field/association on Object Payment Information Detail
  2. Sorry, you should provide only one main payment method

PAYerror.JPG

Environment

Employee Central 2.0

Reproducing the Issue

Enter valid payment information for a use. Receive error on save.

Cause

This issue is caused by one of the follow:

- Configuration Issue - payType field is disabled -:

 PaymentInfoDetail_payType.JPG

- UI Corruption

- OnInit rule defined in the Payment Information object. OnInit rules defaulting values triggered on the Payment Information Portlet are not supported.

Resolution

To correct the configuration of the "payType" field on the "Payment Information Details V3" MDF Object -:

  1. Navigate to Admin Center > Configure Object Definitions. Select "Object Definition" and "Payment Information Details V3"
  2. Then click Take Action > Make Correction
  3. 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)
  4. Set the Required flag to "YES" (as Payment Method is required - particularly for Payroll integration)
  5. Set the Visibility flag to "Editable" and click Done
  6. Scroll to the bottom of the object and click Save

PaymentInfoDetail_payType_correct.JPG

 

 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)

See Also

2440812 - Defaulting Payment Information using Business Rules

Keywords

"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

Product

SAP SuccessFactors HCM Core all versions