To fix the issue, navigate to the Retail Channel Schema (hint: its on the Scheduler job setup in the field 'Retail Channel Schema'. You can right click on this field for the job in question and go straight to the record and form to generate those magic classes the error has told you all about.
NOTE: This process will generate code in AX AOT so you'll want to be in the correct layer/model for this process
When you click 'Generate classes' (Figure 3), you'll be prompted to what it will do (Figure 4) so make sure you are in the right layer and it will generate the classes you need as you'll see in the AOT (Figure 5).
You will need to do the Incremental CIL build after this or you may get weird issues, but I always do a full as I still don't trust the incrementals from earlier experiences.
Figure 1 - Running the Data Distribution Scheduler job manually
Figure 2 - A delightful little nugget of goodness raining on your parade
Figure 3 - The 'Generate classes' button in the Retail Channel Schema form
Figure 4 - The confirmation for generating the scheduler job classes
Figure 5 - The classes generated in the AOT
Figure 6 - Go grab a beer and celebrate. Or get back to work...
No comments:
Post a Comment