CAC Inventory Accounts Setup

Description

Categories
Enginatics
Repository
GitHub
Report to show Valuation, Receiving, Profit and Loss and Inter-Org accounts as setup in the inventory organization parameters.

/* +=============================================================================+
-- | Copyright 2009 - 2020 Douglas Volz Consulting, Inc. |
-- | All rights reserved. |
-- | Permission to use this code is granted provided the original author is |
-- | acknowledged. No warranties, express or otherwise is included in this |
-- | permission. |
-- +=============================================================================+
-- |
-- | Original Author: Douglas Volz ([email protected])
-- |
-- | Program Name: xxx_inv_accts_setup_rept.sql
-- |
-- | Parameters:
-- | p_account_group -- The group of inventory organization parameter accounts
-- | you wish to report
-- | p_org_code -- Specific inventory organization you wish to report (optional)
-- | p_operating_unit -- Operating Unit you wish to report, leave blank for all
-- | operating units (optional)
-- | p_ledger -- general ledger you wish to report, leave blank for all
-- | ledgers (optional)
-- | Description:
-- | Report to show Valuation, Receiving, Profit and Loss and Inter-Org accounts
-- | as setup in the inventory organization parameters
-- |
-- | Version Modified on Modified by Description
-- | ======= =========== ============== =========================================
-- | 1.11 06 Mar 2019 Douglas Volz Added Cost Variance Account, used with Average, FIFO, LIFO
-- | 1.12 14 Mar 2019 Douglas Volz Added Expense A/P Accrual Account, Retroactive Price
-- | Adjustment Account, Receiving Clearing Account.
-- | 1.13 12 Jan 2020 Douglas Volz Added Org Code and Operating Unit parameters,
-- | an outer join to gcc in case of invalid accounts
-- | and change to gl.short_name.
-- | 1.14 28 Feb 2020 Douglas Volz Changed to multi-language views for the item
-- | master, inventory orgs and operating units.
-- | 1.15 24 Oct 2026 Andy Haack Rebuilt to the Blitz Report SQL standards.
-- +=============================================================================+*/

SQL 108 lines

Parameters 4

ParameterTypeList of values SQL
Account GroupLOV
Organization CodeLOV
mp.organization_code=:p_org_code
Operating UnitLOV
haouv_ou.name=:p_operating_unit
LedgerLOV
gl.name=:p_ledger