Lỗi no line for posting trong phần mềm ax

Recently, a client presented a Payroll issue in Dynamics AX 2012 R3 when an earnings statement distribution of 25%, 25%, 50% is changed to a distribution of 100%, 100%, -100% on the associated pay statement. It occurred when an unpaid leave earning code [such as sick unpaid] with the earning rate of $0 and recorded hours for benefit accruals.

The distribution is defined based on the template assigned to the position:

The earnings statement has the correct distribution for both regular and unpaid sick time:

The non-zero line on the related pay statement looks right, yet the zero line has lines with 100%, 100%, -100% instead of 25%, 25%, 50%.:

Moreover in testing, a pay statement distribution for 5 lines [for examples: 10%, 10%, 10%, 20%, 50%] is generated 100% four times and -300% once to make it up to exactly 100%.

The pay statement can be submitted for payment, and a payment journal can be generated and processed. However, at posting of the pay statement, the error is thrown:

To prevent this from happening, the default dimensions on the earning code for unpaid sick hours can be set:

The earning statement shows it being allocated based on the financial dimension default template percentage for the employee, however the ledger account is just a single account based on the default financial dimension of the earning code:

It’s noteworthy that if the Distribution template is set based on the earning code, the position default overrides it. Yet when the default dimensions are on the earning code, the accounting distribution on the Pay Statement combines it into one line at 100%. The pay statement is posted without errors and no entry hits the ledger account because the amount was $0.

On a positive note the issue seems to be resolved in Dynamics 365 for Finance and Operations: the similar test case shows that the zero line has 100% posted to the first line:

Have any other Payroll questions or concerns in Dynamics AX/365? Visit our Help Desk Support page or contact us today!

You may have noticed an extra menu item when posting your financial journals. Instead of Post, you could choose to Post and Transfer. Transfer you say? Doesn’t my transaction transfer to the General Ledger when I Post it? What’s this extra Transfer doing in there?

First you are correct, your transaction does transfer to the General Ledger when you post it. That is assuming that there are no errors in the transaction. We’ve all been frustrated by an error message when trying to post a journal with multiple lines, having to go through line by line until the errors are all corrected. Well, with the Post and Transfer option, you can avoid some of this hassle. When you use Post and Transfer, transactions that have all the correct information will post without an issue. Those transactions that have a bit of an issue are then transferred to a new journal so that you can work on them until you have them all dressed up and ready for posting.

The Post and Transfer option is available on most journals in Dynamics AX 2012 with the exception of Project Hours journals and some Inventory journals. It may come in handy when you are posting Financial journals with lots of lines. It will keep you from getting lost in transfer errors and may just save your sanity.

Assume that you generate a project purchase order from a project sales order in Microsoft Dynamics AX 2012. When you print the "Product receipt" report on the project purchase order and enable the Consume items for the project immediately function, the Packing slip posting dialog box displays no line for the project sales order. Additionally, the "Show packing slip" report does not display the project sales order.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. There is a "Hotfix download available" section at the top of this Knowledge Base article. If you are encountering an issue downloading, installing this hotfix, or have other technical support questions, contact your partner or, if enrolled in a support plan directly with Microsoft, you can contact technical support for Microsoft Dynamics and create a new support request. To do this, visit the following Microsoft website:

//mbs.microsoft.com/support/newstart.aspx You can also contact technical support for Microsoft Dynamics by phone using these links for country specific phone numbers. To do this, visit one of the following Microsoft websites:

Partners

//mbs.microsoft.com/partnersource/support/Customers

Installation information

If you have customizations for one or more of the methods or the tables that are affected by this hotfix, you must follow these steps:

  1. Review the changes that are documented in the .xpo file.
  2. Apply these changes in a test environment before you apply the hotfix in a production environment.

For more information about how to install this hotfix, click the following article number to view the article in the Microsoft Knowledge Base:

893082 How to install a Microsoft Dynamics AX hotfix

Prerequisites

You must have Microsoft Dynamics AX 2012 installed to apply this hotfix.

Restart requirement

You must restart the Application Object Server [AOS] service after you apply the hotfix.

File information

The global version of this hotfix has the file attributes [or later file attributes] that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time [UTC]. When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name

File version

File size

Date

Time

Platform

Aximpactanalysis.exe

Not applicable

60,280

03-Jan-2012

00:01

x86

Axupdate.exe

Not applicable

60,264

03-Jan-2012

00:01

x86

Dynamicsax2012-kb2677570-foundation.axmodel

6.0.1108.17

12,200

16-Feb-2012

09:17

Not applicable

Dynamicsax2012-kb2677570-syplabels.axmodel

6.0.1108.17

767,912

16-Feb-2012

09:17

Not applicable

Axsetupsp.exe

6.0.947.853

1,361,768

14-Jan-2012

02:00

x86

Axutillib.dll

6.0.947.0

817,512

03-Jan-2012

00:01

x86

Microsoft.dynamics.servicing.operations.dll

6.0.888.436

35,752

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

382,848

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

370,560

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

374,656

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

374,656

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

370,560

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

378,752

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

370,560

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

374,656

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

370,560

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

374,656

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

370,560

03-Jan-2012

00:01

x86

Axsetupsp.resources.dll

6.0.947.491

407,424

03-Jan-2012

00:01

x86

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Chủ Đề