Hello List , Please Suggest , how do we change the text below ofbiz logo in the attached document. =================== Default Company No Postal Address For: Default Company =================== The order has been created for a store belonging to a party other than "Company" regds mallah. |
For this particular order , the roles are as below:
select order_id,party_id,role_type_id from order_role where order_id='ORD-RP10272' limit 10; order_id | party_id | role_type_id -------------+--------------------+------------------- ORD-RP10272 | 10014 | PLACING_CUSTOMER ORD-RP10272 | 10014 | END_USER_CUSTOMER ORD-RP10272 | 10014 | SHIP_TO_CUSTOMER ORD-RP10272 | 10014 | BILL_TO_CUSTOMER ORD-RP10272 | RNDPRTY_VR75I9G0VT | BILL_FROM_VENDOR (5 rows) Regds mallah. On Sat, May 12, 2018 at 9:43 PM, Rajesh Mallah <[hidden email]> wrote: > Hello List , > > Please Suggest , how do we change the text > below ofbiz logo in the attached document. > > =================== > Default Company > No Postal Address > For: Default Company > =================== > > The order has been created for a store belonging > to a party other than "Company" > > regds > mallah. > |
Hi Rajesh,
Please refer following files that is used to display header information on pdf. applications/order/template/order/CompanyHeader.fo.ftl applications/order/groovyScripts/order/CompanyHeader.groovy It seems primary address is missing for Company party id. Your override the OrderPdf screen and can crate your own pdf format. applications/order/widget/ordermgr/OrderPrintScreens.xml:27 Thanks & Regards -- Deepak Dixit www.hotwax.co On Sat, May 12, 2018 at 10:43 PM, Rajesh Mallah <[hidden email]> wrote: > For this particular order , the roles are as below: > > > select order_id,party_id,role_type_id from order_role > where order_id='ORD-RP10272' limit 10; > > order_id | party_id | role_type_id > -------------+--------------------+------------------- > ORD-RP10272 | 10014 | PLACING_CUSTOMER > ORD-RP10272 | 10014 | END_USER_CUSTOMER > ORD-RP10272 | 10014 | SHIP_TO_CUSTOMER > ORD-RP10272 | 10014 | BILL_TO_CUSTOMER > ORD-RP10272 | RNDPRTY_VR75I9G0VT | BILL_FROM_VENDOR > (5 rows) > > > Regds > mallah. > > > On Sat, May 12, 2018 at 9:43 PM, Rajesh Mallah <[hidden email]> > wrote: > > > Hello List , > > > > Please Suggest , how do we change the text > > below ofbiz logo in the attached document. > > > > =================== > > Default Company > > No Postal Address > > For: Default Company > > =================== > > > > The order has been created for a store belonging > > to a party other than "Company" > > > > regds > > mallah. > > > |
Thanks Deepak ,
I shall check it after updating the primary address(es) of the parties concerned. regds mallah. On Mon, May 14, 2018 at 12:00 PM, Deepak Dixit < [hidden email]> wrote: > Hi Rajesh, > > Please refer following files that is used to display header information on > pdf. > applications/order/template/order/CompanyHeader.fo.ftl > applications/order/groovyScripts/order/CompanyHeader.groovy > > It seems primary address is missing for Company party id. > > > Your override the OrderPdf screen and can crate your own pdf format. > applications/order/widget/ordermgr/OrderPrintScreens.xml:27 > > > Thanks & Regards > -- > Deepak Dixit > www.hotwax.co > > On Sat, May 12, 2018 at 10:43 PM, Rajesh Mallah <[hidden email]> > wrote: > > > For this particular order , the roles are as below: > > > > > > select order_id,party_id,role_type_id from order_role > > where order_id='ORD-RP10272' limit 10; > > > > order_id | party_id | role_type_id > > -------------+--------------------+------------------- > > ORD-RP10272 | 10014 | PLACING_CUSTOMER > > ORD-RP10272 | 10014 | END_USER_CUSTOMER > > ORD-RP10272 | 10014 | SHIP_TO_CUSTOMER > > ORD-RP10272 | 10014 | BILL_TO_CUSTOMER > > ORD-RP10272 | RNDPRTY_VR75I9G0VT | BILL_FROM_VENDOR > > (5 rows) > > > > > > Regds > > mallah. > > > > > > On Sat, May 12, 2018 at 9:43 PM, Rajesh Mallah <[hidden email]> > > wrote: > > > > > Hello List , > > > > > > Please Suggest , how do we change the text > > > below ofbiz logo in the attached document. > > > > > > =================== > > > Default Company > > > No Postal Address > > > For: Default Company > > > =================== > > > > > > The order has been created for a store belonging > > > to a party other than "Company" > > > > > > regds > > > mallah. > > > > > > |
Hi Rajesh,
There was a typo in type, I read code and as per this GENERAL_LOCATION should be set addresses = from("PartyContactWithPurpose") .where("partyId", partyId, "contactMechPurposeTypeId", "GENERAL_LOCATION") .filterByDate("contactFromDate", "contactThruDate", "purposeFromDate", "purposeThruDate") .queryList() Thanks & Regards -- Deepak Dixit www.hotwax.co On Mon, May 14, 2018 at 12:07 PM, Rajesh Mallah <[hidden email]> wrote: > Thanks Deepak , > > I shall check it after updating the primary address(es) of the > parties concerned. > > regds > mallah. > > On Mon, May 14, 2018 at 12:00 PM, Deepak Dixit < > [hidden email]> wrote: > > > Hi Rajesh, > > > > Please refer following files that is used to display header information > on > > pdf. > > applications/order/template/order/CompanyHeader.fo.ftl > > applications/order/groovyScripts/order/CompanyHeader.groovy > > > > It seems primary address is missing for Company party id. > > > > > > Your override the OrderPdf screen and can crate your own pdf format. > > applications/order/widget/ordermgr/OrderPrintScreens.xml:27 > > > > > > Thanks & Regards > > -- > > Deepak Dixit > > www.hotwax.co > > > > On Sat, May 12, 2018 at 10:43 PM, Rajesh Mallah <[hidden email] > > > > wrote: > > > > > For this particular order , the roles are as below: > > > > > > > > > select order_id,party_id,role_type_id from order_role > > > where order_id='ORD-RP10272' limit 10; > > > > > > order_id | party_id | role_type_id > > > -------------+--------------------+------------------- > > > ORD-RP10272 | 10014 | PLACING_CUSTOMER > > > ORD-RP10272 | 10014 | END_USER_CUSTOMER > > > ORD-RP10272 | 10014 | SHIP_TO_CUSTOMER > > > ORD-RP10272 | 10014 | BILL_TO_CUSTOMER > > > ORD-RP10272 | RNDPRTY_VR75I9G0VT | BILL_FROM_VENDOR > > > (5 rows) > > > > > > > > > Regds > > > mallah. > > > > > > > > > On Sat, May 12, 2018 at 9:43 PM, Rajesh Mallah < > [hidden email]> > > > wrote: > > > > > > > Hello List , > > > > > > > > Please Suggest , how do we change the text > > > > below ofbiz logo in the attached document. > > > > > > > > =================== > > > > Default Company > > > > No Postal Address > > > > For: Default Company > > > > =================== > > > > > > > > The order has been created for a store belonging > > > > to a party other than "Company" > > > > > > > > regds > > > > mallah. > > > > > > > > > > |
Thanks again.
Sent from my Samsung Galaxy smartphone. -------- Original message --------From: Deepak Dixit <[hidden email]> Date: 5/14/18 12:10 (GMT+05:30) To: [hidden email] Subject: Re: changing header in order export pdf Hi Rajesh, There was a typo in type, I read code and as per this GENERAL_LOCATION should be set addresses = from("PartyContactWithPurpose") .where("partyId", partyId, "contactMechPurposeTypeId", "GENERAL_LOCATION") .filterByDate("contactFromDate", "contactThruDate", "purposeFromDate", "purposeThruDate") .queryList() Thanks & Regards -- Deepak Dixit www.hotwax.co On Mon, May 14, 2018 at 12:07 PM, Rajesh Mallah <[hidden email]> wrote: > Thanks Deepak , > > I shall check it after updating the primary address(es) of the > parties concerned. > > regds > mallah. > > On Mon, May 14, 2018 at 12:00 PM, Deepak Dixit < > [hidden email]> wrote: > > > Hi Rajesh, > > > > Please refer following files that is used to display header information > on > > pdf. > > applications/order/template/order/CompanyHeader.fo.ftl > > applications/order/groovyScripts/order/CompanyHeader.groovy > > > > It seems primary address is missing for Company party id. > > > > > > Your override the OrderPdf screen and can crate your own pdf format. > > applications/order/widget/ordermgr/OrderPrintScreens.xml:27 > > > > > > Thanks & Regards > > -- > > Deepak Dixit > > www.hotwax.co > > > > On Sat, May 12, 2018 at 10:43 PM, Rajesh Mallah <[hidden email] > > > > wrote: > > > > > For this particular order , the roles are as below: > > > > > > > > > select order_id,party_id,role_type_id from order_role > > > where order_id='ORD-RP10272' limit 10; > > > > > > order_id | party_id | role_type_id > > > -------------+--------------------+------------------- > > > ORD-RP10272 | 10014 | PLACING_CUSTOMER > > > ORD-RP10272 | 10014 | END_USER_CUSTOMER > > > ORD-RP10272 | 10014 | SHIP_TO_CUSTOMER > > > ORD-RP10272 | 10014 | BILL_TO_CUSTOMER > > > ORD-RP10272 | RNDPRTY_VR75I9G0VT | BILL_FROM_VENDOR > > > (5 rows) > > > > > > > > > Regds > > > mallah. > > > > > > > > > On Sat, May 12, 2018 at 9:43 PM, Rajesh Mallah < > [hidden email]> > > > wrote: > > > > > > > Hello List , > > > > > > > > Please Suggest , how do we change the text > > > > below ofbiz logo in the attached document. > > > > > > > > =================== > > > > Default Company > > > > No Postal Address > > > > For: Default Company > > > > =================== > > > > > > > > The order has been created for a store belonging > > > > to a party other than "Company" > > > > > > > > regds > > > > mallah. > > > > > > > > > > |
In reply to this post by Deepak Dixit-3
Thanks Deepak.
regds mallah |
Hello Rajesh, Deepak
I think we can improve the code as well, if we don't get the GENERAL_LOCATION, we can use a PRIMARY_LOCATION as an alternate, always. PRIMARY_LOCATION is also used in some of the cases instead of GENERAL_LOCATION. Vaibhav Jain Sr. Enterprise Software Engineer HotWax Systems m: 782-834-1900 e: [hidden email] On Mon, May 14, 2018 at 1:44 PM Rajesh Mallah <[hidden email]> wrote: > Thanks Deepak. > > regds > mallah > |
Free forum by Nabble | Edit this page |