(DNK) Set up batch processing for OIOUBL electronic invoicing [AX 2012]

已更新:May 29, 2012

应用于: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Use the 批处理作业 form to set up batch processing for Offentlig Information Online Universal Business Language (OIOUBL) electronic invoicing.

You can set up a batch job for sales outbound electronic invoices, and another batch job for project outbound electronic invoices.

  1. 单击 系统管理 >查询 >批处理作业 >批处理作业

  2. Press CTRL+N to create a batch job, and then in the 作业描述 field, enter a short description for the batch job.

  3. Save the batch job, and then click 查看任务.

  4. In the 批处理任务 form, press CTRL+N to create a batch task for the batch job, and then in the Class name field, select the AifOutboundProcessingService class name. In the 公司帐户 field, select the company you created the batch job for.

  5. Create two batch tasks that use the following class names:

    • AifGatewaySendService

    • EInvoiceFileTransform_OIOUBL

  6. Select the batch task that uses the EInvoiceFileTransform_OIOUBL class name, and then in the 批处理组 field, select a batch group.

  7. Click 刷新 to refresh the data in the form.

  8. Click 参数设置.

  9. In the 电子发票 OIOUBL XSL 文件转换 form, specify the locations of the Source, Target, Processed, and Error file storage folders. For the XSLT file path, select the path for the eSalesInvoice_DK_OIOUBL file for sales outbound electronic invoices, or the path for the eProjectInvoice_DK_OIOUBL file for project outbound electronic invoices, and then close the form.

  10. Click the 概览 tab.

  11. Select the batch task that uses the AifGatewaySendService class name (the second task) to set up the order in which the batch tasks are run.

  12. In the lower pane, press CTRL+N to create a condition for the selected batch task to run after the batch task that uses the AifOutboundProcessingService class name (the first task) has ended.

  13. In the 任务 ID field, select the batch task that uses the AifOutboundProcessingService class name.

  14. In the 预期状态 field, select 已结束.

    注意注意

    You can also select the batch task that uses the EInvoiceFileTransform_OIOUBL class name, and then set the condition to run the batch task when the batch task that uses the AifGatewaySendService class name has ended.


公告: 若要查看已知问题和最近的补丁,请使用 Microsoft Dynamics Lifecycle Services (LCS) 中的 问题搜索

社区附加资源

添加
显示: