Re: svn commit: r1728584 [1/2] - in /ofbiz/trunk: applications/accounting/script/org/ofbiz/accounting/admin/ applications/accounting/servicedef/ applications/accounting/webapp/accounting/WEB-INF/ appl

2016-06-09 Thread Hans Bakker

Hi Deepak,

the organizationPartyId  can be set in the header of every theme and is 
programmed in the application decorator, i think in the commonext component.


This is the current default accounting organization partyId and used in 
from/to fields of invoice/order etc.


Regards,
Hans.

PS
for you and others: please next time also copy to my personal address 
also, because these days i do not read all messages in the mailinglist.



Organization partyId
On 09/06/16 17:41, Deepak Dixit wrote:

Hi Hans,


In this commit a new pattern is used to get organizationPartyId from
patarmeter

{code}
parameters.get('ApplicationDecorator|organizationPartyId')],
{code}

Could you please what is "ApplicationDecorator" here and why we used this
pattern?

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com

On Fri, Feb 5, 2016 at 7:15 AM,  wrote:


Author: hansbak
Date: Fri Feb  5 01:45:50 2016
New Revision: 1728584

URL: http://svn.apache.org/viewvc?rev=1728584=rev
Log:
be able to set accounting company in the header, so other companent can
change it too. https://issues.apache.org/jira/browse/OFBIZ-6802

Modified:

ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
 ofbiz/trunk/applications/accounting/servicedef/secas.xml
 ofbiz/trunk/applications/accounting/servicedef/services_admin.xml

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/chartofaccounts/TaxAuthorityGlAccounts.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/BalanceSheet.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/CashFlowStatement.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/IncomeStatement.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/TransactionTotals.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml

ofbiz/trunk/applications/accounting/webapp/accounting/reports/GlAccountTrialBalanceReport.ftl
 ofbiz/trunk/applications/accounting/widget/CommonScreens.xml
 ofbiz/trunk/applications/accounting/widget/GlScreens.xml
 ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml
 ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml

ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml

ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml

ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy
 ofbiz/trunk/applications/commonext/widget/CommonScreens.xml

ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
 ofbiz/trunk/framework/common/config/CommonUiLabels.xml
 ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml
 ofbiz/trunk/framework/common/webcommon/includes/listVisualThemes.ftl
 ofbiz/trunk/framework/common/widget/CommonScreens.xml
 ofbiz/trunk/framework/common/widget/LookupScreens.xml
 ofbiz/trunk/themes/bizznesstime/includes/header.ftl
 ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/js/application.js
 ofbiz/trunk/themes/bluelight/includes/header.ftl
 ofbiz/trunk/themes/droppingcrumbs/includes/header.ftl
 ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl

Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml?rev=1728584=1728583=1728584=diff

==
---
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
(original)
+++
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
Fri Feb  5 01:45:50 2016
@@ -101,6 +101,20 @@ under the License.
  
  

+
+
+
+
+
+
+
+
+
+
+
+
+
+
  
  
  

Modified: ofbiz/trunk/applications/accounting/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas.xml?rev=1728584=1728583=1728584=diff

==
--- ofbiz/trunk/applications/accounting/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas.xml Fri Feb  5
01:45:50 2016
@@ -158,4 +158,10 @@ under the License.
  
  
  
+
+
+
+
+
+
  

Modified: ofbiz/trunk/applications/accounting/servicedef/services_admin.xml
URL:

Re: svn commit: r1728584 [1/2] - in /ofbiz/trunk: applications/accounting/script/org/ofbiz/accounting/admin/ applications/accounting/servicedef/ applications/accounting/webapp/accounting/WEB-INF/ appl

2016-06-09 Thread Deepak Dixit
Hi Hans,


In this commit a new pattern is used to get organizationPartyId from
patarmeter

{code}
parameters.get('ApplicationDecorator|organizationPartyId')],
{code}

Could you please what is "ApplicationDecorator" here and why we used this
pattern?

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com

On Fri, Feb 5, 2016 at 7:15 AM,  wrote:

> Author: hansbak
> Date: Fri Feb  5 01:45:50 2016
> New Revision: 1728584
>
> URL: http://svn.apache.org/viewvc?rev=1728584=rev
> Log:
> be able to set accounting company in the header, so other companent can
> change it too. https://issues.apache.org/jira/browse/OFBIZ-6802
>
> Modified:
>
> ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
> ofbiz/trunk/applications/accounting/servicedef/secas.xml
> ofbiz/trunk/applications/accounting/servicedef/services_admin.xml
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/chartofaccounts/TaxAuthorityGlAccounts.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/BalanceSheet.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/CashFlowStatement.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/IncomeStatement.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/TransactionTotals.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
>
> ofbiz/trunk/applications/accounting/webapp/accounting/reports/GlAccountTrialBalanceReport.ftl
> ofbiz/trunk/applications/accounting/widget/CommonScreens.xml
> ofbiz/trunk/applications/accounting/widget/GlScreens.xml
> ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml
> ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml
>
> ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml
>
> ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml
>
> ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy
> ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
>
> ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
> ofbiz/trunk/framework/common/config/CommonUiLabels.xml
> ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml
> ofbiz/trunk/framework/common/webcommon/includes/listVisualThemes.ftl
> ofbiz/trunk/framework/common/widget/CommonScreens.xml
> ofbiz/trunk/framework/common/widget/LookupScreens.xml
> ofbiz/trunk/themes/bizznesstime/includes/header.ftl
> ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/js/application.js
> ofbiz/trunk/themes/bluelight/includes/header.ftl
> ofbiz/trunk/themes/droppingcrumbs/includes/header.ftl
> ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl
>
> Modified:
> ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml?rev=1728584=1728583=1728584=diff
>
> ==
> ---
> ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
> (original)
> +++
> ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
> Fri Feb  5 01:45:50 2016
> @@ -101,6 +101,20 @@ under the License.
>  
>  
>
> +
> +
> + value-field="partyAcctgPreference">
> + from-field="parameters.organizationPartyId"/>
> +
> +
> + value="GLOBAL_PREFERENCES"/>
> + value="ORGANIZATION_PARTY"/>
> + from-field="parameters.organizationPartyId"/>
> + in-map-name="setUserPref"/>
> +
> + result-name="organizationPartyId"/>
> +
> +
>  
>   short-description="Update Foreign Exchange conversion rate">
>  
>
> Modified: ofbiz/trunk/applications/accounting/servicedef/secas.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas.xml?rev=1728584=1728583=1728584=diff
>
> ==
> --- ofbiz/trunk/applications/accounting/servicedef/secas.xml (original)
> +++ ofbiz/trunk/applications/accounting/servicedef/secas.xml Fri Feb  5
> 01:45:50 2016
> @@ -158,4 +158,10 @@ under the License.
>   value="ASSET_USAGE"/>
>  
>  
> +
> +
> +
> +
> +
> +
>  
>
> Modified: ofbiz/trunk/applications/accounting/servicedef/services_admin.xml
> URL:
> 

Re: svn commit: r1728584 [1/2] - in /ofbiz/trunk: applications/accounting/script/org/ofbiz/accounting/admin/ applications/accounting/servicedef/ applications/accounting/webapp/accounting/WEB-INF/ appl

2016-02-18 Thread Hans Bakker

Absolutely Jacopo,

I have asked the original creator to provide an additional patch today.

Regards,
Hans

On 18/02/16 23:44, Jacopo Cappellato wrote:

Hi Hans,

this commit has broken the accounting report (trial balance etc...); 
see for example:


https://demo-trunk-ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company

Could you please look into it?

Thank you

Jacopo


On Fri, Feb 5, 2016 at 2:45 AM, > wrote:


Author: hansbak
Date: Fri Feb  5 01:45:50 2016
New Revision: 1728584

URL: http://svn.apache.org/viewvc?rev=1728584=rev
Log:
be able to set accounting company in the header, so other
companent can change it too.
https://issues.apache.org/jira/browse/OFBIZ-6802

Modified:

ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
ofbiz/trunk/applications/accounting/servicedef/secas.xml
ofbiz/trunk/applications/accounting/servicedef/services_admin.xml

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/chartofaccounts/TaxAuthorityGlAccounts.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/BalanceSheet.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/CashFlowStatement.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/IncomeStatement.groovy

ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/TransactionTotals.groovy
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml

ofbiz/trunk/applications/accounting/webapp/accounting/reports/GlAccountTrialBalanceReport.ftl
ofbiz/trunk/applications/accounting/widget/CommonScreens.xml
ofbiz/trunk/applications/accounting/widget/GlScreens.xml
ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml
ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml
ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml
ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml

ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy
ofbiz/trunk/applications/commonext/widget/CommonScreens.xml

ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
ofbiz/trunk/framework/common/config/CommonUiLabels.xml
ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml
ofbiz/trunk/framework/common/webcommon/includes/listVisualThemes.ftl
ofbiz/trunk/framework/common/widget/CommonScreens.xml
ofbiz/trunk/framework/common/widget/LookupScreens.xml
ofbiz/trunk/themes/bizznesstime/includes/header.ftl
ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/js/application.js
ofbiz/trunk/themes/bluelight/includes/header.ftl
ofbiz/trunk/themes/droppingcrumbs/includes/header.ftl
ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl

Modified:

ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
URL:

http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml?rev=1728584=1728583=1728584=diff

==
---

ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
(original)
+++

ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
Fri Feb  5 01:45:50 2016
@@ -101,6 +101,20 @@ under the License.
 
 

+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 

Modified: ofbiz/trunk/applications/accounting/servicedef/secas.xml
URL:

http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas.xml?rev=1728584=1728583=1728584=diff

==
--- ofbiz/trunk/applications/accounting/servicedef/secas.xml
(original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas.xml Fri
Feb  5 01:45:50 2016
@@ -158,4 +158,10 @@ under the License.
 
 
 
+
+
+
+
+
+
 

Modified:
ofbiz/trunk/applications/accounting/servicedef/services_admin.xml
URL:

http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_admin.xml?rev=1728584=1728583=1728584=diff


Re: svn commit: r1728584 [1/2] - in /ofbiz/trunk: applications/accounting/script/org/ofbiz/accounting/admin/ applications/accounting/servicedef/ applications/accounting/webapp/accounting/WEB-INF/ appl

2016-02-18 Thread Jacopo Cappellato
Hi Hans,

this commit has broken the accounting report (trial balance etc...); see
for example:

https://demo-trunk-ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company

Could you please look into it?

Thank you

Jacopo


On Fri, Feb 5, 2016 at 2:45 AM,  wrote:

> Author: hansbak
> Date: Fri Feb  5 01:45:50 2016
> New Revision: 1728584
>
> URL: http://svn.apache.org/viewvc?rev=1728584=rev
> Log:
> be able to set accounting company in the header, so other companent can
> change it too. https://issues.apache.org/jira/browse/OFBIZ-6802
>
> Modified:
>
> ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
> ofbiz/trunk/applications/accounting/servicedef/secas.xml
> ofbiz/trunk/applications/accounting/servicedef/services_admin.xml
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/chartofaccounts/TaxAuthorityGlAccounts.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/BalanceSheet.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/CashFlowStatement.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/IncomeStatement.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/TransactionTotals.groovy
>
> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
>
> ofbiz/trunk/applications/accounting/webapp/accounting/reports/GlAccountTrialBalanceReport.ftl
> ofbiz/trunk/applications/accounting/widget/CommonScreens.xml
> ofbiz/trunk/applications/accounting/widget/GlScreens.xml
> ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml
> ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml
>
> ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml
>
> ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml
>
> ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy
> ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
>
> ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
> ofbiz/trunk/framework/common/config/CommonUiLabels.xml
> ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml
> ofbiz/trunk/framework/common/webcommon/includes/listVisualThemes.ftl
> ofbiz/trunk/framework/common/widget/CommonScreens.xml
> ofbiz/trunk/framework/common/widget/LookupScreens.xml
> ofbiz/trunk/themes/bizznesstime/includes/header.ftl
> ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/js/application.js
> ofbiz/trunk/themes/bluelight/includes/header.ftl
> ofbiz/trunk/themes/droppingcrumbs/includes/header.ftl
> ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl
>
> Modified:
> ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml?rev=1728584=1728583=1728584=diff
>
> ==
> ---
> ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
> (original)
> +++
> ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml
> Fri Feb  5 01:45:50 2016
> @@ -101,6 +101,20 @@ under the License.
>  
>  
>
> +
> +
> + value-field="partyAcctgPreference">
> + from-field="parameters.organizationPartyId"/>
> +
> +
> + value="GLOBAL_PREFERENCES"/>
> + value="ORGANIZATION_PARTY"/>
> + from-field="parameters.organizationPartyId"/>
> + in-map-name="setUserPref"/>
> +
> + result-name="organizationPartyId"/>
> +
> +
>  
>   short-description="Update Foreign Exchange conversion rate">
>  
>
> Modified: ofbiz/trunk/applications/accounting/servicedef/secas.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas.xml?rev=1728584=1728583=1728584=diff
>
> ==
> --- ofbiz/trunk/applications/accounting/servicedef/secas.xml (original)
> +++ ofbiz/trunk/applications/accounting/servicedef/secas.xml Fri Feb  5
> 01:45:50 2016
> @@ -158,4 +158,10 @@ under the License.
>   value="ASSET_USAGE"/>
>  
>  
> +
> +
> +
> +
> +
> +
>  
>
> Modified: ofbiz/trunk/applications/accounting/servicedef/services_admin.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_admin.xml?rev=1728584=1728583=1728584=diff
>
>