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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)
Suggested Answer

How to post Free text invoice from code AX 2012?

(0) ShareShare
ReportReport
Posted on by 625

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
    625 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dekion Profile Picture

dekion 4

#2
Virginia99 Profile Picture

Virginia99 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans