[FIX] valuation_methods_anglo_saxon: Correct valuation-chart + use dollars

This commit is contained in:
Yannick Tivisse 2016-05-25 14:58:40 +02:00
parent a0dd875333
commit bb2a9468ad
2 changed files with 95 additions and 86 deletions

View File

@ -156,12 +156,14 @@
ACCOUNTS_RECEIVABLE: { code: 13100, label: "Accounts Receivable" },
STOCK: { code: 14000, label: "Inventory" },
RAW_MATERIALS: { code: 14100, label: "Raw Materials Inventory" },
STOCK_OUT: { code: 14600, label: "Goods Issued Not Invoiced" },
TAXES_PAID: { code: 19000, label: "Deferred Tax Assets" }
};
var LIABILITIES = {
code: 2,
label: "Liabilities",
ACCOUNTS_PAYABLE: { code: 21000, label: "Accounts Payable" },
STOCK_IN: { code: 23000, label: "Goods Received Not Purchased" },
TAXES_PAYABLE: { code: 26200, label: "Deferred Tax Liabilities" }
};
var EQUITY = {
@ -177,10 +179,9 @@
var EXPENSES = {
code: 5,
label: "Expenses",
PURCHASED_GOODS: { code: 51000, label: "Purchased Goods" },
PURCHASED_SERVICES: { code: 52000, label: "Purchased Services" },
INVENTORY_VARIATIONS: { code: 58000, label: "Inventory Variations" },
OTHER_OPERATING_EXPENSES: { code: 59000, label: "Other Operating Expenses" },
GOODS_SOLD: { code: 51100, label: "Cost of Goods Sold" },
MANUFACTURING_OVERHEAD: { code: 52000, label: "Manufacturing Overhead" },
PRICE_DIFFERENCE: { code: 53000, label: "Price Difference" }
};
var categories = Immutable.fromJS([ASSETS, LIABILITIES, EQUITY, REVENUE, EXPENSES], function (k, v) {
return Immutable.Iterable.isIndexed(v)
@ -210,46 +211,54 @@
purchase = 52,
purchase_tax = 52 * 0.09;
var operations = Immutable.fromJS([{
label: "Vendor Invoice (PO $50, Invoice $50)",
label: "Supplier Invoice (PO $50, Invoice $40)",
operations: [
{account: EXPENSES.PURCHASED_GOODS.code, debit: constant(50)},
{account: LIABILITIES.STOCK_IN.code, debit: constant(50)},
{account: ASSETS.TAXES_PAID.code, debit: constant(50 * 0.09)},
{account: LIABILITIES.ACCOUNTS_PAYABLE.code, credit: constant(50 * 1.09)},
]
}, {
label: "Vendor Goods Reception (PO $50, Invoice $50)",
label: "Supplier Goods Reception (PO $50, Invoice $50)",
operations: [
{account: EXPENSES.INVENTORY_VARIATIONS.code, credit: constant(50)},
{account: LIABILITIES.STOCK_IN.code, credit: constant(50)},
{account: ASSETS.STOCK.code, debit: constant(50)},
]
}, {
label: "Vendor Invoice (PO $48, Invoice $50)",
label: "Supplier Invoice (PO $48, Invoice $50)",
operations: [
{account: EXPENSES.PURCHASED_GOODS.code, debit: constant(48)},
{account: EXPENSES.PRICE_DIFFERENCE.code, debit: constant(2)},
{account: LIABILITIES.STOCK_IN.code, debit: constant(48)},
{account: ASSETS.TAXES_PAID.code, debit: constant(50 * 0.09)},
{account: LIABILITIES.ACCOUNTS_PAYABLE.code, credit: constant(50 * 1.09)},
]
}, {
label: "Vendor Goods Reception (PO $48, Invoice $50)",
label: "Supplier Goods Reception (PO $48, Invoice $50)",
operations: [
{account: EXPENSES.INVENTORY_VARIATIONS.code, credit: constant(48)},
{account: LIABILITIES.STOCK_IN.code, credit: constant(48)},
{account: ASSETS.STOCK.code, debit: constant(48)},
]
}, {
label: "Customer Invoice ($100 + 9% tax)",
label: "Customer Invoice",
operations: [
{account: ASSETS.ACCOUNTS_RECEIVABLE.code, debit: constant(total)},
{account: EXPENSES.PURCHASED_GOODS.code, debit: constant(cor)},
{account: EXPENSES.GOODS_SOLD.code, debit: constant(cor)},
{account: REVENUE.SALES.code, credit: constant(sale)},
{account: EXPENSES.INVENTORY_VARIATIONS.code, credit: constant(cor)},
{account: ASSETS.STOCK_OUT.code, credit: constant(cor)},
{account: LIABILITIES.TAXES_PAYABLE.code, credit: constant(tax)}
]
}, {
label: "Customer Shipping",
operations: [
{account: EXPENSES.INVENTORY_VARIATIONS.code, debit: constant(cor)},
{account: ASSETS.STOCK_OUT.code, debit: constant(cor)},
{account: ASSETS.STOCK.code, credit: constant(cor)}
]
}, {
label: "Production Order",
operations: [
{account: ASSETS.STOCK.code, debit: constant(50)},
{account: EXPENSES.MANUFACTURING_OVERHEAD.code, debit: constant(2)},
{account: ASSETS.RAW_MATERIALS.code, credit: constant(52)}
]
}]);
function constant(val) {return function () { return val; };}
var zero = constant(0);

View File

@ -31,31 +31,31 @@ Standard Price
- Delta Value
- Inventory Value
* -
- 10
- $10
- 0
-
- 0
* - Receive 8 Products at 10
- 10
- $0
* - Receive 8 Products at $10
- $10
- 8
- +8*10
- 80
* - Receive 4 Products at 16
- 10
- +8*$10
- $80
* - Receive 4 Products at $16
- $10
- 12
- +4*10
- 120
- +4*$10
- $120
* - Deliver 10 Products
- 10
- $10
- 2
- | -10*10
- | -10*$10
|
- 20
* - Receive 2 Products at 9
- 10
- $20
* - Receive 2 Products at $9
- $10
- 4
- +2*10
- 40
- +2*$10
- $40
**Standard Price** means you estimate the cost price based
on direct materials, direct labor and manufacturing overhead
@ -76,31 +76,31 @@ Average Price
- Delta Value
- Inventory Value
* -
- 0
- $0
- 0
-
- 0
* - Receive 8 Products at 10
- 10
- $0
* - Receive 8 Products at $10
- $10
- 8
- +8*10
- 80
* - Receive 4 Products at 16
- 12
- +8*$10
- $80
* - Receive 4 Products at $16
- $12
- 12
- +4*16
- 144
- +4*$16
- $144
* - Deliver 10 Products
- 12
- $12
- 2
- | -10*12
- | -10*$12
|
- 24
* - Receive 2 Products at 6
- 9
- $24
* - Receive 2 Products at $6
- $9
- 4
- +2*6
- 36
- +2*$6
- $36
The **Average Price** method recomputes the cost price as a receipt order
has been processed, based on prices defined in tied purchase orders:
@ -131,31 +131,31 @@ FIFO
- Delta Value
- Inventory Value
* -
- 0
- $0
- 0
-
- 0
* - Receive 8 Products at 10
- 10
- $0
* - Receive 8 Products at $10
- $10
- 8
- +8*10
- 80
* - Receive 4 Products at 16
- 12
- +8*$10
- $80
* - Receive 4 Products at $16
- $12
- 12
- +4*16
- 144
- +4*$16
- $144
* - Deliver 10 Products
- 16
- $16
- 2
- | -8*10
| -2*16
- 32
* - Receive 2 Products at 6
- 11
- | -8*$10
| -2*$16
- $32
* - Receive 2 Products at $6
- $11
- 4
- +2*6
- 44
- +2*$6
- $44
For **Real Price** (FIFO, LIFO, FEFO, etc), the costing is further
refined by the removal strategy set on the warehouse location
@ -184,31 +184,31 @@ LIFO (not accepted in IFRS)
- Delta Value
- Inventory Value
* -
- 0
- $0
- 0
-
- 0
* - Receive 8 Products at 10
- 10
- $0
* - Receive 8 Products at $10
- $10
- 8
- +8*10
- 80
* - Receive 4 Products at 16
- 12
- +8*$10
- $80
* - Receive 4 Products at $16
- $12
- 12
- +4*16
- 144
- +4*$16
- $144
* - Deliver 10 Products
- 10
- $10
- 2
- | -4*16
| -6*10
- 20
* - Receive 2 Products at 6
- 8
- | -4*$16
| -6*$10
- $20
* - Receive 2 Products at $6
- $8
- 4
- +2*6
- 32
- +2*$6
- $32
For **Real Price** (FIFO, LIFO, FEFO, etc), the costing is further
refined by the removal strategy set on the warehouse location