Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed Budget and relatd entities. #222

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
248 changes: 0 additions & 248 deletions entity/DatamodelAccountingEntitymodel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,225 +19,6 @@ under the License.
-->

<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/entity-definition-3.xsd">
<!-- TODO: skipped element title -->
<!-- TODO: skipped element version -->
<entity entity-name="Budget" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="budgetTypeId" type="id"></field>
<field name="customTimePeriodId" type="id"></field>
<field name="comments" type="text-long"></field>
<relationship type="one" fk-name="BUDGET_BGTTYP" related="org.apache.ofbiz.accounting.budget.BudgetType">
<key-map field-name="budgetTypeId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_CTP" related="org.apache.ofbiz.common.period.CustomTimePeriod">
<key-map field-name="customTimePeriodId"/>
</relationship>
<relationship type="many" related="org.apache.ofbiz.accounting.budget.BudgetTypeAttr">
<key-map field-name="budgetTypeId"/>
</relationship>
</entity>
<entity entity-name="BudgetAttribute" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="attrName" type="id-long" is-pk="true"></field>
<field name="attrValue" type="text-long"></field>
<field name="attrDescription" type="text-long"></field>
<relationship type="one" fk-name="BUDGET_ATTR_BDGT" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetId"/>
</relationship>
<relationship type="many" related="org.apache.ofbiz.accounting.budget.BudgetTypeAttr">
<key-map field-name="attrName"/>
</relationship>
</entity>
<entity entity-name="BudgetItem" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="budgetItemSeqId" type="id" is-pk="true"></field>
<field name="budgetItemTypeId" type="id"></field>
<field name="amount" type="currency-amount"></field>
<field name="purpose" type="text-long"></field>
<field name="justification" type="text-long"></field>
<relationship type="one" fk-name="BDGTITM_TO_BDGT" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_ITEM_BTYP" related="org.apache.ofbiz.accounting.budget.BudgetItemType">
<key-map field-name="budgetItemTypeId"/>
</relationship>
<relationship type="many" related="org.apache.ofbiz.accounting.budget.BudgetItemTypeAttr">
<key-map field-name="budgetItemTypeId"/>
</relationship>
</entity>
<entity entity-name="BudgetItemAttribute" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="budgetItemSeqId" type="id" is-pk="true"></field>
<field name="attrName" type="id-long" is-pk="true"></field>
<field name="attrValue" type="text-long"></field>
<field name="attrDescription" type="text-long"></field>
<relationship type="one" fk-name="BUDGET_ITEM_ATTR" related="org.apache.ofbiz.accounting.budget.BudgetItem">
<key-map field-name="budgetId"/>
<key-map field-name="budgetItemSeqId"/>
</relationship>
<relationship type="many" related="org.apache.ofbiz.accounting.budget.BudgetItemTypeAttr">
<key-map field-name="attrName"/>
</relationship>
</entity>
<entity entity-name="BudgetItemType" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetItemTypeId" type="id" is-pk="true"></field>
<field name="parentTypeId" type="id"></field>
<field name="hasTable" type="text-indicator"></field>
<field name="description" type="text-long"></field>
<relationship type="one" fk-name="BUDGET_ITM_TYPPAR" title="Parent" related="org.apache.ofbiz.accounting.budget.BudgetItemType">
<key-map field-name="parentTypeId" related="budgetItemTypeId"/>
</relationship>
</entity>
<entity entity-name="BudgetItemTypeAttr" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetItemTypeId" type="id" is-pk="true"></field>
<field name="attrName" type="id-long" is-pk="true"></field>
<field name="description" type="text-long"></field>
<relationship type="one" fk-name="BUDGET_ITMTYPATTR" related="org.apache.ofbiz.accounting.budget.BudgetItemType">
<key-map field-name="budgetItemTypeId"/>
</relationship>
<relationship type="many" related="org.apache.ofbiz.accounting.budget.BudgetItemAttribute">
<key-map field-name="attrName"/>
</relationship>
<relationship type="many" related="org.apache.ofbiz.accounting.budget.BudgetItem">
<key-map field-name="budgetItemTypeId"/>
</relationship>
</entity>
<entity entity-name="BudgetReview" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="budgetReviewId" type="id" is-pk="true"></field>
<field name="partyId" type="id" is-pk="true"></field>
<field name="budgetReviewResultTypeId" type="id" is-pk="true"></field>
<field name="reviewDate" type="date-time"></field>
<relationship type="one" fk-name="BUDGET_RVW_BDGT" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_RVW_PARTY" related="org.apache.ofbiz.party.party.Party">
<key-map field-name="partyId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_RVW_RTYPE" related="org.apache.ofbiz.accounting.budget.BudgetReviewResultType">
<key-map field-name="budgetReviewResultTypeId"/>
</relationship>
</entity>
<entity entity-name="BudgetReviewResultType" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetReviewResultTypeId" type="id" is-pk="true"></field>
<field name="description" type="text-long"></field>
<field name="comments" type="text-long"></field>
</entity>
<entity entity-name="BudgetRevision" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="revisionSeqId" type="id" is-pk="true"></field>
<field name="dateRevised" type="date-time"></field>
<relationship type="one" fk-name="BUDGET_RVSN_BDGT" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetId"/>
</relationship>
</entity>
<entity entity-name="BudgetRevisionImpact" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="budgetItemSeqId" type="id" is-pk="true"></field>
<field name="revisionSeqId" type="id" is-pk="true"></field>
<field name="revisedAmount" type="currency-amount"></field>
<field name="addDeleteFlag" type="text-indicator"></field>
<field name="revisionReason" type="text-long"></field>
<relationship type="one" fk-name="BUDGET_RNIMP_BDGT" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_RNIMP_BITM" related="org.apache.ofbiz.accounting.budget.BudgetItem">
<key-map field-name="budgetId"/>
<key-map field-name="budgetItemSeqId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_RNIMP_REV" related="org.apache.ofbiz.accounting.budget.BudgetRevision">
<key-map field-name="budgetId"/>
<key-map field-name="revisionSeqId"/>
</relationship>
</entity>
<entity entity-name="BudgetRole" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="partyId" type="id" is-pk="true"></field>
<field name="roleTypeId" type="id" is-pk="true"></field>
<relationship type="one" fk-name="BUDGET_ROLE_BDGT" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_ROLE_PARTY" related="org.apache.ofbiz.party.party.Party">
<key-map field-name="partyId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_ROLE_PROLE" related="org.apache.ofbiz.party.party.PartyRole">
<key-map field-name="partyId"/>
<key-map field-name="roleTypeId"/>
</relationship>
</entity>
<entity entity-name="BudgetScenario" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetScenarioId" type="id" is-pk="true"></field>
<field name="description" type="text-long"></field>
</entity>
<entity entity-name="BudgetScenarioApplication" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetScenarioApplicId" type="id" is-pk="true"></field>
<field name="budgetScenarioId" type="id" is-pk="true"></field>
<field name="budgetId" type="id"></field>
<field name="budgetItemSeqId" type="id"></field>
<field name="amountChange" type="currency-amount"></field>
<field name="percentageChange" type="number-decimal"></field>
<relationship type="one" fk-name="BUDGET_SAPL_BSCN" related="org.apache.ofbiz.accounting.budget.BudgetScenario">
<key-map field-name="budgetScenarioId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_SAPL_BDGT" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_SAPL_BITM" related="org.apache.ofbiz.accounting.budget.BudgetItem">
<key-map field-name="budgetId"/>
<key-map field-name="budgetItemSeqId"/>
</relationship>
</entity>
<entity entity-name="BudgetScenarioRule" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetScenarioId" type="id" is-pk="true"></field>
<field name="budgetItemTypeId" type="id" is-pk="true"></field>
<field name="amountChange" type="currency-amount"></field>
<field name="percentageChange" type="number-decimal"></field>
<relationship type="one" fk-name="BUDGET_SRLE_BSCN" related="org.apache.ofbiz.accounting.budget.BudgetScenario">
<key-map field-name="budgetScenarioId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_SRLE_BITP" related="org.apache.ofbiz.accounting.budget.BudgetItemType">
<key-map field-name="budgetItemTypeId"/>
</relationship>
</entity>
<entity entity-name="BudgetStatus" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="statusId" type="id" is-pk="true"></field>
<field name="statusDate" type="date-time"></field>
<field name="comments" type="text-long"></field>
<field name="changeByUserLoginId" type="id-long"></field>
<relationship type="one" fk-name="BUDGET_STTS_BDGT" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_STTS_STTS" related="org.apache.ofbiz.common.status.StatusItem">
<key-map field-name="statusId"/>
</relationship>
<relationship type="one" fk-name="BUDGET_STTS_USRLGN" title="ChangeBy" related="org.apache.ofbiz.security.login.UserLogin">
<key-map field-name="changeByUserLoginId" related="userLoginId"/>
</relationship>
</entity>
<entity entity-name="BudgetType" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetTypeId" type="id" is-pk="true"></field>
<field name="parentTypeId" type="id"></field>
<field name="hasTable" type="text-indicator"></field>
<field name="description" type="text-long"></field>
<relationship type="one" fk-name="BUDGET_TYPE_PAR" title="Parent" related="org.apache.ofbiz.accounting.budget.BudgetType">
<key-map field-name="parentTypeId" related="budgetTypeId"/>
</relationship>
</entity>
<entity entity-name="BudgetTypeAttr" package="org.apache.ofbiz.accounting.budget" group="ofbiz_transactional">
<field name="budgetTypeId" type="id" is-pk="true"></field>
<field name="attrName" type="id-long" is-pk="true"></field>
<field name="description" type="text-long"></field>
<relationship type="one" fk-name="BUDGET_TPATR_BT" related="org.apache.ofbiz.accounting.budget.BudgetType">
<key-map field-name="budgetTypeId"/>
</relationship>
<relationship type="many" related="org.apache.ofbiz.accounting.budget.BudgetAttribute">
<key-map field-name="attrName"/>
</relationship>
<relationship type="many" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetTypeId"/>
</relationship>
</entity>
<entity entity-name="FinAccount" package="org.apache.ofbiz.accounting.finaccount" group="ofbiz_transactional">
<field name="finAccountId" type="id" is-pk="true"></field>
<field name="finAccountTypeId" type="id"></field>
Expand Down Expand Up @@ -1587,19 +1368,6 @@ under the License.
<key-map field-name="glAccountId"/>
</relationship>
</entity>
<entity entity-name="GlBudgetXref" package="org.apache.ofbiz.accounting.ledger" group="ofbiz_transactional">
<field name="glAccountId" type="id" is-pk="true"></field>
<field name="budgetItemTypeId" type="id" is-pk="true"></field>
<field name="fromDate" type="date-time" is-pk="true"></field>
<field name="thruDate" type="date-time"></field>
<field name="allocationPercentage" type="number-decimal"></field>
<relationship type="one" fk-name="GL_BDGT_XRF_GLA" related="org.apache.ofbiz.accounting.ledger.GlAccount">
<key-map field-name="glAccountId"/>
</relationship>
<relationship type="one" fk-name="GL_BDGT_XRF_BIT" related="org.apache.ofbiz.accounting.budget.BudgetItemType">
<key-map field-name="budgetItemTypeId"/>
</relationship>
</entity>
<entity entity-name="GlFiscalType" package="org.apache.ofbiz.accounting.ledger" group="ofbiz_transactional">
<field name="glFiscalTypeId" type="id" is-pk="true"></field>
<field name="description" type="text-long"></field>
Expand Down Expand Up @@ -2109,22 +1877,6 @@ under the License.
<key-map field-name="attrName"/>
</relationship>
</entity>
<entity entity-name="PaymentBudgetAllocation" package="org.apache.ofbiz.accounting.payment" group="ofbiz_transactional">
<field name="budgetId" type="id" is-pk="true"></field>
<field name="budgetItemSeqId" type="id" is-pk="true"></field>
<field name="paymentId" type="id" is-pk="true"></field>
<field name="amount" type="currency-amount"></field>
<relationship type="one" fk-name="PAYMENT_BA_BDGT" related="org.apache.ofbiz.accounting.budget.Budget">
<key-map field-name="budgetId"/>
</relationship>
<relationship type="one-nofk" related="org.apache.ofbiz.accounting.budget.BudgetItem">
<key-map field-name="budgetId"/>
<key-map field-name="budgetItemSeqId"/>
</relationship>
<relationship type="one" fk-name="PAYMENT_BA_PMT" related="org.apache.ofbiz.accounting.payment.Payment">
<key-map field-name="paymentId"/>
</relationship>
</entity>
<entity entity-name="PaymentContent" package="org.apache.ofbiz.accounting.payment" group="ofbiz_transactional">
<field name="paymentId" type="id" is-pk="true"></field>
<field name="paymentContentTypeId" type="id" is-pk="true"></field>
Expand Down