[jira] Updated: (OFBIZ-1407) Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor
[ https://issues.apache.org/jira/browse/OFBIZ-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur updated OFBIZ-1407: --- Attachment: ship_group_payment.patch This new patch also contains functionaility of splitting the ship group per vendor Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor - Key: OFBIZ-1407 URL: https://issues.apache.org/jira/browse/OFBIZ-1407 Project: OFBiz Issue Type: New Feature Reporter: Vikas Mayur Priority: Trivial Attachments: ship_group_payment.patch, ship_group_payment.patch Create an OrderPaymentPreference record for each ship groups related to an order in OrderItemShipGroup so that we can track payment for all shipgroups separtely. The code now supports only for single payment info. The code behaviour depends on field splitPayPrefPerShpGrp of ProductStore entity, if it is set to Y it will split the payments for every shipgroup. By Default item are added to shipGroup 0, We can create a shipGroup for each Vendor Pary -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (OFBIZ-1407) Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor
[ https://issues.apache.org/jira/browse/OFBIZ-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anil K Patel closed OFBIZ-1407. --- Resolution: Fixed Vikas, thanks. your patch is in rev# 601245 Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor - Key: OFBIZ-1407 URL: https://issues.apache.org/jira/browse/OFBIZ-1407 Project: OFBiz Issue Type: New Feature Reporter: Vikas Mayur Assignee: Anil K Patel Priority: Trivial Attachments: ship_group_payment.patch, ship_group_payment.patch Create an OrderPaymentPreference record for each ship groups related to an order in OrderItemShipGroup so that we can track payment for all shipgroups separtely. The code now supports only for single payment info. The code behaviour depends on field splitPayPrefPerShpGrp of ProductStore entity, if it is set to Y it will split the payments for every shipgroup. By Default item are added to shipGroup 0, We can create a shipGroup for each Vendor Pary -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Assigned: (OFBIZ-1407) Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor
[ https://issues.apache.org/jira/browse/OFBIZ-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anil K Patel reassigned OFBIZ-1407: --- Assignee: Anil K Patel Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor - Key: OFBIZ-1407 URL: https://issues.apache.org/jira/browse/OFBIZ-1407 Project: OFBiz Issue Type: New Feature Reporter: Vikas Mayur Assignee: Anil K Patel Priority: Trivial Attachments: ship_group_payment.patch, ship_group_payment.patch Create an OrderPaymentPreference record for each ship groups related to an order in OrderItemShipGroup so that we can track payment for all shipgroups separtely. The code now supports only for single payment info. The code behaviour depends on field splitPayPrefPerShpGrp of ProductStore entity, if it is set to Y it will split the payments for every shipgroup. By Default item are added to shipGroup 0, We can create a shipGroup for each Vendor Pary -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-1407) Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor
[ https://issues.apache.org/jira/browse/OFBIZ-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur updated OFBIZ-1407: --- Description: Create an OrderPaymentPreference record for each ship groups related to an order in OrderItemShipGroup so that we can track payment for all shipgroups separtely. The code now supports only for single payment info. The code behaviour depends on field splitPayPrefPerShpGrp of ProductStore entity, if it is set to Y it will split the payments for every shipgroup. By Default item are added to shipGroup 0, We can create a shipGroup for each Vendor Pary was: Create an OrderPaymentPreference record for each ship groups related to an order in OrderItemShipGroup so that we can track payment for all shipgroups separtely. The code now supports only for single payment info. The code behaviour depends on field splitPayPrefPerShpGrp of ProductStore entity, if it is set to Y it will split the payments for every shipgroup. Summary: Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor (was: Create an OrderPaymentPreference record for each OrderItemShipGroup) Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor - Key: OFBIZ-1407 URL: https://issues.apache.org/jira/browse/OFBIZ-1407 Project: OFBiz Issue Type: New Feature Reporter: Vikas Mayur Priority: Trivial Attachments: ship_group_payment.patch Create an OrderPaymentPreference record for each ship groups related to an order in OrderItemShipGroup so that we can track payment for all shipgroups separtely. The code now supports only for single payment info. The code behaviour depends on field splitPayPrefPerShpGrp of ProductStore entity, if it is set to Y it will split the payments for every shipgroup. By Default item are added to shipGroup 0, We can create a shipGroup for each Vendor Pary -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (OFBIZ-1422) Small fixup for rev 596815
Jacopo Cappellato commented on OFBIZ-1422: -- Very cool! Indeed ! Jacques Small fixup for rev 596815 -- Key: OFBIZ-1422 URL: https://issues.apache.org/jira/browse/OFBIZ-1422 Project: OFBiz Issue Type: Improvement Components: framework Reporter: Adrian Crum Assignee: Jacopo Cappellato Priority: Minor Attachments: modelviewentity.patch In some cases aliased entity fields were losing their description element. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: svn commit: r601249 - /ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml
Thank you Scott, this is fixed in rev. 601258 Jacopo Scott Gray wrote: It was createAcctgTransForInventoryItemCostChange that got fired according to the logs, in case that helps. Regards Scott On 05/12/2007, Scott Gray [EMAIL PROTECTED] wrote: Nope, just updated, ant clean-all, ant run-install then tried to receipt 100 x GZ-1004 without a PO Regards Scott On 05/12/2007, Jacopo Cappellato [EMAIL PROTECTED] wrote: Scott, thanks for this fix. By the way... are you getting the error because you have enabled the GL posting secas, right? Jacopo [EMAIL PROTECTED] wrote: Author: lektran Date: Wed Dec 5 00:44:11 2007 New Revision: 601249 URL: http://svn.apache.org/viewvc?rev=601249view=rev Log: Added a GlAccountOrganization to the demo data, seems to be required to receive inventory with a $0 unit cost Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml?rev=601249r1=601248r2=601249view=diff == --- ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml (original) +++ ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Wed Dec 5 00:44:11 2007 @@ -37,6 +37,7 @@ GlAccountOrganization organizationPartyId=Company glAccountId=214000 fromDate=2001-01-01 00:00: 00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=50 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=514000 fromDate=2001-01-01 00:00: 00.0/ +GlAccountOrganization organizationPartyId=Company glAccountId=515000 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=625000 fromDate=2001-01-01 00:00: 00.0/ !-- Default mapping between account types and account ids --
Re: svn commit: r601249 - /ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml
Nope, just updated, ant clean-all, ant run-install then tried to receipt 100 x GZ-1004 without a PO Regards Scott On 05/12/2007, Jacopo Cappellato [EMAIL PROTECTED] wrote: Scott, thanks for this fix. By the way... are you getting the error because you have enabled the GL posting secas, right? Jacopo [EMAIL PROTECTED] wrote: Author: lektran Date: Wed Dec 5 00:44:11 2007 New Revision: 601249 URL: http://svn.apache.org/viewvc?rev=601249view=rev Log: Added a GlAccountOrganization to the demo data, seems to be required to receive inventory with a $0 unit cost Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml?rev=601249r1=601248r2=601249view=diff == --- ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml (original) +++ ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Wed Dec 5 00:44:11 2007 @@ -37,6 +37,7 @@ GlAccountOrganization organizationPartyId=Company glAccountId=214000 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=50 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=514000 fromDate=2001-01-01 00:00:00.0/ +GlAccountOrganization organizationPartyId=Company glAccountId=515000 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=625000 fromDate=2001-01-01 00:00:00.0/ !-- Default mapping between account types and account ids --
Re: svn commit: r601249 - /ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml
It was createAcctgTransForInventoryItemCostChange that got fired according to the logs, in case that helps. Regards Scott On 05/12/2007, Scott Gray [EMAIL PROTECTED] wrote: Nope, just updated, ant clean-all, ant run-install then tried to receipt 100 x GZ-1004 without a PO Regards Scott On 05/12/2007, Jacopo Cappellato [EMAIL PROTECTED] wrote: Scott, thanks for this fix. By the way... are you getting the error because you have enabled the GL posting secas, right? Jacopo [EMAIL PROTECTED] wrote: Author: lektran Date: Wed Dec 5 00:44:11 2007 New Revision: 601249 URL: http://svn.apache.org/viewvc?rev=601249view=rev Log: Added a GlAccountOrganization to the demo data, seems to be required to receive inventory with a $0 unit cost Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml?rev=601249r1=601248r2=601249view=diff == --- ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml (original) +++ ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Wed Dec 5 00:44:11 2007 @@ -37,6 +37,7 @@ GlAccountOrganization organizationPartyId=Company glAccountId=214000 fromDate=2001-01-01 00:00: 00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=50 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=514000 fromDate=2001-01-01 00:00: 00.0/ +GlAccountOrganization organizationPartyId=Company glAccountId=515000 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=625000 fromDate=2001-01-01 00:00: 00.0/ !-- Default mapping between account types and account ids --
[jira] Updated: (OFBIZ-1490) Implement an automatic GL posting service for incoming payments
[ https://issues.apache.org/jira/browse/OFBIZ-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato updated OFBIZ-1490: - Description: Name of the service: createAcctgTransAndEntriesForIncomingPayment or similar Service definition: service name=createAcctgTransAndEntriesForIncomingPayment engine=simple auth=true location=org/ofbiz/accounting/ledger/GeneralLedgerServices.xml invoke=createAcctgTransAndEntriesForIncomingPayment descriptionCreate an accounting transaction for an outgoing payment/description attribute name=paymentId type=String mode=IN optional=false/ attribute name=acctgTransId type=String mode=OUT optional=true/ /service 1) get the Payment by paymentId 2) if (!UtilAccounting.isReceipt(payment)) then return; (hint: in Minilang, use the call-class-method operation) 3) organizationPartyId = payment.partyIdTo 4) partyId = payment.partyIdFrom and roleTypeId = BILL_TO_CUSTOMER 5) create an AcctgTransEntry with: 5.1) debitCreditFlag=D, glAccountTypeId: do not set for now (!--TODO--), origAmount=payment.amount, origCurrencyUomId=payment.currencyUomId 6) get the creditGlAccountTypeId in the following way: 6.1) get the PaymentGlAccountTypeMap for the given Payment.paymentTypeId and organizationPartyId 6.2) creditGlAccountTypeId = PaymentGlAccountTypeMap.glAccountTypeId 7) for the credit entries: select the PaymentApplications associated to the Payment and for each one: 7.1) create a AcctgTransEntry with: debitCreditFlag=C, origAmount=paymentApplication.amountApplied, origCurrencyUomId=payment.currencyUomId, glAccountId=paymentApplication.overrideGlAccountId or (if empty) payment.overrideGlAccountId, glAccountTypeId=creditGlAccountTypeId 7.2) amountAppliedTotal = amountAppliedTotal + paymentApplication.amountApplied 8) if ((payment.amount - amountAppliedTotal) 0) then create another credit entry with: debitCreditFlag=C, origAmount=(payment.amount - amountAppliedTotal), origCurrencyUomId=payment.currencyUomId, glAccountId=payment.overrideGlAccountId, glAccountTypeId=creditGlAccountTypeId 9) call the createAcctgTransAndEntries with the following fields 9.1) acctgTransEntries prepared at points 5, 7 and 8 9.2) acctgTransTypeId=INCOMING_PAYMENT 9.3) partyId e roleTypeId (point 4), paymentId Add the following secas to trigger the service: eca service=createPayment event=commit condition field-name=statusId operator=equals value=PMNT_RECEIVED/ action service=createAcctgTransAndEntriesForIncomingPayment mode=sync/ /eca eca service=setPaymentStatus event=commit condition field-name=statusId operator=equals value=PMNT_RECEIVED/ condition field-name=oldStatusId operator=not-equals value=PMNT_RECEIVED/ action service=createAcctgTransAndEntriesForIncomingPayment mode=sync/ /eca was: Name of the service: createAcctgTransAndEntriesForIncomingPayment or similar Service definition: service name=createAcctgTransAndEntriesForIncomingPayment engine=simple auth=true location=org/ofbiz/accounting/ledger/GeneralLedgerServices.xml invoke=createAcctgTransAndEntriesForIncomingPayment descriptionCreate an accounting transaction for a purchase invoice/description attribute name=paymentId type=String mode=IN optional=false/ attribute name=acctgTransId type=String mode=OUT optional=true/ /service 1) get the Payment by paymentId 2) if (!UtilAccounting.isReceipt(payment)) then return; (hint: in Minilang, use the call-class-method operation) 3) organizationPartyId = payment.partyIdTo 4) partyId = payment.partyIdFrom and roleTypeId = BILL_TO_CUSTOMER 5) create an AcctgTransEntry with: 5.1) debitCreditFlag=D, glAccountTypeId: do not set for now (!--TODO--), origAmount=payment.amount, origCurrencyUomId=payment.currencyUomId 6) get the creditGlAccountTypeId in the following way: 6.1) get the PaymentGlAccountTypeMap for the given Payment.paymentTypeId and organizationPartyId 6.2) creditGlAccountTypeId = PaymentGlAccountTypeMap.glAccountTypeId 7) for the credit entries: select the PaymentApplications associated to the Payment and for each one: 7.1) create a AcctgTransEntry with: debitCreditFlag=C, origAmount=paymentApplication.amountApplied, origCurrencyUomId=payment.currencyUomId, glAccountId=paymentApplication.overrideGlAccountId or (if empty) payment.overrideGlAccountId, glAccountTypeId=creditGlAccountTypeId 7.2) amountAppliedTotal = amountAppliedTotal + paymentApplication.amountApplied 8) if ((payment.amount - amountAppliedTotal) 0) then create another credit entry with: debitCreditFlag=C, origAmount=(payment.amount - amountAppliedTotal), origCurrencyUomId=payment.currencyUomId, glAccountId=payment.overrideGlAccountId, glAccountTypeId=creditGlAccountTypeId 9) call the createAcctgTransAndEntries with the following fields 9.1) acctgTransEntries prepared at points 5, 7 and 8 9.2)
[jira] Updated: (OFBIZ-1388) Bug in lookup windows URL
[ https://issues.apache.org/jira/browse/OFBIZ-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] BJ Freeman updated OFBIZ-1388: -- Comment: was deleted Bug in lookup windows URL - Key: OFBIZ-1388 URL: https://issues.apache.org/jira/browse/OFBIZ-1388 Project: OFBiz Issue Type: Bug Affects Versions: SVN trunk, Release Branch 4.0 Reporter: Bilgin Ibryam Priority: Minor Fix For: SVN trunk Attachments: JsLookup.patch, lookup.patch Hi all, I just noticed a bug in lookup windows url generation. One way to generate the bug is this: Go to order manager and add to cart configurable pc (PC001). You can do it browsing Configurable PCs category on the left corner. After you add PC001 to cart, you will be in order entry screen and your URL should look like this: https://localhost:8443/ordermgr/control/additem/product At this stage if you try to add another product AND click on the product lookup button, the screen in the lookup window will be orderentry screen but not the product lookup screen! Popup screen will not generate LookupProduct request as it is expected, instead the request is additem/LookupProduct and then ControlServlet transform it to additem request. You can see that additem is coming from the URL we mentioned /control/additem/product Any ideas how to fix this bug? Bilgin Ibryam -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-1109) Ability to add items with modifiers
[ https://issues.apache.org/jira/browse/OFBIZ-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548779 ] Chris Lombardi commented on OFBIZ-1109: --- Also, are you seeing any relevant errors thrown in the log? Ability to add items with modifiers --- Key: OFBIZ-1109 URL: https://issues.apache.org/jira/browse/OFBIZ-1109 Project: OFBiz Issue Type: New Feature Components: pos Affects Versions: SVN trunk Reporter: Chris Lombardi Assignee: Jacques Le Roux Attachments: 21Nov2007.patch I would like to add the ability to add and configure aggregated items via the POS system. A few scenarios should be supported. 1. The item has a default configuration and can be added without configuration. 2. The item requires configuration and a screen to configure the item should present upon adding the item. 3. A configurable item should allow editing after both earlier scenarios. I have a prototype mostly working, but I'd like to determine the following: 1. Is anyone else interested in this functionality? 2. What does everyone think is the best way to accomplish this? Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-1109) Ability to add items with modifiers
[ https://issues.apache.org/jira/browse/OFBIZ-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548778 ] Chris Lombardi commented on OFBIZ-1109: --- Could you send me the output of svn diff specialpurpose/pos/src/org/ofbiz/pos/device/impl/Receipt.java? Also, have you run a make clean lately? I checked the patch, and it looks like all the code is included. I also used the default custreceipt.txt and saw the configuration detail. Normal:DESC PRICEQTY Normal:== Normal:PC001 T805.00 1 Normal:Configurable PC Normal: RAM 256 MB Normal: HD 2 GB Normal: HD 4 GB Normal: Normal: SALES TAX: 0.00 Normal: TOTAL: 805.00 Ability to add items with modifiers --- Key: OFBIZ-1109 URL: https://issues.apache.org/jira/browse/OFBIZ-1109 Project: OFBiz Issue Type: New Feature Components: pos Affects Versions: SVN trunk Reporter: Chris Lombardi Assignee: Jacques Le Roux Attachments: 21Nov2007.patch I would like to add the ability to add and configure aggregated items via the POS system. A few scenarios should be supported. 1. The item has a default configuration and can be added without configuration. 2. The item requires configuration and a screen to configure the item should present upon adding the item. 3. A configurable item should allow editing after both earlier scenarios. I have a prototype mostly working, but I'd like to determine the following: 1. Is anyone else interested in this functionality? 2. What does everyone think is the best way to accomplish this? Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: svn commit: r599737 - in /ofbiz/trunk/applications/accounting: webapp/accounting/WEB-INF/ webapp/accounting/WEB-INF/actions/order/ webapp/accounting/billingaccount/ webapp/accounting/invoice/ widg
I think that this line was omitted in the commit. Index: applications/accounting/webapp/accounting/WEB-INF/controller.xml === --- applications/accounting/webapp/accounting/WEB-INF/controller.xml (revision 601552) +++ applications/accounting/webapp/accounting/WEB-INF/controller.xml (working copy) @@ -1608,6 +1608,7 @@ view-map name=EditBillingAccountTerms type=screen page=component://accounting/widget/BillingAccountScreens.xml#EditBillingAccountTerms/ view-map name=BillingAccountInvoices type=screen page=component://accounting/widget/BillingAccountScreens.xml#BillingAccountInvoices/ view-map name=BillingAccountPayments type=screen page=component://accounting/widget/BillingAccountScreens.xml#BillingAccountPayments/ +view-map name=BillingAccountOrders type=screen page=component://accounting/widget/BillingAccountScreens.xml#BillingAccountOrders/ !-- Invoice -- view-map name=invoiceOverview type=screen page=component://accounting/widget/InvoiceScreens.xml#invoiceOverview/ On Fri, 2007-11-30 at 08:37 +, [EMAIL PROTECTED] wrote: Author: apatel Date: Fri Nov 30 00:37:27 2007 New Revision: 599737 URL: http://svn.apache.org/viewvc?rev=599737view=rev Log: Shortcut for all Unpaid Invoices on a BillingAccount, Pankaj, thanks for your contribution. Added: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/order/ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/order/billingAccountOrders.bsh Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml ofbiz/trunk/applications/accounting/webapp/accounting/billingaccount/BillingAccountTabBar.ftl ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml Added: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/order/billingAccountOrders.bsh URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/order/billingAccountOrders.bsh?rev=599737view=auto == --- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/order/billingAccountOrders.bsh (added) +++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/order/billingAccountOrders.bsh Fri Nov 30 00:37:27 2007 @@ -0,0 +1,43 @@ +/* + * 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. + */ + +import org.ofbiz.base.util.UtilMisc; +import org.ofbiz.entity.util.EntityUtil; +import javolution.util.FastMap; + +if(billingAccountId != null) { +List orderPaymentPreferencesList = new LinkedList(); +orderList = delegator.findByAnd(OrderHeader, UtilMisc.toMap(billingAccountId, billingAccountId)); +if(orderList != null) { +itr = orderList.iterator(); +while(itr.hasNext()) { +GenericValue orderHeader = itr.next(); +orderId = orderHeader.get(orderId); +orderBillingAcc = EntityUtil.getFirst(delegator.findByAnd(OrderHeaderAndPaymentPref, UtilMisc.toMap(orderId, orderId))); +Map orderBillingAccMap = FastMap.newInstance(); + if(orderBillingAcc.getString(paymentMethodTypeId).equals(EXT_BILLACT) orderBillingAcc.getString(paymentStatusId).equals(PAYMENT_NOT_RECEIVED)) { +orderBillingAccMap.putAll((Map) orderBillingAcc); +orderId = orderBillingAcc.get(orderId); +orderBillingAccMap.put(orderId, orderId); +} +orderPaymentPreferencesList.add(orderBillingAccMap); +} +context.put(orderPaymentPreferencesList, orderPaymentPreferencesList); +} +} \ No newline at end of file Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml URL:
[jira] Assigned: (OFBIZ-1388) Bug in lookup windows URL
[ https://issues.apache.org/jira/browse/OFBIZ-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-1388: -- Assignee: Jacques Le Roux Bug in lookup windows URL - Key: OFBIZ-1388 URL: https://issues.apache.org/jira/browse/OFBIZ-1388 Project: OFBiz Issue Type: Bug Affects Versions: SVN trunk, Release Branch 4.0 Reporter: Bilgin Ibryam Assignee: Jacques Le Roux Priority: Minor Fix For: SVN trunk Attachments: JsLookup.patch, lookup.patch Hi all, I just noticed a bug in lookup windows url generation. One way to generate the bug is this: Go to order manager and add to cart configurable pc (PC001). You can do it browsing Configurable PCs category on the left corner. After you add PC001 to cart, you will be in order entry screen and your URL should look like this: https://localhost:8443/ordermgr/control/additem/product At this stage if you try to add another product AND click on the product lookup button, the screen in the lookup window will be orderentry screen but not the product lookup screen! Popup screen will not generate LookupProduct request as it is expected, instead the request is additem/LookupProduct and then ControlServlet transform it to additem request. You can see that additem is coming from the URL we mentioned /control/additem/product Any ideas how to fix this bug? Bilgin Ibryam -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (OFBIZ-1489) Ofbiz + Amazon Flexible Payments Service (Amazon FPS)
Ofbiz + Amazon Flexible Payments Service (Amazon FPS) - Key: OFBIZ-1489 URL: https://issues.apache.org/jira/browse/OFBIZ-1489 Project: OFBiz Issue Type: New Feature Components: accounting Reporter: Rohit Sureka Hi, Amazon.com has released a new feature by the name of Amazon Flexible Payments Service (Amazon FPS), which is payment service working on pinciples similar to paypal. I believe that such a feature in ofbiz will be useful and will also increase ofbiz's functionality and visibility. i am creating this jira issue as a starting point for further discussion and development on this topic. More information on Amazon Flexible Payments Service (Amazon FPS) may be found at the following address: http://www.amazon.com/gp/browse.html?node=342430011 Rohit -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: svn commit: r601249 - /ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml
Hmmm... not a good news. I'll have a look at this, thanks for the information. Jacopo Scott Gray wrote: Nope, just updated, ant clean-all, ant run-install then tried to receipt 100 x GZ-1004 without a PO Regards Scott On 05/12/2007, Jacopo Cappellato [EMAIL PROTECTED] wrote: Scott, thanks for this fix. By the way... are you getting the error because you have enabled the GL posting secas, right? Jacopo [EMAIL PROTECTED] wrote: Author: lektran Date: Wed Dec 5 00:44:11 2007 New Revision: 601249 URL: http://svn.apache.org/viewvc?rev=601249view=rev Log: Added a GlAccountOrganization to the demo data, seems to be required to receive inventory with a $0 unit cost Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml?rev=601249r1=601248r2=601249view=diff == --- ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml (original) +++ ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Wed Dec 5 00:44:11 2007 @@ -37,6 +37,7 @@ GlAccountOrganization organizationPartyId=Company glAccountId=214000 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=50 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=514000 fromDate=2001-01-01 00:00:00.0/ +GlAccountOrganization organizationPartyId=Company glAccountId=515000 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=625000 fromDate=2001-01-01 00:00:00.0/ !-- Default mapping between account types and account ids --
Re: svn commit: r601249 - /ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml
Scott, thanks for this fix. By the way... are you getting the error because you have enabled the GL posting secas, right? Jacopo [EMAIL PROTECTED] wrote: Author: lektran Date: Wed Dec 5 00:44:11 2007 New Revision: 601249 URL: http://svn.apache.org/viewvc?rev=601249view=rev Log: Added a GlAccountOrganization to the demo data, seems to be required to receive inventory with a $0 unit cost Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml?rev=601249r1=601248r2=601249view=diff == --- ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml (original) +++ ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Wed Dec 5 00:44:11 2007 @@ -37,6 +37,7 @@ GlAccountOrganization organizationPartyId=Company glAccountId=214000 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=50 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=514000 fromDate=2001-01-01 00:00:00.0/ +GlAccountOrganization organizationPartyId=Company glAccountId=515000 fromDate=2001-01-01 00:00:00.0/ GlAccountOrganization organizationPartyId=Company glAccountId=625000 fromDate=2001-01-01 00:00:00.0/ !-- Default mapping between account types and account ids --
[jira] Created: (OFBIZ-1491) Implement an automatic GL posting service for outgoing payments
Implement an automatic GL posting service for outgoing payments --- Key: OFBIZ-1491 URL: https://issues.apache.org/jira/browse/OFBIZ-1491 Project: OFBiz Issue Type: Sub-task Components: accounting Reporter: Jacopo Cappellato The service is very similar to the one described in OFBIZ-1490. Name of the service: createAcctgTransAndEntriesForOutgoingPayment or similar Service definition: service name=createAcctgTransAndEntriesForOutgoingPayment engine=simple auth=true location=org/ofbiz/accounting/ledger/GeneralLedgerServices.xml invoke=createAcctgTransAndEntriesForOutgoingPayment descriptionCreate an accounting transaction for an outgoing payment/description attribute name=paymentId type=String mode=IN optional=false/ attribute name=acctgTransId type=String mode=OUT optional=true/ /service 1) get the Payment by paymentId 2) if (!UtilAccounting.isDisbursement(payment)) then return; (hint: in Minilang, use the call-class-method operation) 3) organizationPartyId = payment.partyIdFrom 4) partyId = payment.partyIdTo and roleTypeId = BILL_FROM_VENDOR 5) create an AcctgTransEntry with: 5.1) debitCreditFlag=C, glAccountTypeId: do not set for now (!--TODO--), origAmount=payment.amount, origCurrencyUomId=payment.currencyUomId 6) get the debitGlAccountTypeId in the following way: 6.1) get the PaymentGlAccountTypeMap for the given Payment.paymentTypeId and organizationPartyId 6.2) debitGlAccountTypeId = PaymentGlAccountTypeMap.glAccountTypeId 7) for the debit entries: select the PaymentApplications associated to the Payment and for each one: 7.1) create a AcctgTransEntry with: debitCreditFlag=D, origAmount=paymentApplication.amountApplied, origCurrencyUomId=payment.currencyUomId, glAccountTypeId=debitGlAccountTypeId, glAccountId=paymentApplication.overrideGlAccountId OR if (paymentApplication.taxAuthGeoId is not empty) get the glAccountId from the TaxAuthorityGlAccount record using as constraints organizationPartyId, taxAuthGeoId, taxAuthPartyId=partyId, OR payment.overrideGlAccountId 7.2) amountAppliedTotal = amountAppliedTotal + paymentApplication.amountApplied 8) if ((payment.amount - amountAppliedTotal) 0) then create another debit entry with: debitCreditFlag=D, origAmount=(payment.amount - amountAppliedTotal), origCurrencyUomId=payment.currencyUomId, glAccountId=payment.overrideGlAccountId, glAccountTypeId=debitGlAccountTypeId 9) call the createAcctgTransAndEntries with the following fields 9.1) acctgTransEntries prepared at points 5, 7 and 8 9.2) acctgTransTypeId=OUTGOING_PAYMENT 9.3) partyId e roleTypeId (point 4), paymentId Add the following secas to trigger the service: eca service=createPayment event=commit condition field-name=statusId operator=equals value=PMNT_SENT/ action service=createAcctgTransAndEntriesForOutgoingPayment mode=sync/ /eca eca service=setPaymentStatus event=commit condition field-name=statusId operator=equals value=PMNT_SENT/ condition field-name=oldStatusId operator=not-equals value=PMNT_SENT/ action service=createAcctgTransAndEntriesForOutgoingPayment mode=sync/ /eca -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (OFBIZ-1490) Implement an automatic GL posting service for incoming payments
Implement an automatic GL posting service for incoming payments --- Key: OFBIZ-1490 URL: https://issues.apache.org/jira/browse/OFBIZ-1490 Project: OFBiz Issue Type: Sub-task Components: accounting Affects Versions: SVN trunk Reporter: Jacopo Cappellato Name of the service: createAcctgTransAndEntriesForIncomingPayment or similar Service definition: service name=createAcctgTransAndEntriesForIncomingPayment engine=simple auth=true location=org/ofbiz/accounting/ledger/GeneralLedgerServices.xml invoke=createAcctgTransAndEntriesForIncomingPayment descriptionCreate an accounting transaction for a purchase invoice/description attribute name=paymentId type=String mode=IN optional=false/ attribute name=acctgTransId type=String mode=OUT optional=true/ /service 1) get the Payment by paymentId 2) if (!UtilAccounting.isReceipt(payment)) then return; (hint: in Minilang, use the call-class-method operation) 3) organizationPartyId = payment.partyIdTo 4) partyId = payment.partyIdFrom and roleTypeId = BILL_TO_CUSTOMER 5) create an AcctgTransEntry with: 5.1) debitCreditFlag=D, glAccountTypeId: do not set for now (!--TODO--), origAmount=payment.amount, origCurrencyUomId=payment.currencyUomId 6) get the creditGlAccountTypeId in the following way: 6.1) get the PaymentGlAccountTypeMap for the given Payment.paymentTypeId and organizationPartyId 6.2) creditGlAccountTypeId = PaymentGlAccountTypeMap.glAccountTypeId 7) for the credit entries: select the PaymentApplications associated to the Payment and for each one: 7.1) create a AcctgTransEntry with: debitCreditFlag=C, origAmount=paymentApplication.amountApplied, origCurrencyUomId=payment.currencyUomId, glAccountId=paymentApplication.overrideGlAccountId or (if empty) payment.overrideGlAccountId, glAccountTypeId=creditGlAccountTypeId 7.2) amountAppliedTotal = amountAppliedTotal + paymentApplication.amountApplied 8) if ((payment.amount - amountAppliedTotal) 0) then create another credit entry with: debitCreditFlag=C, origAmount=(payment.amount - amountAppliedTotal), origCurrencyUomId=payment.currencyUomId, glAccountId=payment.overrideGlAccountId, glAccountTypeId=creditGlAccountTypeId 9) call the createAcctgTransAndEntries with the following fields 9.1) acctgTransEntries prepared at points 5, 7 and 8 9.2) acctgTransTypeId=INCOMING_PAYMENT 9.3) partyId e roleTypeId (point 4), paymentId Add the following secas to trigger the service: eca service=createPayment event=commit condition field-name=statusId operator=equals value=PMNT_RECEIVED/ action service=createAcctgTransAndEntriesForIncomingPayment mode=sync/ /eca eca service=setPaymentStatus event=commit condition field-name=statusId operator=equals value=PMNT_RECEIVED/ condition field-name=oldStatusId operator=not-equals value=PMNT_RECEIVED/ action service=createAcctgTransAndEntriesForIncomingPayment mode=sync/ /eca -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-1438) Add Find menu with Find Project, Find Tasks, Find Timesheet as sub menu items
[ https://issues.apache.org/jira/browse/OFBIZ-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JyotsnaRathore updated OFBIZ-1438: -- Attachment: findMenu1438.patch Hans, please have a look at the patch uploaded. Add Find menu with Find Project, Find Tasks, Find Timesheet as sub menu items -- Key: OFBIZ-1438 URL: https://issues.apache.org/jira/browse/OFBIZ-1438 Project: OFBiz Issue Type: Improvement Reporter: Anil K Patel Priority: Minor Attachments: findMenu1438.patch Add Find menu in Application menu under project component. On click on Find, A screen should come that has a sub menu with Find Project, Find Tasks, Find Timesheet as sub menu items. Find Project will be the default selected. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-1109) Ability to add items with modifiers
[ https://issues.apache.org/jira/browse/OFBIZ-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548859 ] Jacques Le Roux commented on OFBIZ-1109: OK, I had a closer look. Not sure why (did not search further) but just before printing the receipt on line 386 the productId needs to be trimmed. if(trans.isAggregatedItem(((String)expandMap.get(productId)).trim())){ At least , it works like that, but it should certainly be better to search why it has trailing blanks only at this stage Also we see the prices of components in journal but not on receipt. Is that intended ? Ability to add items with modifiers --- Key: OFBIZ-1109 URL: https://issues.apache.org/jira/browse/OFBIZ-1109 Project: OFBiz Issue Type: New Feature Components: pos Affects Versions: SVN trunk Reporter: Chris Lombardi Assignee: Jacques Le Roux Attachments: 21Nov2007.patch I would like to add the ability to add and configure aggregated items via the POS system. A few scenarios should be supported. 1. The item has a default configuration and can be added without configuration. 2. The item requires configuration and a screen to configure the item should present upon adding the item. 3. A configurable item should allow editing after both earlier scenarios. I have a prototype mostly working, but I'd like to determine the following: 1. Is anyone else interested in this functionality? 2. What does everyone think is the best way to accomplish this? Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-1009) PayPalEvents does not create order payment preference
[ https://issues.apache.org/jira/browse/OFBIZ-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548894 ] BJ Freeman commented on OFBIZ-1009: --- not sure if this is an oversite +#payment.paypal.confirm=http://www.paypal.com/cgi-bin/webscr should be +#payment.paypal.confirm=https://www.paypal.com/cgi-bin/webscr https://www.paypal.com/IntegrationCenter/ic_ipn.html PayPalEvents does not create order payment preference -- Key: OFBIZ-1009 URL: https://issues.apache.org/jira/browse/OFBIZ-1009 Project: OFBiz Issue Type: Bug Components: accounting Affects Versions: SVN trunk, Release Branch 4.0 Environment: mac os x Reporter: Marco Risaliti Priority: Minor Fix For: SVN trunk Attachments: PayPal_bug.patch I have reorganizated the PayPalEvents.java performing those tasks: - removing unused variable to avoid compile warning - removed hardcoded error messages to use uiLabels.properties - correct the bug that does not create the payment for the order that was paid on PayPal - removed an hard-coded link to production PayPal (http://www.paypal.com/cgi-bin/webscr) and retrieved from the payment.properties This patch can be tested also on the front-end application on http://www.ofbiz.it After review and commit this patch the issue OFBIZ-175 and OFBIZ-247 can be closed. Thanks in advance Marco Risaliti -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: svn commit: r601270 - /ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
Thanks for new in comment Scott (related to release4.0 back-port of course ;o) Jacques Author: lektran Date: Wed Dec 5 01:32:23 2007 New Revision: 601270 URL: http://svn.apache.org/viewvc?rev=601270view=rev Log: Fix a few new bugs Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java?rev=601270r1=601269r2=601270view=diff == --- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java (original) +++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java Wed Dec 5 01:32:23 2007 @@ -1554,6 +1554,7 @@ serviceContext.put(userLogin, userLogin); resultService = dispatcher.runSync(createInventoryItemDetail, serviceContext); serviceContext.clear(); +serviceContext.put(userLogin, userLogin); serviceContext.put(workEffortId, productionRunId); serviceContext.put(inventoryItemId, inventoryItemId); resultService = dispatcher.runSync(createWorkEffortInventoryProduced, serviceContext); @@ -1589,6 +1590,7 @@ serviceContext.put(userLogin, userLogin); resultService = dispatcher.runSync(createInventoryItemDetail, serviceContext); serviceContext.clear(); +serviceContext.put(userLogin, userLogin); serviceContext.put(workEffortId, productionRunId); serviceContext.put(inventoryItemId, inventoryItemId); resultService = dispatcher.runSync(createWorkEffortInventoryProduced, serviceContext); @@ -1677,6 +1679,7 @@ serviceContext.put(userLogin, userLogin); resultService = dispatcher.runSync(createInventoryItemDetail, serviceContext); serviceContext.clear(); +serviceContext.put(userLogin, userLogin); serviceContext.put(workEffortId, productionRunTaskId); serviceContext.put(inventoryItemId, inventoryItemId); resultService = dispatcher.runSync(createWorkEffortInventoryProduced, serviceContext); @@ -1713,6 +1716,7 @@ serviceContext.put(userLogin, userLogin); resultService = dispatcher.runSync(createInventoryItemDetail, serviceContext); serviceContext.clear(); +serviceContext.put(userLogin, userLogin); serviceContext.put(workEffortId, productionRunTaskId); serviceContext.put(inventoryItemId, inventoryItemId); resultService = dispatcher.runSync(createWorkEffortInventoryProduced, serviceContext);
intityengine.xml delegator name=other shows datasource-name=localpostgres
delegator name=other entity-model-reader=main entity-group-reader=main entity-eca-reader=main group-map group-name=org.ofbiz datasource-name=localpostgres/ /delegator
[jira] Created: (OFBIZ-1493) connection-factory class=org.ofbiz.entity.connection.ConnectionFactory/ element missing.
connection-factory class=org.ofbiz.entity.connection.ConnectionFactory/ element missing. Key: OFBIZ-1493 URL: https://issues.apache.org/jira/browse/OFBIZ-1493 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Release Branch 4.0 Environment: entityengine.xml for branch 4.0 Reporter: BJ Freeman Priority: Minor Fix For: Release Branch 4.0 shows an errer in xml editor. not sure if it supported in 4.0 connection-factory class=org.ofbiz.entity.connection.ConnectionFactory/ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-1493) connection-factory class=org.ofbiz.entity.connection.ConnectionFactory/ element missing.
[ https://issues.apache.org/jira/browse/OFBIZ-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] BJ Freeman updated OFBIZ-1493: -- Attachment: entityengine_ConnectFactory.patch connection-factory class=org.ofbiz.entity.connection.ConnectionFactory/ element missing. Key: OFBIZ-1493 URL: https://issues.apache.org/jira/browse/OFBIZ-1493 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Release Branch 4.0 Environment: entityengine.xml for branch 4.0 Reporter: BJ Freeman Priority: Minor Fix For: Release Branch 4.0 Attachments: entityengine_ConnectFactory.patch shows an errer in xml editor. not sure if it supported in 4.0 connection-factory class=org.ofbiz.entity.connection.ConnectionFactory/ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-1487) Create a service to clone an existing accounting transaction and its entries (AcctgTrans and AcctgTransEntry), with an optional parameter to revert the original transactio
[ https://issues.apache.org/jira/browse/OFBIZ-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SACHIN CHOURASIYA updated OFBIZ-1487: - Attachment: (was: [EMAIL PROTECTED]) Create a service to clone an existing accounting transaction and its entries (AcctgTrans and AcctgTransEntry), with an optional parameter to revert the original transaction Key: OFBIZ-1487 URL: https://issues.apache.org/jira/browse/OFBIZ-1487 Project: OFBiz Issue Type: Sub-task Components: accounting Affects Versions: SVN trunk Reporter: Jacopo Cappellato Create a service to clone an existing accounting transaction and its entries (AcctgTrans and AcctgTransEntry), with an optional parameter to revert the original transaction. Proposed service name: copyAcctgTransAndEntries IN parameters: fromAcctgTransId (mandatory), revert (optional) OUT parameters: acctgTransId The service simply clones the AcctgTrans record into a new identical one (if possible, use the createAcctgTrans service) with the exception of the following fields: transactionDate: do not set, so that it will be automatically set to now isPosted: set to N postedDate: do not set scheduledPostedDate: do not set createdByUserLogin: do not set lastModifiedByUserLogin: do not set and also clones all the AcctgTransEntry (if possible, use the createAcctgTransEntry service), with the exception of the following fields: reconcileStatusId: do not set For each entry, if the parameters.revert field is set to Y, flip the debitCreditFlag from C to D and vice versa. Add two new links to the Edit Accounting Transaction screen: duplicate accounting transaction and revert accounting transaction that both call the above service (the latter calls the service with revert=Y). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-1485) UtilProperties - The Next Generation
[ https://issues.apache.org/jira/browse/OFBIZ-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-1485: --- Attachment: props_tng.patch Updated patch. Much improved code. UtilProperties - The Next Generation Key: OFBIZ-1485 URL: https://issues.apache.org/jira/browse/OFBIZ-1485 Project: OFBiz Issue Type: Improvement Components: framework Reporter: Adrian Crum Priority: Minor Attachments: props_tng.patch, props_tng.patch Improve the UtilProperties class. Details in comments. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.