Breaking news from around the world
Get the Bing + MSN extension
Check out the latest Retail updates!Learn about the key capabilities and features of Dynamics 365 Retail and experience some of the new features.
Download overview guide | Watch Retail video
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
Generating invoice from a retail sales order we're encountered the following issue:
While processing the state Customer order invoiced, generic exception encountered in retail statement 00000021-000134 in the controller : Posting Posting Sales order: EAT1-001263 The posting is done using sales tax voucher C101-1900004.While processing aggregation state Sales order is invoiced for this aggregation. transaction state Customer order invoiced, the invoice ID was empty after invoicing for this aggregation 5637146078.
Could someone help us in this way?
You need to clear usage data of the user who is owning/executing the retail statement posting batch job for the statement.
Go to Users form > find the user that is posting statements.
Go to User options> Usage data
- Option 1: RESET USAGE DATA
This could change some defaults for the user
- Option 2: click on "All Usage data" and delete only the SalesFormLetter_Invoice lines
After Deleting the Usage data for the User please try to post the statements and update us the findings.
After installing version 10.0.4 Update 28 I have the same issue.
After running the posting batchjob this error comes up:While processing the state Customer order invoiced, generic exception encountered in retail statement 331-000061 in the controller : While processing aggregation state Sales order is invoiced for this aggregation. transaction state Customer order invoiced, the invoice ID was empty after invoicing for this aggregation 5637150617.
When I post afterwards the sales order manually everything works fine and after that the posting batchjob is finishing without any problem.
a workaround for this issue is exactly the same as mentioned in one answer below:
Delete User Usage data for SalesFormLetter_Invoice:
1. Browse to the System administration > Users > Users
2. Select the user
3. Click 'User options' in the menu bar
4. On the Options page, click 'Usage data' in the menu bar
5. Click the 'All usage data' tab
6. Select and delete the row with Element name = 'SalesFormLetter_Invoice'
This should be done only once and the issue should not happen again.
This issue is fixed in version 10.0.5, you can find it on LCS:
Business Applications communities