Invoice Batch Processing and Printing 2012 RTM

  • Invoice Batch Processing and Printing 2012 RTM

    Posted by lholmes@hamamatsu.com on March 21, 2018 at 4:41 pm
    • Lori Holmes

      Member

      March 21, 2018 at 4:41 PM

      Hello AXperts…

      We are trying to implement batch invoicing and batch invoice printing.Ā  We are coming across two persistent errors upon doing so.Ā  Has anyone seen these issues before and/or know if they can be resolved with a hotfix?Ā  Thanks in advance.

      Batch Invoice Printing:
      Error Infolog for job Customer invoice (5642206989)Infolog for task Customer invoice (5644206794) Cannot render the report to the screen when running in non-client mode (for example, in batch or in IL). Change the print destination to a location other than the screen. For example, a printer, file, or email.Error Infolog for job Customer invoice (5642206989)Infolog for task Customer invoice (5644206794) Cannot render the report to the screen when running in non-client mode (for example, in batch or in IL). Change the print destination to a location other than the screen. For example, a printer, file, or email.Error Infolog for job Customer invoice (5642206989)Infolog for task Customer invoice (5644206794) Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type ‘Microsoft.Dynamics.Ax.Xpp.ErrorException’ was thrown.Ā  Ā at Dynamics.Ax.Application.SrsPrintMgmtController.Outputreports() in SrsPrintMgmtController.outputReports.xpp:line 91Ā  Ā at Dynamics.Ax.Application.SalesInvoiceController.Runprintmgmt() in SalesInvoiceController.runPrintMgmt.xpp:line 41Ā  Ā at Dynamics.Ax.Application.SrsPrintMgmtController.Run() in SrsPrintMgmtController.run.xpp:line 14Ā  Ā at Dynamics.Ax.Application.SysOperationController.Startoperation() in SysOperationController.startOperation.xpp:line 8Ā  Ā at Dynamics.Ax.Application.SrsReportRunController.Startoperation() in SrsReportRunController.startOperation.xpp:line 9Ā  Ā at Dynamics.Ax.Application.SrsPrintMgmtController.Startoperation() in SrsPrintMgmtController.startOperation.xpp:line 14Ā  Ā at Dynamics.Ax.Application.SrsPrintMgmtFormLetterController.Startoperation() in SrsPrintMgmtFormLetterController.startOperation.xpp:line 14Ā  Ā at Dynamics.Ax.Application.SalesInvoiceController.main(Args _args) in SalesInvoiceController.main.xpp:line 31Ā  Ā at SalesInvoiceController::Main(Object[] )Ā  Ā at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)Ā  Ā at Dynamics.Ax.Application.MenuFunction.Run(xArgs _args, Boolean ) in MenuFunction.run.xpp:line 81Ā  Ā at Dynamics.Ax.Application.CustInvoicePrintJob.Processall() in CustInvoicePrintJob.processAll.xpp:line 123Ā  Ā at Dynamics.Ax.Application.CustInvoicePrintJob.Process() in CustInvoicePrintJob.process.xpp:line 17Ā  Ā at Dynamics.Ax.Application.CustInvoicePrintJob.runOnServer(Object[] _packedcustInvoicePrintJob) in CustInvoicePrintJob.runOnServer.xpp:line 16Ā  Ā at Dynamics.Ax.Application.CustInvoicePrintJob.Run() in CustInvoicePrintJob.run.xpp:line 8Ā  Ā at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 50Ā  Ā at BatchRun::runJobStatic(Object[] )Ā  Ā at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)Ā  Ā at BatchIL.taskThreadEntry(Object threadArg)

      Batch Invoice Processing:

      ErrorĀ Ā  Infolog for job Process Daily Customer Iinvoices (5642208834)Infolog for task Generating posting data (5644209330)Ā Ā Ā Ā Ā Ā Ā Ā Ā  Cannot edit a record in Sales order line – connection – update table (SalesParmSubLine). Parameter ID: HAMC-02800828, SOPS-099547.

      The record already exists.

      ErrorĀ Ā  Infolog for job Process Daily Customer Iinvoices (5642208834)Infolog for task Generating posting data (5644209330)Ā Ā Ā Ā Ā Ā Ā Ā Ā  Removal of suspension of recId allocation for table SalesParmLine has failed.

      ErrorĀ Ā  Infolog for job Process Daily Customer Iinvoices (5642208834)Infolog for task Generating posting data (5644209330)Ā Ā Ā Ā Ā Ā Ā Ā Ā  Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type ‘Microsoft.Dynamics.Ax.Xpp.ErrorException’ was thrown.

      Ā Ā  at Dynamics.Ax.Application.SysRecIdSequence.Removerecidsuspension(Int32 _tableId) in SysRecIdSequence.removeRecIdSuspension.xpp:line 23

      Ā Ā  at Dynamics.Ax.Application.formletterParmData.Removerecidsuspension() in formletterParmData.removeRecIdSuspension.xpp:line 15

      Ā Ā  at Dynamics.Ax.Application.formletterParmData.Catchall() in formletterParmData.catchAll.xpp:line 10

      Ā Ā  at Dynamics.Ax.Application.formletterParmData.Createdata(Boolean _append, Boolean ) in formletterParmData.createData.xpp:line 62

      Ā Ā  at Dynamics.Ax.Application.SalesFormletterParmDataInvoice.Createdata(Boolean _append, Boolean ) in SalesFormletterParmDataInvoice.createData.xpp:line 15

      Ā Ā  at Dynamics.Ax.Application.FormletterParmDataCreateDataBatchTask.Run() in FormletterParmDataCreateDataBatchTask.run.xpp:line 12

      Ā Ā  at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 50

      Ā Ā  at BatchRun::runJobStatic(Object[] )

      Ā Ā  at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

      Ā Ā  at BatchIL.taskThreadEntry(Object threadArg)

      InfoĀ Ā Ā  Infolog for job Process Daily Customer Iinvoices (5642208834)Infolog for task Order invoice (5644209331)PostingĀ Ā Ā Ā Ā Ā Ā Ā Ā  Batch tasks created for multithreading.

      ——————————
      Lori Holmes
      LHOLMES@hamamatsu.com
      732-537-3619
      ——————————

    • Randy Alexander

      Member

      March 22, 2018 at 5:50 PM

      ?

      Hi Lori,

      The printing errors are occurring because at least one of your customers is set up for the Invoice to print to screen when updated. Basically, you’re asking the batch to stop and wait while it processes a pdf. for which it has no screen to send it to. You should probably review all your Customer invoice Print management settings and make sure they have a destination other than “Screen”.

      The invoice batch error appears to revolve around the SO and packing slip noted in the error log. Review the SO and its receipt(s) and see if you detect any errors, if not, try to manually invoice it and check the resulting error log. It may provide additional details.

      There may be some other errors in the log and perhaps another responder can provide more detail.

      Hope this helps a little.

      ——————————
      Randy Alexander
      Credit & Accounts Receivable Manager
      Tyler Pipe Co. Div. of McWane, Inc.
      Tyler TX
      ——————————
      ——————————————-

    • Lori Holmes

      Member

      March 23, 2018 at 9:53 AM

      Randy, thank you very much for the suggestion.Ā  After checking random accounts in our customer master, it seems changing the print option is not available to be changed, I’ve tried with different AX accounts with customer master access and admin access.


      ——————————
      Lori Holmes
      Hamamatsu Corporation
      Bridgewater, NJ
      LHOLMES@hamamatsu.com
      732-537-3619
      ——————————
      ——————————————-

    • Richard Wu

      Member

      March 26, 2018 at 6:20 AM

      Have you tried looking at the default form setup?Ā  AR > Forms > Form setup > General > Print management (button)?Ā  It will change it for all customers.

      If you want a specific customer to be different, go to the customer as in your screenshot, right-click on the “Original <Default>” under Customer invoice and click “Override” in the menu that comes up.Ā  Then change it to whatever you want.

      ——————————
      Richard Wu
      Bicon, LLC
      Boston MA
      ——————————
      ——————————————-

    • Lori Holmes

      Member

      April 3, 2018 at 4:18 PM

      Hi Richard – thank you for responding.Ā  Yes, we have checked this.

      ——————————
      Lori Holmes
      Bridgewater, NJ
      ——————————
      ——————————————-

    lholmes@hamamatsu.com replied 7 years, 5 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Invoice Batch Processing and Printing 2012 RTM’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!