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

Notifications

Announcements

No record found.

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,160 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,160 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans