Pub 946 Compliance
This commit is contained in:
@@ -363,6 +363,7 @@ function buildLine(o) {
|
||||
|
||||
// Capitalize a Construction-in-progress asset: place it in service and post Dr asset / Cr CWIP.
|
||||
function capitalizeWip(assetId, body, userId, companyId) {
|
||||
require('./midQuarter').clearCache(); // status cip→in_service changes the placed-in-service set
|
||||
const glEntries = require('./glEntries');
|
||||
const { getDefaults } = require('./glAccounts');
|
||||
const asset = one('SELECT * FROM assets WHERE id = ? AND entity_id = ?', [assetId, companyId]);
|
||||
|
||||
Reference in New Issue
Block a user