Applies to Product -Dynamics 365 Lifecycle Services
What’s happening?
In a Brazilian legal entity, the fiscal document is not generated automatically when a sales invoice is posted, despite the primary legal entity address being set up correctly, the establishment being configured, and the document type being assigned.
Reason:
This may be related to parameterization problems, specifically with the number sequence setup, which may contain a constant. The process for generating the fiscal document requires a continuous number sequence to function correctly.
Resolution:
- Disable the automatic cleaning of the number sequence to avoid reusing lost numbers.
- Ensure that the "Reuse numbers" field of the number sequence for Accounts Receivable is unchecked.
- Verify that a sequence number is assigned for each reference.
- The process takes the invoice number from the AP/AR parameters form, and for Brazil, the document type must be set correctly to ensure the standard number sequence is continuous.
- After making the necessary corrections to the parameters, test the posting and approval of the fiscal document again.
