ilscipio/scipio-erp

View on GitHub
applications/commonext/data/GlAccountData.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
    http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
-->
<entity-engine-xml>
    <!-- General Ledger Setup for the organization -->
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="100000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="111000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="111100" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="112000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="120000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="125000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="121800" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="122000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="122100" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="122200" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="122300" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="122500" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="140000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="141000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="142000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="210000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="213000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="213200" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="213300" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="213500" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="214000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="215000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="221100" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="224000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="224100" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="224106" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="224140" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="224151" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="224153" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="224209" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="336000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="400000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="401000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="409000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="410000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="421000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="422000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="423000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="424000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="500000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="510000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="514000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="515000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="516100" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="600000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="601000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="601100" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="601200" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="601300" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="601400" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="602100" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="602200" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="603100" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="603200" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="604000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="605000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="625000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="650000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="804000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="810000" fromDate="${fromDate}"/>
    <GlAccountOrganization organizationPartyId="${orgPartyId}" glAccountId="900000" fromDate="${fromDate}"/>
    
    <!-- Default mapping between account types and account ids -->
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="ACCOUNTS_RECEIVABLE" glAccountId="120000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="INTRSTINC_RECEIVABLE" glAccountId="121800"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="INVENTORY_XFER_OUT" glAccountId="125000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="INVENTORY_ACCOUNT" glAccountId="140000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="RAWMAT_INVENTORY" glAccountId="141000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="WIP_INVENTORY" glAccountId="142000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="PREPAID_EXPENSES" glAccountId="150000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="ACCOUNTS_PAYABLE" glAccountId="210000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="CUSTOMER_CREDIT" glAccountId="213000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="CUSTOMER_DEPOSIT" glAccountId="213300"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="UNINVOICED_SHIP_RCPT" glAccountId="214000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="INVENTORY_XFER_IN" glAccountId="215000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="COMMISSIONS_PAYABLE" glAccountId="221100"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="RETAINED_EARNINGS" glAccountId="336000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="SALES_ACCOUNT" glAccountId="400000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="COGS_ACCOUNT" glAccountId="500000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="INV_ADJ_VAL" glAccountId="515000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="OPERATING_EXPENSE" glAccountId="600000"/>
    <GlAccountTypeDefault organizationPartyId="${orgPartyId}" glAccountTypeId="TAX_ACCOUNT" glAccountId="900000"/>
    
    <!-- mappings for payments -->
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="CUSTOMER_REFUND" glAccountTypeId="CUSTOMER_CREDIT"/>
    <!-- NOTE: do not change this -->
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="VENDOR_PAYMENT" glAccountTypeId="ACCOUNTS_PAYABLE"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="VENDOR_PREPAY" glAccountTypeId="PREPAID_EXPENSES"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="COMMISSION_PAYMENT" glAccountTypeId="COMMISSIONS_PAYABLE"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="PAY_CHECK" glAccountTypeId="CUSTOMER_CREDIT"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="GC_WITHDRAWAL" glAccountTypeId="CUSTOMER_CREDIT"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="SALES_TAX_PAYMENT" glAccountTypeId="TAX_ACCOUNT"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="PAYROL_PAYMENT" glAccountTypeId="OPERATING_EXPENSE"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="PAYROLL_TAX_PAYMENT" glAccountTypeId="TAX_ACCOUNT"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="INCOME_TAX_PAYMENT" glAccountTypeId="TAX_ACCOUNT"/>
    
    <!-- NOTE: do not change this -->
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="CUSTOMER_PAYMENT" glAccountTypeId="ACCOUNTS_RECEIVABLE"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="CUSTOMER_DEPOSIT" glAccountTypeId="CUSTOMER_DEPOSIT"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="INTEREST_RECEIPT" glAccountTypeId="INTRSTINC_RECEIVABLE"/>
    <PaymentGlAccountTypeMap organizationPartyId="${orgPartyId}" paymentTypeId="GC_DEPOSIT" glAccountTypeId="CUSTOMER_DEPOSIT"/>
    
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="GIFT_CERTIFICATE" glAccountId="120000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="CASH" glAccountId="112000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="EFT_ACCOUNT" glAccountId="111100"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="FIN_ACCOUNT" glAccountId="111100"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="PERSONAL_CHECK" glAccountId="112000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="COMPANY_CHECK" glAccountId="112000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="CERTIFIED_CHECK" glAccountId="112000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="MONEY_ORDER" glAccountId="112000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="COMPANY_ACCOUNT" glAccountId="111100"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="EXT_BILLACT" glAccountId="213000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="EXT_COD" glAccountId="112000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="EXT_EBAY" glAccountId="112000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="EXT_OFFLINE" glAccountId="112000"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="EXT_PAYPAL" glAccountId="122500"/>
    <PaymentMethodTypeGlAccount organizationPartyId="${orgPartyId}" paymentMethodTypeId="EXT_WORLDPAY" glAccountId="122500"/>
    <CreditCardTypeGlAccount organizationPartyId="${orgPartyId}" cardType="CCT_AMERICANEXPRESS" glAccountId="122100"/>
    <CreditCardTypeGlAccount organizationPartyId="${orgPartyId}" cardType="CCT_DINERSCLUB" glAccountId="122100"/>
    <CreditCardTypeGlAccount organizationPartyId="${orgPartyId}" cardType="CCT_DISCOVER" glAccountId="122200"/>
    <CreditCardTypeGlAccount organizationPartyId="${orgPartyId}" cardType="CCT_VISA" glAccountId="122300"/>
    <CreditCardTypeGlAccount organizationPartyId="${orgPartyId}" cardType="CCT_MASTERCARD" glAccountId="122300"/>
    
    <FinAccountTypeGlAccount organizationPartyId="${orgPartyId}" finAccountTypeId="GIFTCERT_ACCOUNT" glAccountId="213200"/>
    <FinAccountTypeGlAccount organizationPartyId="${orgPartyId}" finAccountTypeId="DEPOSIT_ACCOUNT" glAccountId="213500"/>
    <FinAccountTypeGlAccount organizationPartyId="${orgPartyId}" finAccountTypeId="BANK_ACCOUNT" glAccountId="213500"/>
    <FinAccountTypeGlAccount organizationPartyId="${orgPartyId}" finAccountTypeId="INVESTMENT_ACCOUNT" glAccountId="213500"/>
    
    <VarianceReasonGlAccount organizationPartyId="${orgPartyId}" varianceReasonId="VAR_LOST" glAccountId="514000"/>
    <VarianceReasonGlAccount organizationPartyId="${orgPartyId}" varianceReasonId="VAR_STOLEN" glAccountId="514000"/>
    <VarianceReasonGlAccount organizationPartyId="${orgPartyId}" varianceReasonId="VAR_FOUND" glAccountId="514000"/>
    <VarianceReasonGlAccount organizationPartyId="${orgPartyId}" varianceReasonId="VAR_DAMAGED" glAccountId="514000"/>
    <VarianceReasonGlAccount organizationPartyId="${orgPartyId}" varianceReasonId="VAR_INTEGR" glAccountId="514000"/>
    <VarianceReasonGlAccount organizationPartyId="${orgPartyId}" varianceReasonId="VAR_SAMPLE" glAccountId="625000"/>

</entity-engine-xml>