Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

No account number exists for account type Cost for project MyProjectName

(0) ShareShare
ReportReport
Posted on by

Posting a Packing Slip in AX 2012 R2 and Receive error:   Any suggestion would be helpful.

Posting

 - Sales orders:  SO00000603

- Item:  MyItem

X No account number exists for account type Cost for project MyProjectName

Stack trace is:

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.FormletterService.Run() in FormletterService.run.xpp:line 217
at Dynamics.Ax.Application.FormletterService.Postsalesorderpackingslipproject(SalesFormLetterPackingSlipProjContract _contract) in FormletterService.postSalesOrderPackingSlipProject.xpp:line 14
at FormletterService::postSalesOrderPackingSlipProject(Object , Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.DictClass.Callobject(String _methodName, XppObjectBase _Called, Object[] varArgs)
at Dynamics.Ax.Application.SysOperationServiceController.Runoperation(Boolean _async) in SysOperationServiceController.runOperation.xpp:line 93
at Dynamics.Ax.Application.SysOperationServiceController.runServiceOperation(Object[] parameters) in SysOperationServiceController.runServiceOperation.xpp:line 22
at SysOperationServiceController::runServiceOperation(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
at SysDictClass::invokeStaticMethod(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

*This post is locked for comments

  • GG7 Profile Picture
    on at
    RE: No account number exists for account type Cost for project MyProjectName

    Please be aware that there are two fields for Legal entity that can be displayed using personalization.  They also appear by default in the DMF export for Data Entity: Project ledger posting definition.   See screenshot.  These columns become even more relevant when using the Ledger account type for Intercompany cost.

    pastedimage1645559318659v1.png

  • Verified answer
    Community Member Profile Picture
    on at
    RE: No account number exists for account type Cost for project MyProjectName

    It ended up being that the cost account for the project category needed to be set up for this legal entity.   Thank you for your suggestion.   It set us down the right path.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
  • André Arnaud de Calavon Profile Picture
    294,791 Super User 2025 Season 1 on at
    RE: No account number exists for account type Cost for project MyProjectName

    Hi MKryzhan,

    Did you setup or verify the project posting setup? If you have setup accounts, are these accounts part of an active account structure for this legal entity?

  • Community Member Profile Picture
    on at
    RE: No account number exists for account type Cost for project MyProjectName

    Thank you for the information Dr. Reinhard.   Could you point me to a good URL to search from.   I find this hotfix in cumulative patches but lacking the detailed information of what the particular issue is.   I've tried several sites including www.microsoft.com/.../search and support.microsoft.com/.../cumulative-update-7-cu7-for-microsoft-dynamics-ax-2012-r2.   Possibly you have access to something I do not.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: No account number exists for account type Cost for project MyProjectName

    Hi,

    This might be related to a bug.

    Please check the following hotfixes:

    KB 2840148"No account number exists for account type Cost for project" error is returned when activating a new standard cost that is associated with a project ID

    and

    Issue 3799213"No account number exists for account type Cost for project" error after installing SEPA hotfixes when posting an IC timesheet

    Best regards,

    Ludwig

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans