Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Company Default Cost Center not used in Discount Accounting #37233

Closed
vr-greycube opened this issue Sep 25, 2023 · 0 comments · Fixed by #37234
Closed

Error: Company Default Cost Center not used in Discount Accounting #37233

vr-greycube opened this issue Sep 25, 2023 · 0 comments · Fixed by #37234
Labels

Comments

@vr-greycube
Copy link
Contributor

Information about bug

  • Enable Discount Accounting for Selling in Selling Settings
  • Set Default Cost Center in Company
  • Create a Sales Invoice
  • Set the Apply Additional Discount On as Net Total
  • Set Additional Discount Amount
  • Set Additional Discount Account
  • Save and Submit Invoice

Expected:
Sales Invoice saved and submitted. GL Entry created for Sales Invoice with line for Discount in the Discount Account set

Actual:
Throws error for missing Cost Center although Company has a default Cost Center

image

Module

accounts, selling

Version

ERPNext- v14.31.1 (version-14)

Installation method

None

Relevant log output / Stack trace / Full Error Message.

No response

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant