Hi,
As of my requirement I updated the Description of CREDIT_LINE from "Credit Line" to "Credit Lines" of acctg_trans_type table. If you see the same description in the screen its same as the previous description Code for getting those data to screen is <field name="acctgTransTypeId" title="${uiLabelMap.AccountingTransactionType}"> <drop-down allow-empty="true"> <entity-options entity-name="AcctgTransType" description="${description}"> <entity-order-by field-name="acctgTransTypeId"/> </entity-options> </drop-down> </field> That means getting directly from database with out any condition. Still in the drop down the description is like Credit Lines If I create new record and alter it then its effecting normally. If I am altering any value which is already exist its not affecting I removed the existing record its not showing in the screen. Again created the new record with same values with different description its again showing in the screen but with old description Please help me in this issue... |
if I understand you, you need to update the UILabels for that.
they are in the config/UIlables.xml for that component or in the framework/common/config ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> prasanthi_ofbiz sent the following on 5/14/2010 4:52 AM: > Hi, > As of my requirement I updated the Description of CREDIT_LINE from "Credit > Line" to "Credit Lines" of acctg_trans_type table. If you see the same > description in the screen its same as the previous description > Code for getting those data to screen is > <field name="acctgTransTypeId" > title="${uiLabelMap.AccountingTransactionType}"> > <drop-down allow-empty="true"> > <entity-options entity-name="AcctgTransType" > description="${description}"> > <entity-order-by field-name="acctgTransTypeId"/> > </entity-options> > </drop-down> > </field> > That means getting directly from database with out any condition. Still in > the drop down the description is like Credit Lines > If I create new record and alter it then its effecting normally. If I am > altering any value which is already exist its not affecting > I removed the existing record its not showing in the screen. > Again created the new record with same values with different description its > again showing in the screen but with old description > Please help me in this issue... > > |
In reply to this post by prasanthi_ofbiz
Hello Prasanthi,
Change the value of "AcctgTransType.description.CREDIT_LINE" uilabel (Credit Line -> Credit Lines) in accounting/config/AccountingEntityLabels.xml file. Thanks and Regards -- Akash Jain prasanthi_ofbiz wrote: > Hi, > As of my requirement I updated the Description of CREDIT_LINE from "Credit > Line" to "Credit Lines" of acctg_trans_type table. If you see the same > description in the screen its same as the previous description > Code for getting those data to screen is > <field name="acctgTransTypeId" > title="${uiLabelMap.AccountingTransactionType}"> > <drop-down allow-empty="true"> > <entity-options entity-name="AcctgTransType" > description="${description}"> > <entity-order-by field-name="acctgTransTypeId"/> > </entity-options> > </drop-down> > </field> > That means getting directly from database with out any condition. Still in > the drop down the description is like Credit Lines > If I create new record and alter it then its effecting normally. If I am > altering any value which is already exist its not affecting > I removed the existing record its not showing in the screen. > Again created the new record with same values with different description its > again showing in the screen but with old description > Please help me in this issue... > > > |
Hi Pransanthi:
You may also use the WebTools "Label Manager". Regardless of where you change this, if you are using Java 1.5 or earlier, you will need to restart OFBiz for the change to take effect. Regards, Ruth ---------------------------------------------------- Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" [hidden email] Akash Jain wrote: > Hello Prasanthi, > > Change the value of "AcctgTransType.description.CREDIT_LINE" uilabel > (Credit Line -> Credit Lines) in > accounting/config/AccountingEntityLabels.xml file. > > Thanks and Regards > -- > Akash Jain > > prasanthi_ofbiz wrote: >> Hi, >> As of my requirement I updated the Description of CREDIT_LINE from >> "Credit >> Line" to "Credit Lines" of acctg_trans_type table. If you see the same >> description in the screen its same as the previous description >> Code for getting those data to screen is <field name="acctgTransTypeId" >> title="${uiLabelMap.AccountingTransactionType}"> >> <drop-down allow-empty="true"> >> <entity-options entity-name="AcctgTransType" >> description="${description}"> >> <entity-order-by field-name="acctgTransTypeId"/> >> </entity-options> >> </drop-down> >> </field> >> That means getting directly from database with out any condition. >> Still in >> the drop down the description is like Credit Lines >> If I create new record and alter it then its effecting normally. If I am >> altering any value which is already exist its not affecting >> I removed the existing record its not showing in the screen. >> Again created the new record with same values with different >> description its >> again showing in the screen but with old description >> Please help me in this issue... >> >> >> > > |
Free forum by Nabble | Edit this page |