Scenario
User performs CSV import of standalone Credit Memo, but encounters Error: Mandatory field missing for field "Apply".
- User performs CSV Import for a standalone Credit Memo
- On the Field Mapping page of the import > the Apply field appears to be a required field
- The tendency for the user is to add an Apply column in the CSV file which will be left blank
- If user proceeds with the mapping > the system will throw an Error: Mandatory field missing for field "Apply"
Solution
As an alternate solution, follow the steps below:
-
The user can select Add or Update on the Data Handling page
-
On the Field Mapping page, the Apply field is no longer required
l. Create a CSV File
Here is the sample template file
- Save the file as CSV UTF-8
ll. Importing the file
- Navigating to Setup > Import/Export > Import CSV Records
- Import Assistant:
- Scan & Upload CSV File:
- Import type: Select Transaction
- Record Type: Select Credit Memo
- Upload CSV File
- Click Next
- Import Options: Select Transaction
- Data Handling: Select Add or Update
- Click Next
- Scan & Upload CSV File:
- File Mapping:
- Field Mapping:
- Map all of the fields listed in Step 1 and any other required fields as follows: External id is any number that you can assign to the credit memo you will create, in my test I used 120 for the solo credit memo test.
- Map all of the fields listed in Step 1 and any other required fields as follows: External id is any number that you can assign to the credit memo you will create, in my test I used 120 for the solo credit memo test.
5. Click Next
6. Save mapping & Start Import:
- Enter Import Map Name
- Click Save & Run
Go to Customer Record>Sales tab>Transaction
The imported credit memo will be showing