Thank you Erik. As far as I can tell, it has nothing to do with tax, evidenced by running it again without the tax, with the same effect. I understand what a discount is and hoped to have explained that in my example through the “expected result”, but here is a clarification without bringing NAV/BC into the description:
If I buy something at a discount (say, list price is $100 and the vendor offers 50% off), I expect to pay the net amount, or the remaining $50. If I record the transaction in my accounting system, I expect that the AP account will show only the net amount.
Bringing this back to BC, I am recording the transaction in my system as I received it from the vendor - with a line-level discount applied. So I enter the transaction with the Direct Unit Cost equal to the list price, and enter a discount in the Line Discount Column. When I look at the screen, I am happy because I see the following Purchase Line:
Type |
No. |
Description/Comment |
Location Code |
Quantity |
Unit of Measure Code |
Direct Unit Cost Excl. Tax |
Tax Group Code |
Line Discount % |
Line Amount Excl. Tax |
Qty. to Assign |
Qty. Assigned |
Item |
1000 |
Test Item |
MAIN |
1 |
PCS |
100.00 |
NONTAXABLE |
50 |
50.00 |
0 |
|
And I see Total Incl. Tax (USD) = 50.00. As a user, I proceed to post the Purchase Invoice because it looks like it reflects the reality of the transaction. At this point, I expect the AP account to increase in magnitude by $50.
When I look at my AP account, I see that its magnitude increased by $100! When I go to pay the vendor So I dig a little further…
I repeat the transaction and before I post, I examine “Preview Posting → G/L Entry” and find:
New Company, set up using “Production - Setup Data Only”
Posting Date Document Type Doc No G/L Account No Description Gen Posting Type Gen Bus Posting Group Gen Prod Posting Group Amount Bal Account Type Bal Acct No
3/13/2019 *** 10700 Direct Cost V00010 on 03/13/19 100 G/L Account
3/13/2019 *** 10700 Direct Cost V00010 on 03/13/19 -100 G/L Account
3/13/2019 Invoice *** 20200 Invoice 107002 Purchase DOMESTIC NO TAX -50 G/L Account
3/13/2019 Invoice *** 10700 Invoice 107002 Purchase DOMESTIC NO TAX 150 G/L Account
3/13/2019 Invoice *** 20100 Invoice 107002 -100 G/L Account
At this point, I suspected something in the configuration, so I tested the Cronus company in the same tenant:
CRONUS
Posting Date Document Type Doc No G/L Account No Description Gen Posting Type Gen Bus Posting Group Gen Prod Posting Group Amount Bal Account Type Bal Acct No
4/9/2018 *** 10700 Direct Cost 20000 on 04/09/18 50 G/L Account
4/9/2018 *** 10700 Direct Cost 20000 on 04/09/18 -50 G/L Account
4/9/2018 Invoice *** 20200 Invoice 107214 Purchase DOMESTIC NO TAX -50 G/L Account
4/9/2018 Invoice *** 10700 Invoice 107214 Purchase DOMESTIC NO TAX 100 G/L Account
4/9/2018 Invoice *** 20100 Invoice 107214 -50 G/L Account
Notably, the Direct Cost lines are calculating differently: Cronus deducts the discount, New Company does not.
Here is the database line (Table 39, Purchase Line) from New Company:
Document Type |
Buy-from Vendor No. |
Document No. |
Line No. |
Type |
No. |
Location Code |
Posting Group |
Expected Receipt Date |
Description |
Description 2 |
Unit of Measure |
Quantity |
Outstanding Quantity |
Qty. to Invoice |
Qty. to Receive |
Direct Unit Cost Excl. Tax |
Unit Cost ($) |
Tax % |
Line Discount % |
Line Discount Amount |
Amount |
Amount Including Tax |
Unit Price ($) |
Allow Invoice Disc. |
Gross Weight |
Net Weight |
Units per Parcel |
Unit Volume |
Appl.-to Item Entry |
Shortcut Dimension 1 Code |
Shortcut Dimension 2 Code |
Job No. |
Indirect Cost % |
Recalculate Invoice Disc. |
Outstanding Amount |
Qty. Rcd. Not Invoiced |
Amt. Rcd. Not Invoiced |
Quantity Received |
Quantity Invoiced |
Receipt No. |
Receipt Line No. |
Order No. |
Order Line No. |
Profit % |
Vendor No. |
Inv. Discount Amount |
Vendor Item No. |
Sales Order No. |
Sales Order Line No. |
Drop Shipment |
Gen. Bus. Posting Group |
Gen. Prod. Posting Group |
VAT Calculation Type |
Transaction Type |
Transport Method |
Attached to Line No. |
Entry Point |
Area |
Transaction Specification |
Tax Area Code |
Tax Liable |
Tax Group Code |
Use Tax |
Tax Bus. Posting Group |
Tax Prod. Posting Group |
Currency Code |
Outstanding Amount ($) |
Amt. Rcd. Not Invoiced ($) |
Reserved Quantity |
Blanket Order No. |
Blanket Order Line No. |
Tax Base Amount |
Unit Cost |
System-Created Entry |
Line Amount Excl. Tax |
Tax Difference |
Inv. Disc. Amount to Invoice |
Tax Identifier |
IC Partner Ref. Type |
IC Partner Reference |
Prepayment % |
Prepmt. Line Amount Excl. Tax |
Prepmt. Amt. Inv. Excl. Tax |
Prepmt. Amt. Incl. Tax |
Prepayment Amount |
Prepmt. Tax Base Amt. |
Prepayment Tax % |
Prepmt. Tax Calc. Type |
Prepayment Tax Identifier |
Prepayment Tax Area Code |
Prepayment Tax Liable |
Prepayment Tax Group Code |
Prepmt Amt to Deduct Excl. Tax |
Prepmt Amt Deducted Excl. Tax |
Prepayment Line |
Prepmt. Amount Inv. Incl. Tax |
Prepmt. Amount Inv. ($) |
IC Partner Code |
Prepmt. Tax Amount Inv. ($) |
Prepayment Tax Difference |
Prepmt Tax Diff. to Deduct |
Prepmt Tax Diff. Deducted |
Outstanding Amt. Ex. Tax ($) |
A. Rcd. Not Inv. Ex. Tax ($) |
Pmt. Discount Amount |
Dimension Set ID |
Job Task No. |
Job Line Type |
Job Unit Price |
Job Total Price |
Job Line Amount |
Job Line Discount Amount |
Job Line Discount % |
Job Unit Price ($) |
Job Total Price ($) |
Job Line Amount ($) |
Job Line Disc. Amount ($) |
Job Currency Factor |
Job Currency Code |
Job Planning Line No. |
Job Remaining Qty. |
Job Remaining Qty. (Base) |
Deferral Code |
Returns Deferral Start Date |
Prod. Order No. |
Variant Code |
Bin Code |
Qty. per Unit of Measure |
Unit of Measure Code |
Quantity (Base) |
Outstanding Qty. (Base) |
Qty. to Invoice (Base) |
Qty. to Receive (Base) |
Qty. Rcd. Not Invoiced (Base) |
Qty. Received (Base) |
Qty. Invoiced (Base) |
Reserved Qty. (Base) |
FA Posting Date |
FA Posting Type |
Depreciation Book Code |
Salvage Value |
Depr. until FA Posting Date |
Depr. Acquisition Cost |
Maintenance Code |
Insurance No. |
Budgeted FA No. |
Duplicate in Depreciation Book |
Use Duplication List |
Responsibility Center |
Cross-Reference No. |
Unit of Measure (Cross Ref.) |
Cross-Reference Type |
Cross-Reference Type No. |
Item Category Code |
Catalog |
Purchasing Code |
Product Group Code |
Special Order |
Special Order Sales No. |
Special Order Sales Line No. |
Whse. Outstanding Qty. (Base) |
Completely Received |
Requested Receipt Date |
Promised Receipt Date |
Lead Time Calculation |
Inbound Whse. Handling Time |
Planned Receipt Date |
Order Date |
Allow Item Charge Assignment |
Qty. to Assign |
Qty. Assigned |
Return Qty. to Ship |
Return Qty. to Ship (Base) |
Return Qty. Shipped Not Invd. |
Ret. Qty. Shpd Not Invd.(Base) |
Return Shpd. Not Invd. |
Return Shpd. Not Invd. ($) |
Return Qty. Shipped |
Return Qty. Shipped (Base) |
Return Shipment No. |
Return Shipment Line No. |
Return Reason Code |
Subtype |
Copied From Posted Doc. |
Attached Doc Count |
Tax To Be Expensed |
Provincial Tax Area Code |
IRS 1099 Liable |
GST/HST |
Routing No. |
Operation No. |
Work Center No. |
Finished |
Prod. Order Line No. |
Overhead Rate |
MPS Order |
Planning Flexibility |
Safety Lead Time |
Routing Reference No. |
Invoice |
V00010 |
107003 |
10000 |
Item |
1000 |
MAIN |
RESALE |
3/15/2019 |
Test Item |
|
Piece |
1 |
1 |
1 |
1 |
100.00 |
50.00 |
0 |
50 |
50.00 |
50.00 |
50.00 |
0.00 |
Yes |
0 |
0 |
0 |
0 |
0 |
|
|
|
0 |
No |
50.00 |
0 |
0.00 |
0 |
0 |
|
0 |
|
0 |
0 |
V00010 |
0.00 |
1000 |
|
0 |
No |
DOMESTIC |
NO TAX |
Sales Tax |
|
|
0 |
|
|
|
|
Yes |
NONTAXABLE |
No |
|
|
|
50.00 |
0.00 |
0 |
|
0 |
50.00 |
50.00 |
No |
50.00 |
0.00 |
0.00 |
|
|
|
0 |
0.00 |
0.00 |
0.00 |
0.00 |
0.00 |
0 |
Normal VAT |
|
|
Yes |
|
0.00 |
0.00 |
No |
0.00 |
0.00 |
|
0.00 |
0.00 |
0.00 |
0.00 |
50.00 |
0.00 |
0.00 |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
0.00 |
|
|
|
|
|
1 |
PCS |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
|
|
|
0.00 |
No |
No |
|
|
|
|
No |
|
|
|
|
|
ACCESSORIES |
No |
|
|
No |
|
0 |
|
No |
|
|
12D |
|
2/15/2019 |
2/3/2019 |
Yes |
0 |
0 |
0 |
0 |
0 |
0 |
0.00 |
0.00 |
0 |
0 |
|
0 |
|
|
No |
0 |
0.00 |
|
No |
|
|
|
|
No |
0 |
0 |
No |
Unlimited |
D15 |
0 |
So after looking at this, it appears that the posting routine is taking the amount from the Direct Unit Cost field, not the Amount field or the Outstanding Amount field (which even shows $50!).