Good Day!
I want to know how to calculate invoice discount automatically in Business Central.
I have to click Calculate Invoice Discount always.
I setup All Discounts in Discount Posting field in Purchases & Payable Setup.

I setup Vendor Invoice Discount in Vendor Card 10000.

Then I created Purchase Order.

But Invoice Discount % and Inv Discount Amount were not set up automatically.
I tried this process on Purchase Invoice, too. The result was same.
What I want to know is what automatic invoice discount calculation in Business Central.
When I click "Calculate Invoice Discount" on Purchase Order and Invoice, Invoice Discount Amount is always calculated no matter what Discount Posting value in Purchase & Receivable Setup.
Is this the automatic invoice discount calculation functionality in BC?
I tested this in my Sandbox environment, Version: W1 17.2 (Platform 17.0.19353.21069 + Application 17.2.19367.19525)
Thank you!