Configuring the Electronic Invoicing Deployment for France E-Reporting
France E-Reporting uses Electronic Invoicing Map/Reduce scripts to generate and certify the E-Documents for each E-Reporting partition. An active, on-demand deployment must be available for the relevant script.
Identify the deployment issue
After selecting Generate or Certify on a France E-Reporting transaction, NetSuite displays either E-Reporting generation started or E-Reporting certification started. Processing then continues in the background.
If NetSuite cannot submit the required Map/Reduce task, the parent France E-Reporting transaction changes to Generation Failed or Certification Failed.
Refresh or reopen the transaction and review the Last Process Error field. The error may state that the Electronic Invoicing generation or certification Map/Reduce task could not be submitted and instructs you to create or update the corresponding deployment.
France E-Reporting submits these processes on demand. NetSuite requires a deployment that meets all of the following conditions:
-
Deployed is selected.
-
Status is set to Not Scheduled.
-
The deployment has no unfinished instance.
Do not configure a recurring schedule for either deployment.
Update an existing deployment
Make sure you are using the Administrator role.
To update an existing deployment
-
Go to Customization > Scripting > Script Deployments.
-
Find the relevant deployment:
-
For generation, locate Electronic Invoicing Generate E-Document. Depending on the Electronic Invoicing version, it may be named Generate E-Document Content MR. Its script ID is customscript_mr_einv_generate_content.
-
For certification, locate Electronic Invoicing Automatic Certify. Its script ID is customscript_edoc_mr_automatic_certify.
-
-
Click Edit next to the deployment.
-
Select Deployed.
-
Set Status to Not Scheduled.
-
Click Save.
Create a deployment
Create a deployment when no suitable deployment exists.
To create a deployment
-
Go to Customization > Scripting > Scripts.
-
Locate the relevant Map/Reduce script:
-
Generation: customscript_mr_einv_generate_content
-
Certification: customscript_edoc_mr_automatic_certify
-
-
Open the script record.
-
Click Deploy Script.
-
Enter a descriptive, unique Title. Allow NetSuite to generate the deployment ID or enter a unique ID.
-
Select Deployed.
-
Set Status to Not Scheduled.
-
Leave the script parameters unchanged. France E-Reporting supplies the subsidiary when it submits the task.
-
Click Save.
A Map/Reduce deployment with a Not Scheduled status is available for manual and programmatic processing. Selecting Deployed makes the script available to run.
Retry the process
When the generation or certification process fails, you must retry the E-Reporting process.
To retry the E-Reporting process
-
Return to the parent France E-Reporting transaction.
-
Verify that the status is Generation Failed or Certification Failed.
-
Click Generate or Certify, as applicable.
-
Refresh the transaction to monitor processing.
-
If processing fails again, open the E-Reporting Partitions subtab and review the E-Document Status column for each partition.
After all partitions process successfully, the parent transaction changes to Generation Completed or Certification Completed.
For more information, see Map/Reduce Script Deployment Record and Deploying a Script by using the Script Deployment Record.