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)

How to post Free text invoice from code AX 2012?

(0) ShareShare
ReportReport
Posted on by 607

Hi Everyone!

I have sucessfully created Free Text Invoices through code...but while posting it im getting this error:

A record with RecId 0 does not exist.

Account  does not exist.

Update has been canceled..

I have Checked Both CustInvoice Table and CustInvoiceLine Table ..the record exists...can someone pls help me with this issue...

Thanks in Advanve

*This post is locked for comments

I have the same question (0)
  • zeeshan.shaikh Profile Picture
    683 on at

    Hi,

    Can you share your code snippet which you are using to create and post free text invoice?

    Regards,

    Ali Zeeshan

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    Have you already checked the following sites?

    dynamicsaxforall.blogspot.com/.../free-text-invoice-using-x-in-ax-2012-r3.html

    community.dynamics.com/.../203738

    Best regards,

    Ludwig

  • AXBOY Profile Picture
    607 on at

    Yes ...i have written the same code from these sites...im able create Free Text invoice but not able to post them

  • Heinz Schweda Profile Picture
    1,367 on at

    Hello,
    you write, you can not post them: do you try to post them by code or manually through the form?

    Can you manually post a code created by code, or does the same error occur?

    If you create an invoice by code and create an equivalent across the form and then the compare the records in CustInvoiceTable and CustInvoiceLine (using table browser), do they look similar?

    Again, can you share your code with us?

    Regards,
    Heinz

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