diff --git a/applications/accounting/config/AccountingUiLabels.xml b/applications/accounting/config/AccountingUiLabels.xml
index 604eaa43e0..9dcb5c4868 100644
--- a/applications/accounting/config/AccountingUiLabels.xml
+++ b/applications/accounting/config/AccountingUiLabels.xml
@@ -3319,6 +3319,9 @@
Export as PDF
पीडीएफ के रूप में करे निर्यात
+
+ Export with Invoice and Payment as PDF
+
دليل حساب محاسبي خارجي
Externe Konten-Nr.
@@ -9118,6 +9121,39 @@
Total Quantity On Hand
कुल मात्रा हाथ पर
+
+ Cost Of Good Sold
+
+
+ Gross Margin
+
+
+ Operating Expenses
+
+
+ Depreciation
+
+
+ Income From Operations
+
+
+ Current Assets
+
+
+ Long Term Assets
+
+
+ Total Accumulated Depreciation
+
+
+ Total Assets
+
+
+ Current Liabilities
+
+
+ Total Liabilities and Equities
+
Transaction Is already Reconciled
गतिविधि पहले से ही समझौता है
diff --git a/applications/accounting/webapp/accounting/WEB-INF/actions/reports/AcctgTransEntriesSearchResultsParameters.groovy b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/AcctgTransEntriesSearchResultsParameters.groovy
new file mode 100644
index 0000000000..11f5b72f16
--- /dev/null
+++ b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/AcctgTransEntriesSearchResultsParameters.groovy
@@ -0,0 +1,48 @@
+/*
+* 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.
+*/
+
+def module = "AcctgTransEntriesSearchResultsParameters.groovy";
+
+try {
+ def birtParameters = [:];
+ birtParameters.organizationPartyId = parameters.organizationPartyId;
+ birtParameters.produtId = parameters.produtId;
+ birtParameters.isPosted = parameters.isPosted;
+ birtParameters.invoiceId = parameters.invoiceId;
+ birtParameters.acctgTransId = parameters.acctgTransId;
+ birtParameters.glFiscalTypeId = parameters.glFiscalTypeId;
+ birtParameters.glAccountId = parameters.glAccountId;
+ birtParameters.shipmentId = parameters.shipmentId;
+ birtParameters.acctgTransTypeId = parameters.acctgTransTypeId;
+ birtParameters.workEffortId = parameters.workEffortId;
+ birtParameters.glJournalId = parameters.glJournalId;
+ birtParameters.partyId = parameters.partyId;
+ birtParameters.paymentId = parameters.paymentId;
+ if (parameters.fromDate) {
+ birtParameters.fromDate = Timestamp.valueOf(parameters.fromDate);
+ }
+ if (parameters.thruDate) {
+ birtParameters.thruDate = Timestamp.valueOf(parameters.thruDate);
+ }
+ birtParameters.userLoginId = userLogin.userLoginId;
+ request.setAttribute("birtParameters", birtParameters);
+} catch (e) {
+ Debug.logError(e, module);
+}
+return "success";
\ No newline at end of file
diff --git a/applications/accounting/webapp/accounting/WEB-INF/actions/reports/BalanceSheetParameters.groovy b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/BalanceSheetParameters.groovy
new file mode 100644
index 0000000000..2e4d513aab
--- /dev/null
+++ b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/BalanceSheetParameters.groovy
@@ -0,0 +1,37 @@
+/*
+ * 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.
+ */
+
+def module = "BalanceSheetParameters.groovy";
+
+try {
+ def birtParameters = [:];
+ if (parameters.fromDate) {
+ birtParameters.fromDate = Timestamp.valueOf(parameters.fromDate);
+ }
+ if (parameters.thruDate) {
+ birtParameters.thruDate = Timestamp.valueOf(parameters.thruDate);
+ }
+ birtParameters.glFiscalTypeId = parameters.glFiscalTypeId;
+ birtParameters.organizationPartyId = parameters.organizationPartyId;
+ birtParameters.userLoginId = userLogin.userLoginId;
+ request.setAttribute("birtParameters", birtParameters);
+} catch (e) {
+ Debug.logError(e, module);
+}
+return "success";
\ No newline at end of file
diff --git a/applications/accounting/webapp/accounting/WEB-INF/actions/reports/IncomeStatementParameters.groovy b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/IncomeStatementParameters.groovy
new file mode 100644
index 0000000000..7a820804a4
--- /dev/null
+++ b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/IncomeStatementParameters.groovy
@@ -0,0 +1,37 @@
+/*
+ * 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.
+ */
+
+def module = "IncomeStatementParameters.groovy";
+
+try {
+ def birtParameters = [:];
+ if (parameters.fromDate) {
+ birtParameters.fromDate = Timestamp.valueOf(parameters.fromDate);
+ }
+ if (parameters.thruDate) {
+ birtParameters.thruDate = Timestamp.valueOf(parameters.thruDate);
+ }
+ birtParameters.glFiscalTypeId = parameters.glFiscalTypeId;
+ birtParameters.organizationPartyId = parameters.organizationPartyId;
+ birtParameters.userLoginId = userLogin.userLoginId;
+ request.setAttribute("birtParameters", birtParameters);
+} catch (e) {
+ Debug.logError(e, module);
+}
+return "success";
\ No newline at end of file
diff --git a/applications/accounting/webapp/accounting/WEB-INF/actions/reports/InvoiceAcctgTransEntryParameters.groovy b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/InvoiceAcctgTransEntryParameters.groovy
new file mode 100644
index 0000000000..f32fc6eadb
--- /dev/null
+++ b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/InvoiceAcctgTransEntryParameters.groovy
@@ -0,0 +1,30 @@
+/*
+ * 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.
+ */
+
+def module = "InvoiceAcctgTransEntryParameters.groovy";
+
+try {
+ birtParameters = [:];
+ birtParameters.invoiceId = parameters.invoiceId;
+ birtParameters.userLoginId = userLogin.userLoginId;
+ request.setAttribute("birtParameters", birtParameters);
+} catch (e) {
+ Debug.logError(e, module);
+}
+return "success";
\ No newline at end of file
diff --git a/applications/accounting/webapp/accounting/WEB-INF/actions/reports/PaymentAcctgTransEntryParameters.groovy b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/PaymentAcctgTransEntryParameters.groovy
new file mode 100644
index 0000000000..9b905d91a8
--- /dev/null
+++ b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/PaymentAcctgTransEntryParameters.groovy
@@ -0,0 +1,30 @@
+/*
+ * 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.
+ */
+
+def module = "PaymentAcctgTransEntryParameters.groovy";
+
+try {
+ birtParameters = [:];
+ birtParameters.paymentId = parameters.paymentId;
+ birtParameters.userLoginId = userLogin.userLoginId;
+ request.setAttribute("birtParameters", birtParameters);
+} catch (e) {
+ Debug.logError(e, module);
+}
+return "success";
\ No newline at end of file
diff --git a/applications/accounting/webapp/accounting/WEB-INF/actions/reports/TrialBalanceParameters.groovy b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/TrialBalanceParameters.groovy
new file mode 100644
index 0000000000..a3ce99d3a0
--- /dev/null
+++ b/applications/accounting/webapp/accounting/WEB-INF/actions/reports/TrialBalanceParameters.groovy
@@ -0,0 +1,31 @@
+/*
+ * 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.
+ */
+
+def module = "TrialBalanceParameters.groovy";
+
+try {
+ def birtParameters = [:];
+ birtParameters.organizationPartyId = parameters.organizationPartyId;
+ birtParameters.customTimePeriodId = parameters.customTimePeriodId;
+ birtParameters.userLoginId = userLogin.userLoginId;
+ request.setAttribute("birtParameters", birtParameters);
+} catch (e) {
+ Debug.logError(e, module);
+}
+return "success";
\ No newline at end of file
diff --git a/applications/accounting/webapp/accounting/WEB-INF/controller.xml b/applications/accounting/webapp/accounting/WEB-INF/controller.xml
index bf318338cf..defa31cb9f 100644
--- a/applications/accounting/webapp/accounting/WEB-INF/controller.xml
+++ b/applications/accounting/webapp/accounting/WEB-INF/controller.xml
@@ -2156,6 +2156,11 @@ under the License.
+
+
+
+
+
@@ -2201,6 +2206,12 @@ under the License.
+
+
+
+
+
+
@@ -2370,6 +2381,12 @@ under the License.
+
+
+
+
+
+
@@ -2392,6 +2409,7 @@ under the License.
+
@@ -2407,11 +2425,13 @@ under the License.
+
+
@@ -2587,6 +2607,7 @@ under the License.
+
@@ -2788,22 +2809,23 @@ under the License.
+
-
+
-
+
-
+
@@ -2842,6 +2864,7 @@ under the License.
+
diff --git a/applications/accounting/webapp/accounting/reports/AcctgTransEntriesSearchResultsInvoiceAndPayment.rptdesign b/applications/accounting/webapp/accounting/reports/AcctgTransEntriesSearchResultsInvoiceAndPayment.rptdesign
new file mode 100644
index 0000000000..4841616c75
--- /dev/null
+++ b/applications/accounting/webapp/accounting/reports/AcctgTransEntriesSearchResultsInvoiceAndPayment.rptdesign
@@ -0,0 +1,2033 @@
+
+
+ Eclipse BIRT Designer Version 2.6.0.v20100531 Build <2.6.0.v20100609-1613>
+ in
+
+ /templates/blank_report.gif
+ ltr
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ dateTime
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ dateTime
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+
+
+
+
+
+
+
+ 1
+ glFiscalTypeId
+ string
+
+
+ 2
+ acctgTransTypeId
+ string
+
+
+ 3
+ transactionDate
+ date-time
+
+
+ 4
+ postedDate
+ date-time
+
+
+ 5
+ transDescription
+ string
+
+
+ 6
+ glJournalId
+ string
+
+
+ 7
+ invoiceId
+ string
+
+
+ 8
+ paymentId
+ string
+
+
+ 9
+ glAccountId
+ string
+
+
+ 10
+ debitCreditFlag
+ string
+
+
+ 11
+ amount
+ decimal
+
+
+ 12
+ currencyUomId
+ string
+
+
+ 13
+ origAmount
+ decimal
+
+
+ 14
+ origCurrencyUomId
+ string
+
+
+ 15
+ glAccountTypeId
+ string
+
+
+ 16
+ accountCode
+ string
+
+
+ 17
+ accountName
+ string
+
+
+ 18
+ glAccountClassId
+ string
+
+
+ 19
+ partyId
+ string
+
+
+
+
+ glFiscalTypeId
+ glFiscalTypeId
+
+
+ acctgTransTypeId
+ acctgTransTypeId
+
+
+ transactionDate
+ transactionDate
+
+
+ postedDate
+ postedDate
+
+
+ transDescription
+ transDescription
+
+
+ glJournalId
+ glJournalId
+
+
+ invoiceId
+ invoiceId
+
+
+ paymentId
+ paymentId
+
+
+ glAccountId
+ glAccountId
+
+
+ debitCreditFlag
+ debitCreditFlag
+
+
+ amount
+ amount
+
+
+ currencyUomId
+ currencyUomId
+
+
+ origAmount
+ origAmount
+
+
+ origCurrencyUomId
+ origCurrencyUomId
+
+
+ glAccountTypeId
+ glAccountTypeId
+
+
+ accountCode
+ accountCode
+
+
+ accountName
+ accountName
+
+
+ glAccountClassId
+ glAccountClassId
+
+
+ partyId
+ partyId
+
+
+
+
+
+ 1
+ glFiscalTypeId
+ string
+
+
+ 2
+ acctgTransTypeId
+ string
+
+
+ 3
+ transactionDate
+ date-time
+
+
+ 4
+ postedDate
+ date-time
+
+
+ 5
+ transDescription
+ string
+
+
+ 6
+ glJournalId
+ string
+
+
+ 7
+ invoiceId
+ string
+
+
+ 8
+ paymentId
+ string
+
+
+ 9
+ glAccountId
+ string
+
+
+ 10
+ debitCreditFlag
+ string
+
+
+ 11
+ amount
+ decimal
+
+
+ 12
+ currencyUomId
+ string
+
+
+ 13
+ origAmount
+ decimal
+
+
+ 14
+ origCurrencyUomId
+ string
+
+
+ 15
+ glAccountTypeId
+ string
+
+
+ 16
+ accountCode
+ string
+
+
+ 17
+ accountName
+ string
+
+
+ 18
+ glAccountClassId
+ string
+
+
+ 19
+ partyId
+ string
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var acctgTransAndEntry = acctgTransAndEntries.get(countOfRow);
+row["glFiscalTypeId"] = acctgTransAndEntry.get("glFiscalTypeId");
+row["acctgTransTypeId"] = acctgTransAndEntry.get("acctgTransTypeId");
+row["transactionDate"] = acctgTransAndEntry.get("transactionDate");
+row["postedDate"] = acctgTransAndEntry.get("postedDate");
+row["transDescription"] = acctgTransAndEntry.get("transDescription");
+row["glJournalId"] = acctgTransAndEntry.get("glJournalId");
+row["invoiceId"] = acctgTransAndEntry.get("invoiceId");
+row["paymentId"] = acctgTransAndEntry.get("paymentId");
+row["glAccountId"] = acctgTransAndEntry.get("glAccountId");
+row["debitCreditFlag"] = acctgTransAndEntry.get("debitCreditFlag");
+row["amount"] = acctgTransAndEntry.get("amount");
+row["currencyUomId"] = acctgTransAndEntry.get("currencyUomId");
+row["origAmount"] = acctgTransAndEntry.get("origAmount");
+row["origCurrencyUomId"] = acctgTransAndEntry.get("origCurrencyUomId");
+row["glAccountTypeId"] = acctgTransAndEntry.get("glAccountTypeId");
+row["accountCode"] = acctgTransAndEntry.get("accountCode");
+row["accountName"] = acctgTransAndEntry.get("accountName");
+row["glAccountClassId"] = acctgTransAndEntry.get("glAccountClassId");
+row["partyId"] = acctgTransAndEntry.get("partyId");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+ 1
+ partyId
+ string
+
+
+ 2
+ partyName
+ string
+
+
+ 3
+ address1
+ string
+
+
+ 4
+ address2
+ string
+
+
+ 5
+ city
+ string
+
+
+ 6
+ stateProvinceAbbr
+ string
+
+
+ 7
+ postalCode
+ string
+
+
+ 8
+ countryName
+ string
+
+
+ 9
+ sendingPartyTaxId
+ string
+
+
+ 10
+ phoneCountryCode
+ string
+
+
+ 11
+ phoneAreaCode
+ string
+
+
+ 12
+ phoneContactNumber
+ string
+
+
+ 13
+ emailAddress
+ string
+
+
+ 14
+ webSiteAddress
+ string
+
+
+ 15
+ eftAccountBankName
+ string
+
+
+ 16
+ eftAccountRoutingNumber
+ string
+
+
+ 17
+ eftAccountAccountNumber
+ string
+
+
+
+
+ partyId
+ partyId
+
+
+ partyName
+ partyName
+
+
+ address1
+ address1
+
+
+ address2
+ address2
+
+
+ city
+ city
+
+
+ stateProvinceAbbr
+ stateProvinceAbbr
+
+
+ postalCode
+ postalCode
+
+
+ countryName
+ countryName
+
+
+ sendingPartyTaxId
+ sendingPartyTaxId
+
+
+ phoneCountryCode
+ phoneCountryCode
+
+
+ phoneAreaCode
+ phoneAreaCode
+
+
+ phoneContactNumber
+ phoneContactNumber
+
+
+ emailAddress
+ emailAddress
+
+
+ webSiteAddress
+ webSiteAddress
+
+
+ eftAccountBankName
+ eftAccountBankName
+
+
+ eftAccountRoutingNumber
+ eftAccountRoutingNumber
+
+
+ eftAccountAccountNumber
+ eftAccountAccountNumber
+
+
+
+
+
+ 1
+ partyId
+ string
+
+
+ 2
+ partyName
+ string
+
+
+ 3
+ address1
+ string
+
+
+ 4
+ address2
+ string
+
+
+ 5
+ city
+ string
+
+
+ 6
+ stateProvinceAbbr
+ string
+
+
+ 7
+ postalCode
+ string
+
+
+ 8
+ countryName
+ string
+
+
+ 9
+ sendingPartyTaxId
+ string
+
+
+ 10
+ phoneCountryCode
+ string
+
+
+ 11
+ phoneAreaCode
+ string
+
+
+ 12
+ phoneContactNumber
+ string
+
+
+ 13
+ emailAddress
+ string
+
+
+ 14
+ webSiteAddress
+ string
+
+
+ 15
+ eftAccountBankName
+ string
+
+
+ 16
+ eftAccountRoutingNumber
+ string
+
+
+ 17
+ eftAccountAccountNumber
+ string
+
+
+
+ OFBiz
+
+ = totalRows) return false;
+
+var context = FastMap.newInstance();
+var parameters = FastMap.newInstance();
+context.put("partyId", organizationPartyId);
+context.put("nowTimestamp", UtilDateTime.nowTimestamp());
+context.put("locale", reportContext.getLocale());
+context.put("parameters", parameters);
+context.put("delegator", delegator);
+context.put("dispatcher", dispatcher);
+GroovyUtil.runScriptAtLocation("component://order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy", context);
+var postalAddress = context.get("postalAddress");
+var country = postalAddress.getRelatedOne("CountryGeo");
+var phone = context.get("phone");
+var email = context.get("email");
+var webSite = context.get("website");
+var eftAccount = context.get("eftAccount");
+
+row["partyId"] = organizationPartyId;
+row["partyName"] = context.get("companyName");
+row["sendingPartyTaxId"] = context.get("sendingPartyTaxId");
+row["stateProvinceAbbr"] = context.get("stateProvinceAbbr");
+
+if (postalAddress) {
+ row["address1"] = postalAddress.get("address1");
+ row["address2"] = postalAddress.get("address2");
+ row["city"] = postalAddress.get("city");
+ row["postalCode"] = postalAddress.get("postalCode");
+}
+
+if (country) {
+ row["countryName"] = country.get("geoName");
+}
+
+if (phone) {
+ row["phoneCountryCode"] = phone.get("countryCode");
+ row["phoneAreaCode"] = phone.get("areaCode");
+ row["phoneContactNumber"] = phone.get("contactNumber");
+}
+
+if (email) {
+ row["emailAddress"] = email.get("infoString");
+}
+
+if (webSite) {
+ row["webSiteAddress"] = webSite.get("infoString");
+ row["eftAccountBankName"] = webSite.get("bankName");
+ row["eftAccountRoutingNumber"] = webSite.get("routingNumber");
+ row["eftAccountAccountName"] = webSite.get("accountName");
+}
+
+countOfRow ++;
+return true;
+]]>
+
+
+
+
+
+
+
+
+
+ landscape
+ 2in
+
+
+ 10.363636363636363in
+
+ 0.797979797979798in
+ normal
+ left
+
+
+ 4.393939393939394in
+
+
+ 2.585858585858586in
+ 10pt
+ bold
+ right
+
+
+ 2.585858585858586in
+
+
+ |
+ 2
+ 1
+ left
+
+ 43px
+ 238px
+ 0) {
+ var dataResource = partyContents.get(0).getRelatedOne("Content").getRelatedOne("DataResource");
+ var dataResourceTypeId = dataResource.getString("dataResourceTypeId");
+ if ("LOCAL_FILE".equals(dataResourceTypeId)) {
+ this.file = dataResource.get("objectInfo");
+ } else {
+ this.URL = dataResource.get("objectInfo");
+ }
+} else {
+ this.URL = "http://localhost:8080/images/ofbiz_logo.gif";
+}]]>
+ url
+ false
+
+ |
+ |
+ |
+
+
+ |
+ 2
+ 1
+
+ nowrap
+ Organization
+
+
+ partyName
+ partyName
+ dataSetRow["partyName"]
+ string
+
+
+ partyName
+
+ |
+ |
+ |
+
+
+ |
+
+ nowrap
+ Organization
+
+
+ address1
+ address1
+ dataSetRow["address1"]
+ string
+
+
+ address1
+
+ |
+
+
+ nowrap
+ Organization
+
+
+ address2
+ address2
+ dataSetRow["address2"]
+ string
+
+
+ address2
+
+ |
+ |
+ |
+
+
+ |
+ 2
+ 1
+
+ Organization
+
+
+ partyId
+ dataSetRow["partyId"]
+ string
+
+
+ partyName
+ dataSetRow["partyName"]
+ string
+
+
+ address1
+ dataSetRow["address1"]
+ string
+
+
+ address2
+ dataSetRow["address2"]
+ string
+
+
+ city
+ dataSetRow["city"]
+ string
+
+
+ stateProvinceAbbr
+ dataSetRow["stateProvinceAbbr"]
+ string
+
+
+ postalCode
+ dataSetRow["postalCode"]
+ string
+
+
+ countryName
+ dataSetRow["countryName"]
+ string
+
+
+ sendingPartyTaxId
+ dataSetRow["sendingPartyTaxId"]
+ string
+
+
+ phoneCountryCode
+ dataSetRow["phoneCountryCode"]
+ string
+
+
+ phoneAreaCode
+ dataSetRow["phoneAreaCode"]
+ string
+
+
+ phoneContactNumber
+ dataSetRow["phoneContactNumber"]
+ string
+
+
+ emailAddress
+ dataSetRow["emailAddress"]
+ string
+
+
+ webSiteAddress
+ dataSetRow["webSiteAddress"]
+ string
+
+
+ eftAccountBankName
+ dataSetRow["eftAccountBankName"]
+ string
+
+
+ eftAccountRoutingNumber
+ dataSetRow["eftAccountRoutingNumber"]
+ string
+
+
+ eftAccountAccountNumber
+ dataSetRow["eftAccountAccountNumber"]
+ string
+
+
+
+
+ |
+ |
+ |
+
+
+ |
+
+ |
+
+
+ left
+ nowrap
+ Organization
+
+
+ sendingPartyTaxId
+ sendingPartyTaxId
+ dataSetRow["sendingPartyTaxId"]
+ string
+
+
+ sendingPartyTaxId
+
+ |
+ |
+ |
+
+
+ |
+
+ |
+
+
+ left
+ nowrap
+ Organization
+
+
+ emailAddress
+ emailAddress
+ dataSetRow["emailAddress"]
+ string
+
+
+ emailAddress
+
+ |
+ |
+ |
+
+
+ |
+ 4
+ 1
+
+ |
+
+
+
+
+
+ 0.4583333333333333in
+ 10.354166666666666in
+
+ 4.041666666666667in
+
+
+ 0.71875in
+
+
+ 0.3541666666666667in
+
+
+ 0.6875in
+
+
+ 4.552083333333333in
+
+
+ 0.4583333333333333in
+ |
+
+
+ right
+ page-number
+
+ |
+
+
+ center
+ plain
+
+
+ |
+
+ right
+
+ left
+ total-page
+
+ |
+
+ right
+ |
+
+
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 10.464646464646465in
+ AcctgTransAndEntries
+
+
+ glFiscalTypeId
+ dataSetRow["glFiscalTypeId"]
+ string
+
+
+ acctgTransTypeId
+ dataSetRow["acctgTransTypeId"]
+ string
+
+
+ transactionDate
+ dataSetRow["transactionDate"]
+ date-time
+
+
+ postedDate
+ dataSetRow["postedDate"]
+ date-time
+
+
+ transDescription
+ dataSetRow["transDescription"]
+ string
+
+
+ glJournalId
+ dataSetRow["glJournalId"]
+ string
+
+
+ invoiceId
+ dataSetRow["invoiceId"]
+ string
+
+
+ paymentId
+ dataSetRow["paymentId"]
+ string
+
+
+ glAccountId
+ dataSetRow["glAccountId"]
+ string
+
+
+ debitCreditFlag
+ dataSetRow["debitCreditFlag"]
+ string
+
+
+ amount
+ dataSetRow["amount"]
+ decimal
+
+
+ currencyUomId
+ dataSetRow["currencyUomId"]
+ string
+
+
+ origAmount
+ dataSetRow["origAmount"]
+ decimal
+
+
+ origCurrencyUomId
+ dataSetRow["origCurrencyUomId"]
+ string
+
+
+ glAccountTypeId
+ dataSetRow["glAccountTypeId"]
+ string
+
+
+ accountCode
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ dataSetRow["accountName"]
+ string
+
+
+ glAccountClassId
+ dataSetRow["glAccountClassId"]
+ string
+
+
+ partyId
+ partyId
+ dataSetRow["partyId"]
+ string
+
+
+
+ 0.8181818181818182in
+
+
+ 0.7272727272727273in
+
+
+ 2.7676767676767677in
+
+
+ 0.6262626262626263in
+ center
+
+
+ 0.5959595959595959in
+ center
+
+
+ 1.7575757575757576in
+ center
+
+
+ 0.8181818181818182in
+ center
+
+
+ 0.9393939393939394in
+ center
+
+
+ 0.696969696969697in
+ center
+
+
+ 0.696969696969697in
+ center
+
+
+
+ #BFBFBF
+ bold
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ center
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+
+
+ glAccountClassId
+ none
+ asc
+ row["glAccountClassId"]
+
+ row["glAccountClassId"]
+
+ true
+ false
+ auto
+ auto
+ auto
+
+
+ |
+ 3
+ 1
+
+ 8pt
+ bold
+
+ glAccountClassId
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ 6pt
+
+ Custom
+ d MMMM yyyy
+ en
+
+ center
+ nowrap
+ transactionDate
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ 6pt
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ 6pt
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ 6pt
+ nowrap
+ invoiceId
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ 6pt
+ nowrap
+ paymentId
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ 6pt
+ nowrap
+
+ partyId
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ 6pt
+ origCurrencyUomId
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ cursive
+ 6pt
+
+
+ all
+ row["origCurrencyUomId"].equals(row["currencyUomId"])
+
+
+
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ 6pt
+
+ Currency
+ #,##0.00{RoundingMode=HALF_UP}
+
+
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ 6pt
+
+ Currency
+ #,##0.00{RoundingMode=HALF_UP}
+
+
+
+ |
+
+
+
+
+
+ 9.727272727272727in
+
+ 1.2323232323232323in
+
+
+ 1.4747474747474747in
+
+
+ 1.7777777777777777in
+
+
+ 1.5555555555555556in
+
+
+ 1.9191919191919191in
+
+
+ 1.7676767676767677in
+
+
+ |
+ 0.5in
+
+ right
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+
+ |
+ 0.5in
+
+ right
+
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+
+
+
diff --git a/applications/accounting/webapp/accounting/reports/BalanceSheet.rptdesign b/applications/accounting/webapp/accounting/reports/BalanceSheet.rptdesign
new file mode 100644
index 0000000000..4e0fb520cc
--- /dev/null
+++ b/applications/accounting/webapp/accounting/reports/BalanceSheet.rptdesign
@@ -0,0 +1,1266 @@
+
+
+ Eclipse BIRT Designer Version 2.6.0.v20100531 Build <2.6.0.v20100609-1613>
+ in
+
+ /templates/blank_report.gif
+ ltr
+
+
+ static
+ false
+ dateTime
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ dateTime
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ false
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+
+
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+
+ glAccountId
+ Account ID
+
+
+ accountCode
+ Account Code
+
+
+ accountName
+ Account Name
+
+
+ balance
+ Balance
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var assetAccountBalance = assetAccountBalanceList.get(countOfRow);
+row["glAccountId"] = assetAccountBalance.get("glAccountId");
+row["accountCode"] = assetAccountBalance.get("accountCode");
+row["accountName"] = assetAccountBalance.get("accountName");
+row["balance"] = assetAccountBalance.get("balance");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+
+ glAccountId
+ Account ID
+
+
+ accountCode
+ accountCode
+
+
+ accountName
+ Account Name
+
+
+ balance
+ Balance
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var liabilityAccountBalance = liabilityAccountBalanceList.get(countOfRow);
+row["glAccountId"] = liabilityAccountBalance.get("glAccountId");
+row["accountCode"] = liabilityAccountBalance.get("accountCode");
+row["accountName"] = liabilityAccountBalance.get("accountName");
+row["balance"] = liabilityAccountBalance.get("balance");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+ 0
+ glAccountId
+ string
+
+
+ 1
+ accountCode
+ string
+
+
+ 2
+ accountName
+ string
+
+
+ 3
+ balance
+ decimal
+
+
+
+
+ glAccountId
+ Account ID
+
+
+ accountCode
+ Account Code
+
+
+ accountName
+ Account Name
+
+
+ balance
+ Balance
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var equityAccountBalance = equityAccountBalanceList.get(countOfRow);
+row["glAccountId"] = equityAccountBalance.get("glAccountId");
+row["accountCode"] = equityAccountBalance.get("accountCode");
+row["accountName"] = equityAccountBalance.get("accountName");
+row["balance"] = equityAccountBalance.get("balance");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+ 1
+ totalName
+ string
+
+
+ 2
+ balance
+ decimal
+
+
+
+
+ totalName
+ Total Name
+
+
+ balance
+ Balance
+
+
+
+
+
+ 1
+ totalName
+ string
+
+
+ 2
+ balance
+ decimal
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var balanceTotal = balanceTotalList.get(countOfRow);
+row["totalName"] = balanceTotal.get("totalName");
+row["balance"] = balanceTotal.get("balance");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+
+
+
+
+
+ 1.75in
+
+
+ #FFFFFF
+ 1.6979166666666667in
+ 7.875in
+
+ 1.28125in
+ bold
+ left
+
+
+ 2.6770833333333335in
+
+
+ 1.2395833333333333in
+ bold
+ left
+
+
+ 2.6770833333333335in
+
+
+ 0.5416666666666666in
+ |
+ 2
+ 1
+ left
+
+ 43px
+ 238px
+ 0) {
+ var dataResource = partyContents.get(0).getRelatedOne("Content").getRelatedOne("DataResource");
+ var dataResourceTypeId = dataResource.getString("dataResourceTypeId");
+ if ("LOCAL_FILE".equals(dataResourceTypeId)) {
+ this.file = dataResource.get("objectInfo");
+ } else {
+ this.URL = dataResource.get("objectInfo");
+ }
+} else {
+ this.URL = "http://localhost:8080/images/ofbiz_logo.gif";
+}]]>
+ url
+ false
+
+ |
+
+ right
+
+ |
+
+
+ if (userLogin != null ) {partyNameView.getString("firstName") + " " + partyNameView.getString("lastName")}
+ html
+
+ |
+
+
+ 0.2604166666666667in
+ |
+ |
+
+ right
+
+ |
+
+
+ dateFormatter.format(UtilDateTime.nowTimestamp())
+ html
+
+ |
+
+
+ 0.22916666666666666in
+ |
+ right
+
+ |
+
+
+ dateFormatter.format(thruDate)
+ html
+
+ |
+
+
+ |
+
+
+ delegator.findOne("PartyAcctgPreference", UtilMisc.toMap("partyId", organizationPartyId), false).getRelatedOne("Uom").getString("description")
+ html
+
+ |
+
+
+ 0.21875in
+ |
+ right
+
+ |
+
+
+ delegator.findOne("GlFiscalType", UtilMisc.toMap("glFiscalTypeId", glFiscalTypeId), false).getString("description")
+ html
+
+ |
+ |
+ |
+
+
+ 0.4479166666666667in
+
+ 4
+ 1
+ right
+
+ " + uiLabelMap.get("AccountingBalanceSheet") + "";]]>
+ html
+
+ |
+
+
+
+
+
+ 7.9375in
+
+ 2.8229166666666665in
+
+
+ 0.8333333333333334in
+
+
+ 0.3645833333333333in
+
+
+ 0.7395833333333334in
+
+
+ 3.1770833333333335in
+
+
+ |
+
+
+ right
+ page-number
+
+ |
+
+
+ center
+ plain
+
+
+ |
+
+ right
+
+ left
+ total-page
+
+ |
+
+ right
+ |
+
+
+
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 7.9393939393939394in
+ Asset
+
+
+ accountId
+ Account ID
+ dataSetRow["glAccountId"]
+ string
+
+
+ accountCode
+ Account Code
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ Account Name
+ dataSetRow["accountName"]
+ string
+
+
+ balance
+ Balance
+ dataSetRow["balance"]
+ string
+
+
+ AssetAblanceTotal
+ float
+ SUM
+
+
+ Expression
+ row["balance"]
+
+
+
+
+
+ 1.0520833333333333in
+
+
+ 4.888888888888889in
+
+
+ 1.6767676767676767in
+
+
+
+ #BFBFBF
+ bold
+ center
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+
+
+
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ right
+ balance
+
+ |
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 7.9393939393939394in
+ Liability
+
+
+ glAccountId
+ Account ID
+ dataSetRow["glAccountId"]
+ string
+
+
+ accountCode
+ accountCode
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ Account Name
+ dataSetRow["accountName"]
+ string
+
+
+ balance
+ Balance
+ dataSetRow["balance"]
+ decimal
+
+
+ LiabilityBalanceTotal
+ float
+ SUM
+
+
+ Expression
+ row["balance"]
+
+
+
+
+
+ 1.1515151515151516in
+
+
+ 5.03030303030303in
+
+
+ 1.7575757575757576in
+
+
+
+ #BFBFBF
+ bold
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ center
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+
+
+
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00
+
+ right
+ balance
+
+ |
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 7.9393939393939394in
+ Equity
+
+
+ glAccountId
+ Account ID
+ dataSetRow["glAccountId"]
+ string
+
+
+ accountCode
+ Account Code
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ Account Name
+ dataSetRow["accountName"]
+ string
+
+
+ balance
+ Balance
+ dataSetRow["balance"]
+ decimal
+
+
+ EquityBalanceTotal
+ float
+ SUM
+
+
+ Expression
+ row["balance"]
+
+
+
+
+
+ 1.1414141414141414in
+
+
+ 5.02020202020202in
+
+
+ 1.7777777777777777in
+
+
+
+ #BFBFBF
+ bold
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ center
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+
+
+
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00
+
+ right
+ balance
+
+ |
+
+
+
+
+
+ 7.959595959595959in
+ BalanceTotal
+
+
+ totalName
+ Total Name
+ dataSetRow["totalName"]
+ string
+
+
+ balance
+ Balance
+ dataSetRow["balance"]
+ decimal
+
+
+
+ 2.9494949494949494in
+
+
+ 5.01010101010101in
+
+
+
+ |
+
+
+ totalName
+
+ |
+
+
+
+ Currency
+ #,##0.00
+
+ balance
+
+ |
+
+
+
+
+
+
diff --git a/applications/accounting/webapp/accounting/reports/IncomeStatement.rptdesign b/applications/accounting/webapp/accounting/reports/IncomeStatement.rptdesign
new file mode 100644
index 0000000000..752854645f
--- /dev/null
+++ b/applications/accounting/webapp/accounting/reports/IncomeStatement.rptdesign
@@ -0,0 +1,1173 @@
+
+
+ Eclipse BIRT Designer Version 2.6.0.v20100531 Build <2.6.0.v20100609-1613>
+ in
+
+ /templates/blank_report.gif
+ ltr
+
+
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+
+ glAccountId
+ Account ID
+
+
+ accountCode
+ Account Code
+
+
+ accountName
+ Account Name
+
+
+ balance
+ Balance
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var revenueAccountBalance = revenueAccountBalanceList.get(countOfRow);
+row["glAccountId"] = revenueAccountBalance.get("glAccountId");
+row["accountCode"] = revenueAccountBalance.get("accountCode");
+row["accountName"] = revenueAccountBalance.get("accountName");
+row["balance"] = revenueAccountBalance.get("balance");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+
+ glAccountId
+ Account ID
+
+
+ accountCode
+ Account Code
+
+
+ accountName
+ Account Name
+
+
+ balance
+ Balance
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var expenseAccountBalance = expenseAccountBalanceList.get(countOfRow);
+row["glAccountId"] = expenseAccountBalance.get("glAccountId");
+row["accountCode"] = expenseAccountBalance.get("accountCode");
+row["accountName"] = expenseAccountBalance.get("accountName");
+row["balance"] = expenseAccountBalance.get("balance");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+
+ glAccountId
+ Account ID
+
+
+ accountCode
+ Account Code
+
+
+ accountName
+ Account Name
+
+
+ balance
+ Balance
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ balance
+ decimal
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var incomeAccountBalance = incomeAccountBalanceList.get(countOfRow);
+row["glAccountId"] = incomeAccountBalance.get("glAccountId");
+row["accountCode"] = incomeAccountBalance.get("accountCode");
+row["accountName"] = incomeAccountBalance.get("accountName");
+row["balance"] = incomeAccountBalance.get("balance");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+ 1
+ totalName
+ string
+
+
+ 2
+ balance
+ decimal
+
+
+
+
+ totalName
+ Total Name
+
+
+ balance
+ Balance
+
+
+
+
+
+ 1
+ totalName
+ string
+
+
+ 2
+ balance
+ decimal
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var balanceTotal = balanceTotalList.get(countOfRow);
+row["totalName"] = balanceTotal.get("totalName");
+row["balance"] = balanceTotal.get("balance");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+
+
+
+
+
+ 2in
+
+
+ 2.875in
+ 7.84375in
+
+ 1.2916666666666667in
+ bold
+ right
+
+
+ 2.6354166666666665in
+
+
+ 1.9583333333333333in
+ bold
+ right
+
+
+ 1.9583333333333333in
+
+
+ |
+ 2
+ 1
+ left
+
+ 43px
+ 238px
+ 0) {
+ var dataResource = partyContents.get(0).getRelatedOne("Content").getRelatedOne("DataResource");
+ var dataResourceTypeId = dataResource.getString("dataResourceTypeId");
+ if ("LOCAL_FILE".equals(dataResourceTypeId)) {
+ this.file = dataResource.get("objectInfo");
+ } else {
+ this.URL = dataResource.get("objectInfo");
+ }
+} else {
+ this.URL = "http://localhost:8080/images/ofbiz_logo.gif";
+}]]>
+ url
+ false
+
+ |
+
+
+ |
+
+
+ if (userLogin != null ) {partyNameView.getString("firstName") + " " + partyNameView.getString("lastName")}
+ html
+
+ |
+
+
+ |
+ |
+
+
+ |
+
+
+ dateFormatter.format(UtilDateTime.nowTimestamp())
+ html
+
+ |
+
+
+ |
+
+ |
+
+
+ dateFormatter.format(fromDate)
+ html
+
+ |
+
+
+ |
+
+
+ delegator.findOne("PartyAcctgPreference", UtilMisc.toMap("partyId", organizationPartyId), false).getRelatedOne("Uom").getString("description")
+ html
+
+ |
+
+
+ |
+
+ |
+
+
+ dateFormatter.format(thruDate)
+ html
+
+ |
+ |
+ |
+
+
+ 0.5104166666666666in
+ |
+
+ |
+
+
+ delegator.findOne("GlFiscalType", UtilMisc.toMap("glFiscalTypeId", glFiscalTypeId), false).getString("description")
+ html
+
+ |
+ |
+ |
+
+
+
+ 4
+ 1
+
+ " + uiLabelMap.get("AccountingIncomeStatement") + "";]]>
+ html
+
+ |
+
+
+
+
+
+ 7.9375in
+
+ 2.8229166666666665in
+
+
+ 0.8333333333333334in
+
+
+ 0.3645833333333333in
+
+
+ 0.7395833333333334in
+
+
+ 3.1770833333333335in
+
+
+ |
+
+
+ right
+ page-number
+
+ |
+
+
+ center
+ plain
+
+
+ |
+
+ right
+
+ left
+ total-page
+
+ |
+
+ right
+ |
+
+
+
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 7.947916666666667in
+ Revenue
+
+
+ glAccountId
+ Account ID
+ dataSetRow["glAccountId"]
+ string
+
+
+ accountCode
+ Account Code
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ Account Name
+ dataSetRow["accountName"]
+ string
+
+
+ balance
+ Balance
+ dataSetRow["balance"]
+ decimal
+
+
+ RevenueTotalBalance
+ float
+ SUM
+
+
+ Expression
+ row["balance"]
+
+
+
+
+
+ 1.3020833333333333in
+
+
+ 4.71875in
+
+
+ 1.7916666666666667in
+
+
+
+ #BFBFBF
+ bold
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ center
+ |
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00
+
+ right
+ balance
+
+ |
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 7.947916666666667in
+ Expense
+
+
+ glAccountId
+ Account ID
+ dataSetRow["glAccountId"]
+ string
+
+
+ accountCode
+ Account Code
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ Account Name
+ dataSetRow["accountName"]
+ string
+
+
+ balance
+ Balance
+ dataSetRow["balance"]
+ decimal
+
+
+ ExpenseTotalBalance
+ float
+ SUM
+
+
+ Expression
+ row["balance"]
+
+
+
+
+
+ 1.3125in
+
+
+ 4.802083333333333in
+
+
+ 1.7916666666666667in
+
+
+
+ #BFBFBF
+ bold
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ center
+ |
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00
+
+ right
+ balance
+
+ |
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 7.947916666666667in
+ Income
+
+
+ glAccountId
+ Account ID
+ dataSetRow["glAccountId"]
+ string
+
+
+ accountCode
+ Account Code
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ Account Name
+ dataSetRow["accountName"]
+ string
+
+
+ balance
+ Balance
+ dataSetRow["balance"]
+ decimal
+
+
+ IncomeTotalBalance
+ float
+ SUM
+
+
+ Expression
+ row["balance"]
+
+
+
+
+
+ 1.28125in
+
+
+ 4.75in
+
+
+ 1.78125in
+
+
+
+ #BFBFBF
+ bold
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ center
+ |
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00
+
+ right
+ balance
+
+ |
+
+
+
+
+
+ 7.959595959595959in
+ BalanceTotal
+
+
+ totalName
+ Total Name
+ dataSetRow["totalName"]
+ string
+
+
+ balance
+ Balance
+ dataSetRow["balance"]
+ decimal
+
+
+
+ 2.8585858585858586in
+
+
+ 5.101010101010101in
+
+
+
+ |
+
+
+ totalName
+
+ |
+
+
+
+ Currency
+ #,##0.00
+
+ balance
+
+ |
+
+
+
+
+
+
diff --git a/applications/accounting/webapp/accounting/reports/InvoiceAcctgTransEntry.rptdesign b/applications/accounting/webapp/accounting/reports/InvoiceAcctgTransEntry.rptdesign
new file mode 100644
index 0000000000..48647ded8c
--- /dev/null
+++ b/applications/accounting/webapp/accounting/reports/InvoiceAcctgTransEntry.rptdesign
@@ -0,0 +1,1421 @@
+
+
+ Eclipse BIRT Designer Version 2.6.0.v20100531 Build <2.6.0.v20100609-1613>
+ in
+
+ /templates/blank_report.gif
+ ltr
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+
+
+
+
+
+
+
+ 0
+ glFiscalTypeId
+ string
+
+
+ 1
+ acctgTransTypeId
+ string
+
+
+ 2
+ transactionDate
+ date-time
+
+
+ 3
+ postedDate
+ date-time
+
+
+ 4
+ transDescription
+ string
+
+
+ 5
+ glJournalId
+ string
+
+
+ 6
+ invoiceId
+ string
+
+
+ 7
+ paymentId
+ string
+
+
+ 8
+ glAccountId
+ string
+
+
+ 9
+ debitCreditFlag
+ string
+
+
+ 10
+ amount
+ decimal
+
+
+ 11
+ currencyUomId
+ string
+
+
+ 12
+ origAmount
+ decimal
+
+
+ 13
+ origCurrencyUomId
+ string
+
+
+ 14
+ glAccountTypeId
+ string
+
+
+ 15
+ accountCode
+ string
+
+
+ 16
+ accountName
+ string
+
+
+ 17
+ glAccountClassId
+ string
+
+
+
+
+ glFiscalTypeId
+ glFiscalTypeId
+
+
+ acctgTransTypeId
+ acctgTransTypeId
+
+
+ transactionDate
+ transactionDate
+
+
+ postedDate
+ postedDate
+
+
+ transDescription
+ transDescription
+
+
+ glJournalId
+ glJournalId
+
+
+ invoiceId
+ invoiceId
+
+
+ paymentId
+ paymentId
+
+
+ glAccountId
+ glAccountId
+
+
+ debitCreditFlag
+ debitCreditFlag
+
+
+ amount
+ amount
+
+
+ currencyUomId
+ currencyUomId
+
+
+ origAmount
+ origAmount
+
+
+ origCurrencyUomId
+ origCurrencyUomId
+
+
+ glAccountTypeId
+ glAccountTypeId
+
+
+ accountCode
+ accountCode
+
+
+ accountName
+ accountName
+
+
+ glAccountClassId
+ glAccountClassId
+
+
+
+
+
+ 1
+ glFiscalTypeId
+ string
+
+
+ 2
+ acctgTransTypeId
+ string
+
+
+ 3
+ transactionDate
+ date-time
+
+
+ 4
+ postedDate
+ date-time
+
+
+ 5
+ transDescription
+ string
+
+
+ 6
+ glJournalId
+ string
+
+
+ 7
+ invoiceId
+ string
+
+
+ 8
+ paymentId
+ string
+
+
+ 9
+ glAccountId
+ string
+
+
+ 10
+ debitCreditFlag
+ string
+
+
+ 11
+ amount
+ decimal
+
+
+ 12
+ currencyUomId
+ string
+
+
+ 13
+ origAmount
+ decimal
+
+
+ 14
+ origCurrencyUomId
+ string
+
+
+ 15
+ glAccountTypeId
+ string
+
+
+ 16
+ accountCode
+ string
+
+
+ 17
+ accountName
+ string
+
+
+ 18
+ glAccountClassId
+ string
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var acctgTransAndEntry = acctgTransAndEntries.get(countOfRow);
+row["glFiscalTypeId"] = acctgTransAndEntry.get("glFiscalTypeId");
+row["acctgTransTypeId"] = acctgTransAndEntry.get("acctgTransTypeId");
+row["transactionDate"] = acctgTransAndEntry.get("transactionDate");
+row["postedDate"] = acctgTransAndEntry.get("postedDate");
+row["transDescription"] = acctgTransAndEntry.get("transDescription");
+row["glJournalId"] = acctgTransAndEntry.get("glJournalId");
+row["invoiceId"] = acctgTransAndEntry.get("invoiceId");
+row["paymentId"] = acctgTransAndEntry.get("paymentId");
+row["glAccountId"] = acctgTransAndEntry.get("glAccountId");
+row["debitCreditFlag"] = acctgTransAndEntry.get("debitCreditFlag");
+row["amount"] = acctgTransAndEntry.get("amount");
+row["currencyUomId"] = acctgTransAndEntry.get("currencyUomId");
+row["origAmount"] = acctgTransAndEntry.get("origAmount");
+row["origCurrencyUomId"] = acctgTransAndEntry.get("origCurrencyUomId");
+row["glAccountTypeId"] = acctgTransAndEntry.get("glAccountTypeId");
+row["accountCode"] = acctgTransAndEntry.get("accountCode");
+row["accountName"] = acctgTransAndEntry.get("accountName");
+row["glAccountClassId"] = acctgTransAndEntry.get("glAccountClassId");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+ 1
+ invoiceId
+ string
+
+
+ 2
+ description
+ string
+
+
+ 3
+ invoiceTypeDescription
+ string
+
+
+ 4
+ statusDescription
+ string
+
+
+ 5
+ invoiceDate
+ date-time
+
+
+ 6
+ partyId
+ string
+
+
+ 7
+ partyName
+ string
+
+
+
+
+ invoiceId
+ invoiceId
+
+
+ description
+ description
+
+
+ invoiceTypeDescription
+ invoiceTypeDescription
+
+
+ statusDescription
+ statusDescription
+
+
+ invoiceDate
+ invoiceDate
+
+
+ partyId
+ partyId
+
+
+ partyName
+ partyName
+
+
+
+
+
+ 1
+ invoiceId
+ string
+
+
+ 2
+ description
+ string
+
+
+ 3
+ invoiceTypeDescription
+ string
+
+
+ 4
+ statusDescription
+ string
+
+
+ 5
+ invoiceDate
+ date-time
+
+
+ 6
+ partyId
+ string
+
+
+ 7
+ partyName
+ string
+
+
+
+ OFBiz
+
+ = 1) return false;
+row["invoiceId"] = invoice.get("invoiceId");
+row["description"] = invoice.get("description");
+row["invoiceTypeDescription"] = invoice.getRelatedOne("InvoiceType").get("description");
+row["statusDescription"] = invoice.getRelatedOne("StatusItem").get("description");
+row["invoiceDate"] = invoice.get("invoiceDate");
+
+var partyId = null;
+if ("PURCHASE_INVOICE".equals(invoice.get("invoiceTypeId")) || "PURCHASE_INVOICE".equals(invoice.getRelatedOne("InvoiceType").get("parentTypeId"))) {
+ partyId = invoice.get("partyIdFrom");
+} else {
+ partyId = invoice.get("partyId");
+}
+
+var partyName = "";
+partyNameView = delegator.findOne("PartyNameView", UtilMisc.toMap("partyId", partyId), false);
+if (partyNameView.get("firstName")) {
+ partyName += partyNameView.get("firstName") + " ";
+}
+if (partyNameView.get("lastName")) {
+ partyName += partyNameView.get("lastName") + " ";
+}
+if (partyNameView.get("groupName")) {
+ partyName += partyNameView.get("groupName") + " ";
+}
+
+row["partyId"] = partyId;
+row["partyName"] = partyName;
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+
+
+
+
+
+ landscape
+ 2in
+
+
+ 10.363636363636363in
+
+ 1.494949494949495in
+ bold
+ right
+
+
+ 3.696969696969697in
+
+
+ 2.585858585858586in
+ 10pt
+ bold
+ right
+
+
+ 2.585858585858586in
+
+
+ |
+ 2
+ 1
+ left
+
+ 43px
+ 238px
+ 0) {
+ var dataResource = partyContents.get(0).getRelatedOne("Content").getRelatedOne("DataResource");
+ var dataResourceTypeId = dataResource.getString("dataResourceTypeId");
+ if ("LOCAL_FILE".equals(dataResourceTypeId)) {
+ this.file = dataResource.get("objectInfo");
+ } else {
+ this.URL = dataResource.get("objectInfo");
+ }
+} else {
+ this.URL = "http://localhost:8080/images/ofbiz_logo.gif";
+}]]>
+ url
+ false
+
+ |
+
+
+ |
+
+
+ if (userLogin != null ) {userLoginNameView.getString("firstName") + " " + userLoginNameView.getString("lastName")}
+ html
+
+ |
+
+
+ |
+
+ |
+
+
+ Invoice
+
+
+ invoiceId
+ invoiceId
+ dataSetRow["invoiceId"]
+ string
+
+
+ invoiceId
+
+ |
+
+
+ |
+
+
+ Invoice
+
+
+ invoiceDate
+ invoiceDate
+ dataSetRow["invoiceDate"]
+ date-time
+
+
+
+ invoiceDate
+
+ |
+
+
+ |
+
+ |
+
+
+ Invoice
+
+
+ description
+ description
+ dataSetRow["description"]
+ string
+
+
+ description
+
+ |
+
+
+ |
+
+
+ Invoice
+
+
+ partyId
+ partyId
+ dataSetRow["partyId"]
+ string
+
+
+ partyId
+
+ |
+
+
+ |
+
+ |
+
+
+ Invoice
+
+
+ statusDescription
+ statusDescription
+ dataSetRow["statusDescription"]
+ string
+
+
+ statusDescription
+
+ |
+
+
+ |
+
+
+ Invoice
+
+
+ partyName
+ partyName
+ dataSetRow["partyName"]
+ string
+
+
+ partyName
+
+ |
+
+
+ |
+
+ |
+
+
+
+
+ |
+ |
+ |
+
+
+ |
+ 4
+ 1
+
+ 16pt
+ bold
+ center
+ nowrap
+ Invoice
+
+
+ invoiceTypeDescription
+ invoiceTypeDescription
+ dataSetRow["invoiceTypeDescription"]
+ string
+
+
+ invoiceTypeDescription
+
+ |
+
+
+
+
+
+ 0.4583333333333333in
+ 10.354166666666666in
+
+ 4.041666666666667in
+
+
+ 0.71875in
+
+
+ 0.3541666666666667in
+
+
+ 0.6875in
+
+
+ 4.552083333333333in
+
+
+ 0.4583333333333333in
+ |
+
+
+ right
+ page-number
+
+ |
+
+
+ center
+ plain
+
+
+ |
+
+ right
+
+ left
+ total-page
+
+ |
+
+ right
+ |
+
+
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 10.505050505050505in
+ AcctgTransAndEntries
+
+
+ glFiscalTypeId
+ dataSetRow["glFiscalTypeId"]
+ string
+
+
+ acctgTransTypeId
+ dataSetRow["acctgTransTypeId"]
+ string
+
+
+ transactionDate
+ dataSetRow["transactionDate"]
+ date-time
+
+
+ postedDate
+ dataSetRow["postedDate"]
+ date-time
+
+
+ transDescription
+ dataSetRow["transDescription"]
+ string
+
+
+ glJournalId
+ dataSetRow["glJournalId"]
+ string
+
+
+ invoiceId
+ dataSetRow["invoiceId"]
+ string
+
+
+ paymentId
+ dataSetRow["paymentId"]
+ string
+
+
+ glAccountId
+ dataSetRow["glAccountId"]
+ string
+
+
+ debitCreditFlag
+ dataSetRow["debitCreditFlag"]
+ string
+
+
+ amount
+ dataSetRow["amount"]
+ decimal
+
+
+ currencyUomId
+ dataSetRow["currencyUomId"]
+ string
+
+
+ origAmount
+ dataSetRow["origAmount"]
+ decimal
+
+
+ origCurrencyUomId
+ dataSetRow["origCurrencyUomId"]
+ string
+
+
+ glAccountTypeId
+ dataSetRow["glAccountTypeId"]
+ string
+
+
+ accountCode
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ dataSetRow["accountName"]
+ string
+
+
+ glAccountClassId
+ dataSetRow["glAccountClassId"]
+ string
+
+
+
+ 1.4895833333333333in
+
+
+ 4.090909090909091in
+
+
+ 1.3232323232323233in
+ center
+
+
+ 1.3232323232323233in
+ center
+
+
+ 1.1111111111111112in
+ center
+
+
+ 1.1515151515151516in
+ center
+
+
+
+ #BFBFBF
+ bold
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ center
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ origCurrencyUomId
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ cursive
+
+
+ all
+ row["origCurrencyUomId"].equals(row["currencyUomId"])
+
+
+
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00{RoundingMode=HALF_UP}
+
+
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00{RoundingMode=HALF_UP}
+
+
+
+ |
+
+
+
+
+
+ 9.727272727272727in
+
+ 1.2323232323232323in
+
+
+ 1.4747474747474747in
+
+
+ 1.7777777777777777in
+
+
+ 1.5555555555555556in
+
+
+ 1.9191919191919191in
+
+
+ 1.7676767676767677in
+
+
+ |
+ 0.5in
+
+ right
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+
+ |
+ 0.5in
+
+ right
+
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+
+
+
diff --git a/applications/accounting/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign b/applications/accounting/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign
new file mode 100644
index 0000000000..f6558820bd
--- /dev/null
+++ b/applications/accounting/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign
@@ -0,0 +1,1425 @@
+
+
+ Eclipse BIRT Designer Version 2.6.0.v20100531 Build <2.6.0.v20100609-1613>
+ in
+
+ /templates/blank_report.gif
+ ltr
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+
+
+
+
+
+
+
+ 0
+ glFiscalTypeId
+ string
+
+
+ 1
+ acctgTransTypeId
+ string
+
+
+ 2
+ transactionDate
+ date-time
+
+
+ 3
+ postedDate
+ date-time
+
+
+ 4
+ transDescription
+ string
+
+
+ 5
+ glJournalId
+ string
+
+
+ 6
+ invoiceId
+ string
+
+
+ 7
+ paymentId
+ string
+
+
+ 8
+ glAccountId
+ string
+
+
+ 9
+ debitCreditFlag
+ string
+
+
+ 10
+ amount
+ decimal
+
+
+ 11
+ currencyUomId
+ string
+
+
+ 12
+ origAmount
+ decimal
+
+
+ 13
+ origCurrencyUomId
+ string
+
+
+ 14
+ glAccountTypeId
+ string
+
+
+ 15
+ accountCode
+ string
+
+
+ 16
+ accountName
+ string
+
+
+ 17
+ glAccountClassId
+ string
+
+
+
+
+ glFiscalTypeId
+ glFiscalTypeId
+
+
+ acctgTransTypeId
+ acctgTransTypeId
+
+
+ transactionDate
+ transactionDate
+
+
+ postedDate
+ postedDate
+
+
+ transDescription
+ transDescription
+
+
+ glJournalId
+ glJournalId
+
+
+ invoiceId
+ invoiceId
+
+
+ paymentId
+ paymentId
+
+
+ glAccountId
+ glAccountId
+
+
+ debitCreditFlag
+ debitCreditFlag
+
+
+ amount
+ amount
+
+
+ currencyUomId
+ currencyUomId
+
+
+ origAmount
+ origAmount
+
+
+ origCurrencyUomId
+ origCurrencyUomId
+
+
+ glAccountTypeId
+ glAccountTypeId
+
+
+ accountCode
+ accountCode
+
+
+ accountName
+ accountName
+
+
+ glAccountClassId
+ glAccountClassId
+
+
+
+
+
+ 1
+ glFiscalTypeId
+ string
+
+
+ 2
+ acctgTransTypeId
+ string
+
+
+ 3
+ transactionDate
+ date-time
+
+
+ 4
+ postedDate
+ date-time
+
+
+ 5
+ transDescription
+ string
+
+
+ 6
+ glJournalId
+ string
+
+
+ 7
+ invoiceId
+ string
+
+
+ 8
+ paymentId
+ string
+
+
+ 9
+ glAccountId
+ string
+
+
+ 10
+ debitCreditFlag
+ string
+
+
+ 11
+ amount
+ decimal
+
+
+ 12
+ currencyUomId
+ string
+
+
+ 13
+ origAmount
+ decimal
+
+
+ 14
+ origCurrencyUomId
+ string
+
+
+ 15
+ glAccountTypeId
+ string
+
+
+ 16
+ accountCode
+ string
+
+
+ 17
+ accountName
+ string
+
+
+ 18
+ glAccountClassId
+ string
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var acctgTransAndEntry = acctgTransAndEntries.get(countOfRow);
+row["glFiscalTypeId"] = acctgTransAndEntry.get("glFiscalTypeId");
+row["acctgTransTypeId"] = acctgTransAndEntry.get("acctgTransTypeId");
+row["transactionDate"] = acctgTransAndEntry.get("transactionDate");
+row["postedDate"] = acctgTransAndEntry.get("postedDate");
+row["transDescription"] = acctgTransAndEntry.get("transDescription");
+row["glJournalId"] = acctgTransAndEntry.get("glJournalId");
+row["invoiceId"] = acctgTransAndEntry.get("invoiceId");
+row["paymentId"] = acctgTransAndEntry.get("paymentId");
+row["glAccountId"] = acctgTransAndEntry.get("glAccountId");
+row["debitCreditFlag"] = acctgTransAndEntry.get("debitCreditFlag");
+row["amount"] = acctgTransAndEntry.get("amount");
+row["currencyUomId"] = acctgTransAndEntry.get("currencyUomId");
+row["origAmount"] = acctgTransAndEntry.get("origAmount");
+row["origCurrencyUomId"] = acctgTransAndEntry.get("origCurrencyUomId");
+row["glAccountTypeId"] = acctgTransAndEntry.get("glAccountTypeId");
+row["accountCode"] = acctgTransAndEntry.get("accountCode");
+row["accountName"] = acctgTransAndEntry.get("accountName");
+row["glAccountClassId"] = acctgTransAndEntry.get("glAccountClassId");
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+ 1
+ paymentId
+ string
+
+
+ 2
+ comments
+ string
+
+
+ 3
+ paymentTypeDescription
+ string
+
+
+ 4
+ statusDescription
+ string
+
+
+ 5
+ effectiveDate
+ date-time
+
+
+ 6
+ partyId
+ string
+
+
+ 7
+ partyName
+ string
+
+
+
+
+ paymentId
+ paymentId
+
+
+ comments
+ comments
+
+
+ paymentTypeDescription
+ paymentTypeDescription
+
+
+ statusDescription
+ statusDescription
+
+
+ effectiveDate
+ effectiveDate
+
+
+ partyId
+ partyId
+
+
+ partyName
+ partyName
+
+
+
+
+
+ 1
+ paymentId
+ string
+
+
+ 2
+ comments
+ string
+
+
+ 3
+ paymentTypeDescription
+ string
+
+
+ 4
+ statusDescription
+ string
+
+
+ 5
+ effectiveDate
+ date-time
+
+
+ 6
+ partyId
+ string
+
+
+ 7
+ partyName
+ string
+
+
+
+ OFBiz
+
+ = 1) return false;
+row["paymentId"] = payment.get("paymentId");
+row["comments"] = payment.get("comments");
+row["paymentTypeDescription"] = payment.getRelatedOne("PaymentType").get("description");
+row["statusDescription"] = payment.getRelatedOne("StatusItem").get("description");
+row["effectiveDate"] = payment.get("effectiveDate");
+
+var partyId = null;
+if ("RECEIPT".equals(payment.get("paymentTypeId")) || "RECEIPT".equals(payment.getRelatedOne("PaymentType").get("parentTypeId"))) {
+ partyId = payment.get("partyIdFrom");
+} else {
+ partyId = payment.get("partyIdTo");
+}
+
+var partyName = "";
+partyNameView = delegator.findOne("PartyNameView", UtilMisc.toMap("partyId", partyId), false);
+if (partyNameView.get("firstName")) {
+ partyName += partyNameView.get("firstName") + " ";
+}
+if (partyNameView.get("lastName")) {
+ partyName += partyNameView.get("lastName") + " ";
+}
+if (partyNameView.get("groupName")) {
+ partyName += partyNameView.get("groupName") + " ";
+}
+
+row["partyId"] = partyId;
+row["partyName"] = partyName;
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+
+
+
+
+
+ landscape
+ 2.25in
+
+
+ 10.363636363636363in
+
+ 1.494949494949495in
+ bold
+ right
+
+
+ 3.696969696969697in
+
+
+ 2.585858585858586in
+ 10pt
+ bold
+ right
+
+
+ 2.585858585858586in
+
+
+ |
+ 2
+ 1
+ left
+
+ 43px
+ 238px
+ 0) {
+ var dataResource = partyContents.get(0).getRelatedOne("Content").getRelatedOne("DataResource");
+ var dataResourceTypeId = dataResource.getString("dataResourceTypeId");
+ if ("LOCAL_FILE".equals(dataResourceTypeId)) {
+ this.file = dataResource.get("objectInfo");
+ } else {
+ this.URL = dataResource.get("objectInfo");
+ }
+} else {
+ this.URL = "http://localhost:8080/images/ofbiz_logo.gif";
+}]]>
+ url
+ false
+
+ |
+
+
+ |
+
+
+ if (userLogin != null ) {userLoginNameView.getString("firstName") + " " + userLoginNameView.getString("lastName")}
+ html
+
+ |
+
+
+ |
+
+ |
+
+
+ Payment
+
+
+ invoiceId
+ paymentId
+ dataSetRow["paymentId"]
+ string
+
+
+ invoiceId
+
+ |
+
+
+ |
+
+
+ nowrap
+ Payment
+
+
+ effectiveDate
+ effectiveDate
+ dataSetRow["effectiveDate"]
+ date-time
+
+
+
+ effectiveDate
+
+ |
+
+
+ |
+
+ |
+
+
+ nowrap
+ Payment
+
+
+ paymentTypeDescription
+ paymentTypeDescription
+ dataSetRow["paymentTypeDescription"]
+ string
+
+
+ paymentTypeDescription
+
+ |
+
+
+ |
+
+
+ Payment
+
+
+ partyId
+ partyId
+ dataSetRow["partyId"]
+ string
+
+
+ partyId
+
+ |
+
+
+ |
+
+ |
+
+
+ Payment
+
+
+ statusDescription
+ statusDescription
+ dataSetRow["statusDescription"]
+ string
+
+
+ statusDescription
+
+ |
+
+
+ |
+
+
+ Payment
+
+
+ partyName
+ partyName
+ dataSetRow["partyName"]
+ string
+
+
+ partyName
+
+ |
+
+
+ |
+
+ |
+
+
+
+
+ |
+ |
+ |
+
+
+ |
+
+ |
+
+
+ nowrap
+ Payment
+
+
+ comments
+ comments
+ dataSetRow["comments"]
+ string
+
+
+ comments
+
+ |
+ |
+ |
+
+
+
+ 4
+ 1
+
+ " + uiLabelMap.get("AccountingPayment") + "";]]>
+ html
+
+ |
+
+
+
+
+
+ 0.4583333333333333in
+ 10.354166666666666in
+
+ 4.041666666666667in
+
+
+ 0.71875in
+
+
+ 0.3541666666666667in
+
+
+ 0.6875in
+
+
+ 4.552083333333333in
+
+
+ 0.4583333333333333in
+ |
+
+
+ right
+ page-number
+
+ |
+
+
+ center
+ plain
+
+
+ |
+
+ right
+
+ left
+ total-page
+
+ |
+
+ right
+ |
+
+
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 10.505050505050505in
+ AcctgTransAndEntries
+
+
+ glFiscalTypeId
+ dataSetRow["glFiscalTypeId"]
+ string
+
+
+ acctgTransTypeId
+ dataSetRow["acctgTransTypeId"]
+ string
+
+
+ transactionDate
+ dataSetRow["transactionDate"]
+ date-time
+
+
+ postedDate
+ dataSetRow["postedDate"]
+ date-time
+
+
+ transDescription
+ dataSetRow["transDescription"]
+ string
+
+
+ glJournalId
+ dataSetRow["glJournalId"]
+ string
+
+
+ invoiceId
+ dataSetRow["invoiceId"]
+ string
+
+
+ paymentId
+ dataSetRow["paymentId"]
+ string
+
+
+ glAccountId
+ dataSetRow["glAccountId"]
+ string
+
+
+ debitCreditFlag
+ dataSetRow["debitCreditFlag"]
+ string
+
+
+ amount
+ dataSetRow["amount"]
+ decimal
+
+
+ currencyUomId
+ dataSetRow["currencyUomId"]
+ string
+
+
+ origAmount
+ dataSetRow["origAmount"]
+ decimal
+
+
+ origCurrencyUomId
+ dataSetRow["origCurrencyUomId"]
+ string
+
+
+ glAccountTypeId
+ dataSetRow["glAccountTypeId"]
+ string
+
+
+ accountCode
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ dataSetRow["accountName"]
+ string
+
+
+ glAccountClassId
+ dataSetRow["glAccountClassId"]
+ string
+
+
+
+ 1.4895833333333333in
+
+
+ 4.090909090909091in
+
+
+ 1.3232323232323233in
+ center
+
+
+ 1.3232323232323233in
+ center
+
+
+ 1.1111111111111112in
+ center
+
+
+ 1.1515151515151516in
+ center
+
+
+
+ #BFBFBF
+ bold
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ center
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ origCurrencyUomId
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ cursive
+
+
+ all
+ row["origCurrencyUomId"].equals(row["currencyUomId"])
+
+
+
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00{RoundingMode=HALF_UP}
+
+
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00{RoundingMode=HALF_UP}
+
+
+
+ |
+
+
+
+
+
+ 9.727272727272727in
+
+ 1.2323232323232323in
+
+
+ 1.4747474747474747in
+
+
+ 1.7777777777777777in
+
+
+ 1.5555555555555556in
+
+
+ 1.9191919191919191in
+
+
+ 1.7676767676767677in
+
+
+ |
+ 0.5in
+
+ right
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+
+ |
+ 0.5in
+
+ right
+
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+ 0.5in
+
+ right
+
+ auto
+
+
+ |
+
+ 0.5in
+
+ center
+ auto
+
+
+ |
+
+
+
+
diff --git a/applications/accounting/webapp/accounting/reports/TrialBalance.rptdesign b/applications/accounting/webapp/accounting/reports/TrialBalance.rptdesign
new file mode 100644
index 0000000000..c494141730
--- /dev/null
+++ b/applications/accounting/webapp/accounting/reports/TrialBalance.rptdesign
@@ -0,0 +1,833 @@
+
+
+ Eclipse BIRT Designer Version 2.6.0.v20100531 Build <2.6.0.v20100609-1613>
+ in
+
+ /templates/blank_report.gif
+ ltr
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+ static
+ string
+ true
+ simple
+ text-box
+
+ Unformatted
+
+
+
+
+
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ totalPostedDebits
+ decimal
+
+
+ 5
+ totalPostedCredits
+ decimal
+
+
+ 6
+ totalEndingBalance
+ decimal
+
+
+
+
+ glAccountId
+ Gl Account Id
+
+
+ accountCode
+ Account Code
+
+
+ accountName
+ Account Name
+
+
+ totalPostedDebits
+ Total Posted Debits
+
+
+ totalPostedCredits
+ Total Posted Credits
+
+
+ totalEndingBalance
+ Total Ending Balance
+
+
+
+
+
+ 1
+ glAccountId
+ string
+
+
+ 2
+ accountCode
+ string
+
+
+ 3
+ accountName
+ string
+
+
+ 4
+ totalPostedDebits
+ decimal
+
+
+ 5
+ totalPostedCredits
+ decimal
+
+
+ 6
+ totalEndingBalance
+ decimal
+
+
+
+ OFBiz
+
+ = totalRow) return false;
+
+var glAccountAndHistory = glAccountAndHistories.get(countOfRow);
+row["glAccountId"] = glAccountAndHistory.get("glAccountId");
+row["accountCode"] = glAccountAndHistory.get("accountCode");
+row["accountName"] = glAccountAndHistory.get("accountName");
+row["totalPostedDebits"] = glAccountAndHistory.get("totalPostedDebits");
+row["totalPostedCredits"] = glAccountAndHistory.get("totalPostedCredits");
+var totalEndingBalance = glAccountAndHistory.get("totalEndingBalance");
+if (!totalEndingBalance) {
+ totalEndingBalance = glAccountAndHistory.get("totalPostedDebits") - glAccountAndHistory.get("totalPostedCredits");
+}
+row["totalEndingBalance"] = totalEndingBalance;
+
+countOfRow ++;
+return true;]]>
+
+
+
+
+
+
+
+
+
+ landscape
+ 1.5in
+
+
+ #FFFFFF
+ 1.6979166666666667in
+ 10.424242424242424in
+
+ 2.272727272727273in
+ bold
+ left
+
+
+ 3.0606060606060606in
+
+
+ 2.3636363636363638in
+ bold
+ left
+
+
+ 2.727272727272727in
+
+
+ 0.5416666666666666in
+ |
+ 2
+ 1
+ left
+
+ 43px
+ 238px
+ 0) {
+ var dataResource = partyContents.get(0).getRelatedOne("Content").getRelatedOne("DataResource");
+ var dataResourceTypeId = dataResource.getString("dataResourceTypeId");
+ if ("LOCAL_FILE".equals(dataResourceTypeId)) {
+ this.file = dataResource.get("objectInfo");
+ } else {
+ this.URL = dataResource.get("objectInfo");
+ }
+} else {
+ this.URL = "http://localhost:8080/images/ofbiz_logo.gif";
+}]]>
+ url
+ false
+
+ |
+
+ right
+
+ |
+
+
+ if (userLogin != null ) {partyNameView.getString("firstName") + " " + partyNameView.getString("lastName")}
+ html
+
+ |
+
+
+ 0.2604166666666667in
+ |
+ |
+
+ right
+
+ |
+
+
+ dateFormatter.format(UtilDateTime.nowTimestamp())
+ html
+
+ |
+
+
+ 0.22916666666666666in
+ |
+ right
+
+ |
+
+
+ 10pt
+
+ html
+
+ |
+
+
+ |
+
+
+ delegator.findOne("PartyAcctgPreference", UtilMisc.toMap("partyId", organizationPartyId), false).getRelatedOne("Uom").getString("description")
+ html
+
+ |
+
+
+ 0.4479166666666667in
+
+ 4
+ 1
+ right
+
+ " + uiLabelMap.get("AccountingTrialBalance") + "";]]>
+ html
+
+ |
+
+
+
+
+
+ 0.4583333333333333in
+ 10.353535353535353in
+
+ 4.444444444444445in
+
+
+ 0.5151515151515151in
+
+
+ 0.5454545454545454in
+
+
+ 0.5555555555555556in
+
+
+ 4.303030303030303in
+
+
+ 0.4583333333333333in
+ |
+
+
+ right
+ page-number
+
+ |
+
+
+ center
+ plain
+
+
+ |
+
+ right
+
+ left
+ total-page
+
+ |
+
+ right
+ |
+
+
+
+
+
+
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ 10.474747474747474in
+ TrialBalance
+
+
+ glAccountId
+ Gl Account Id
+ dataSetRow["glAccountId"]
+ string
+
+
+ accountCode
+ Account Code
+ dataSetRow["accountCode"]
+ string
+
+
+ accountName
+ Account Name
+ dataSetRow["accountName"]
+ string
+
+
+ totalPostedDebits
+ Total Posted Debits
+ dataSetRow["totalPostedDebits"]
+ decimal
+
+
+ totalPostedCredits
+ Total Posted Credits
+ dataSetRow["totalPostedCredits"]
+ decimal
+
+
+ totalEndingBalance
+ Total Ending Balance
+ dataSetRow["totalEndingBalance"]
+ decimal
+
+
+ EndingBalanceTotal
+ float
+ SUM
+
+
+ Expression
+ row["totalEndingBalance"]
+
+
+
+
+
+ 1.101010101010101in
+
+
+ 5.333333333333333in
+
+
+ 1.3434343434343434in
+
+
+ 1.3636363636363635in
+
+
+ 1.3232323232323233in
+
+
+
+ #BFBFBF
+ bold
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ center
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ |
+
+
+
+
+ |
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountCode
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+ accountName
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00{RoundingMode=HALF_UP}
+
+ right
+ totalPostedDebits
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00{RoundingMode=HALF_UP}
+
+ right
+ totalPostedCredits
+
+ |
+
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+ #000000
+ solid
+ thin
+
+
+ Currency
+ #,##0.00{RoundingMode=HALF_UP}
+
+ right
+ nowrap
+ totalEndingBalance
+
+ |
+
+
+
+
+
+
diff --git a/applications/accounting/widget/AccountingMenus.xml b/applications/accounting/widget/AccountingMenus.xml
index 63597390b9..d6254d0615 100644
--- a/applications/accounting/widget/AccountingMenus.xml
+++ b/applications/accounting/widget/AccountingMenus.xml
@@ -338,6 +338,20 @@ under the License.
+
+
+
+
+
+
+
+
+
+
+
+
+
+