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)

Unable To post the invoice "Procurement and Sourcing Module"

(0) ShareShare
ReportReport
Posted on by

Dear Expert, i am using AX 2012 and trying to post the invoice after pressing the post ill get an error "Account number for transaction type purchase, discount does not exit" guide me to fix this issue.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Ayaz butt,

    Can you check under inventory - Setup - posting - posting - purchase tab whether a purchase discount account is setup? If it is missing try entering one before re-trying to post the invoice.

    If this does not work, please check the automatic posting accounts in GL. If discounts are setup at the PO header level, accounts from GL-setup-posting-account for automatic transactions are used. Try to setup the purchase, discount account before posting.

    Hope this helps.

    Best regards,

    Ludwig

  • Community Member Profile Picture
    on at

    Dear Ludwig,

    purchase Discount Setup already there in main account tab and it is linked with the purchase Discount account.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Ayaz,

    You have setup an account for your purchase discounts in your Chart of accounts, right? And has this been linked to the "purchase, discount" posting type in the accounts for automatic Transactions in GL? I believe this Setup should fix the issue. If it does not then it would be great if you could post some screenprints of your PO and error message and possibly provide some additional information.

    Many thanks and best regards,

    Ludwig

  • Community Member Profile Picture
    on at

    Dear Ludwig,

    i checked everything you mentioned and i am sorry i forgot to tell you one thing that i got this error only for few invoices other than that all invoices are posted perfectly.

  • Daxer Persson Profile Picture
    3,007 on at

    Sounds like there is a missing Item/Vendor relation in the setup in the posting profile (in Inventory... Posting) ? Or if setup then for the main account you aim at being posting on then ensure it's part of Account structure active for the legal entity.

    Possibly try setup in GL > Posting Setup > Accounts for automatic transactions a line for posting type Vendor invoice discount.

    When on the purchase line, you select Financials > Distribute amounts. Do you see a separate line for the discount and linked main account?

  • Community Member Profile Picture
    on at

    Hi Darex,

    Yes, I saw the Separate line For The Discount but it is not linked with the main account. kindly guide me how to linked with the main account?

    Regards,

    Ayaz Shakeel

  • Daxer Persson Profile Picture
    3,007 on at

    Hi Ayaz

    I think, you need to show some screen dumps of your data ?  e.g. setup in the two posting types, the Item Group of the items behaving incorrect and vendor /vendor Group on purchases.

    Anyway what do you mean with "linked to the main account"?

    Regards

    Daxer

  • Community Member Profile Picture
    on at

    please check the print screen and guide me accordingly, and I am trying to ask you if the purchase discount account is not linked with the main account then how can I linked purchased discount account with the main account. but I think its already linked but if you see in financials > distribution amounts> if I select the discount tab there is no ledger account.

  • Daxer Persson Profile Picture
    3,007 on at

    Hi Ayaz

    I'm sorry, but I can't see your screendumps. Only a large white area for above post (actually also another smaller white area some posts above).

    So here some more possibly to guide in direction for resolution:

    Is setup in posting type screen for purchase totally the same as for the purchase, discount? There could be new main accounts not part of active account structure for legal entity.

    If you delete the setup in purchase, discount - are you then able to post the purchase order?

    Have you setup posting for "Automatic transactions" as I wrote earlier?

    Regards

    Daxer

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 34

#1
CP04-islander Profile Picture

CP04-islander 34

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans