web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error executing code: Wrong argument types in variable assignment. : When print preview SO

(0) ShareShare
ReportReport
Posted on by 40

53234.Untitled.png

Error executing code: Wrong argument types in variable assignment.

Stack trace

(C)\Classes\TradeDocumentReportContract\parmtDate - line 2
(C)\Classes\DictClass\callObject
(C)\Classes\SysOperationAttributedDataMemberInfo\getPropertyValue - line 8
(C)\Classes\SysOperationDataContractInfo\packDataContractObject - line 72
(C)\Classes\SysOperationController\packDataContractInfoObjects - line 24
(C)\Classes\SysOperationController\pack - line 23
(C)\Classes\SrsReportRunController\pack - line 3
(C)\Classes\SrsPrintMgmtController\pack - line 5
(C)\Classes\xSysLastValue\saveLast - line 8
(C)\Classes\SysOperationController\saveLast - line 11
(C)\Classes\SysOperationController\dialogRun - line 25
(C)\Classes\SysOperationController\prompt - line 9
(C)\Classes\SysOperationController\startOperation - line 9
(C)\Classes\SrsReportRunController\startOperation - line 12
(C)\Classes\SrsPrintMgmtController\startOperation - line 14
(C)\Classes\SrsPrintMgmtFormLetterController\startOperation - line 14
(C)\Classes\SalesConfirmController\main - line 24
(C)\Classes\FormFunctionButtonControl\Clicked

Help me pls.

Best Regards,

Yuttapong Buaphim

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    The first thing to try would be to clear your usage data.

  • Yuttapong-B Profile Picture
    40 on at

    my error still be the same.

  • Verified answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    There seems to be some customization involved. Most likely it doesn't work right. Check with your developer this method (or you can share screenshot of that method here):

    (C)\Classes\TradeDocumentReportContract\parmtDate

    There is no such method in the standard system. At least not in AX2012R3CU13.

  • Yuttapong-B Profile Picture
    40 on at

    Thank you Sir. I edit code from (C)\Classes\TradeDocumentReportContract\parmtDate because parmtDate not standard AX2012

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 24

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans