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)

"Buffer for call of SrsTmpTblMarshaller::deleteTmpTblData is not specified"

(0) ShareShare
ReportReport
Posted on by

Hi 

I have customized the cheque report by adding an element to the enum "ChequeFormType" and referring it to the classes by customizing it.

while triggering the report i face the issue "Buffer for call of SrsTmpTblMarshaller::deleteTmpTblData is not specified."

Any help is appreciated!

Kind Regards 

Anna

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    This error is thrown if you call SrsTmpTblMarshaller::deleteTmpTblData() with an invalid record ID.

    Use the debugger to find out more information, such as what value is passed there, which piece of code does it, where does it take the ID and so on. Either you'll get enough information to understand the problem, or you'll be at least able to give more details to us.

  • Community Member Profile Picture
    on at

    Thanks for the reply Martin!!

    I ll check and come back to you!

    Anna Mu

  • Community Member Profile Picture
    on at

    Hi Martin

    I debugged the code.

    When i debug the report by selecting "US - Format "(Which is existing format) it is returning a record id and working fine.But when i select the element which i created it is returning 0.

    tmpChequePrintout = SRSTmpTblMarshaller::getTmpTbl(contract.parmTmpTableDataRecId());

    here the parameter is not passed.

    Should i add the enum element somewhere else??

    Any help is appreciated!

    Kind Regards,

    Anna Mu

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Yes, that's basically what we already knew, so you should continue debugging to find out where it should set the value but it doesn't.

    If you need our help, please share at least the stack of calls leading to the error.

  • Community Member Profile Picture
    on at

    HI Martin

    Please see below the call stack 

    2262.stacktrace.PNG

    Regards,

    Annaamalai 

  • Verified answer
    Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Unfortunately I still don't have enough information about how you call the report ("referring it to the classes by customizing it" didn't tell me much either), so I'll make some assumption that may be incorrect and should verify your actual path through code in debugger.

    The controller for the report is ChequeController, which takes data from its caller and passes them to the data contract. Most likely it receives wrong data already from the caller, which probably is BankChequePrint class. It also returns the data from its caller and I don't know what it is in your case, so let's assume it's CustOutPaym_Cheque. It gets data from CustVendCheque.tmpChequePrintout()...

    This should be enough hints for your debugging for now; this exercise gets a bit boring without any feedback from debugger.

  • Verified answer
    Community Member Profile Picture
    on at

    HI Martin

    yes the issue was in BankChequePrint  class. My menu item was referring to the report design rather than controller class.Now its working fine after referring it to controller class from BankChequePrint  class.

    Many thanks for the help

    Regards

    Anna

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