|
View:
New views
16 Messages
—
Rating Filter:
Alert me
|
|
|
POS - Additional Info working with questionsAll,
I've gotten most of the functionality of pressing a button to modify a field to appear on a "prep" receipt (the receipt that a cook or delivery person will see...Not the custreceipt). What works: I have a button on the main POS page (you can really put it where ever you want) that does some neat things... 1) It calls the newly added keyboard.java file BUT we've modified the method that calls it to use a different xml file so some things can be changed to suit this field, such as more text area and a carriage return button. 2) It passes your "custom request" into the special instructions field that we mentioned was already implemented for shipping. What doesn't work: 1) I'm not finished working with the new receipt template. It's a little confusing, but I'm getting the hang of it. 2) I'm not even going to attempt to modify the journal.java's jtable to try to call the custom requests so that they show up on the monitor. If one of you guys are good enough to do that and know the API well enough, go for it! Showing up on the receipt is goooooood enough for this sys admin transformed into quasi java programmer! 3) I'm currently working on adding methods to the (forgive me I don't have it in front of me, so I'm guessing at which java file). Printer...Or device loader? Basically what I'm trying to do is add a Receipt2, or ReceiptPrep to "pos-components.xml" and add the already working TCP printer though JPOS's SetupPos program. Then I can differentiate the print button I want to use to send the data using the "prep" template (no extra text, or prices, just orders with customizations) and the regular customer receipt printing functionality at the end of the sale. I'm almost finished with this. Hopefully if all goes well tonight (it never does!) I'll have time to not only create a Jira issue for this (if anyone is interested) but I'll hopefully be able to create a Jira issue for the TCP printer info / setup / small quarks. I haven't forgotten about the TCP printer, don't worry ;) Just thought I'd keep you all in the loop, rather than completely finish then get a good Idea from someone! Thanks! |
|
|
Re: POS - Additional Info working with questionsFrom: "Branden Strickland" <openforbusinessman@...>
> All, > > I've gotten most of the functionality of pressing a button to modify a field > to appear on a "prep" receipt (the receipt that a cook or delivery person > will see...Not the custreceipt). > > What works: > I have a button on the main POS page (you can really put it where ever you > want) that does some neat things... > > 1) It calls the newly added keyboard.java file BUT we've modified the method > that calls it to use a different xml file so some things can be changed to > suit this field, such as more text area and a carriage return button. Interesting, I was also thinking about a property to completly deactivate the keyboard at will (some people are using a real keyd) > 2) It passes your "custom request" into the special instructions field that > we mentioned was already implemented for shipping. > > What doesn't work: > 1) I'm not finished working with the new receipt template. It's a little > confusing, but I'm getting the hang of it. > 2) I'm not even going to attempt to modify the journal.java's jtable to try > to call the custom requests so that they show up on the monitor. If one of > you guys are good enough to do that and know the API well enough, go for > it! Showing up on the receipt is goooooood enough for this sys admin > transformed into quasi java programmer! We will see, when we will have your code. > 3) I'm currently working on adding methods to the (forgive me I don't have > it in front of me, so I'm guessing at which java file). Printer...Or device > loader? Basically what I'm trying to do is add a Receipt2, or ReceiptPrep > to "pos-components.xml" and add the already working TCP printer though > JPOS's SetupPos program. Then I can differentiate the print button I want > to use to send the data using the "prep" template (no extra text, or prices, > just orders with customizations) and the regular customer receipt printing > functionality at the end of the sale. I'm almost finished with this. > > Hopefully if all goes well tonight (it never does!) I'll have time to not > only create a Jira issue for this (if anyone is interested) but I'll > hopefully be able to create a Jira issue for the TCP printer info / setup / > small quarks. Feel free top open as many as Jira issues you need. > I haven't forgotten about the TCP printer, don't worry ;) > > Just thought I'd keep you all in the loop, rather than completely finish > then get a good Idea from someone! Sorry not even an ideas tonight (without speaking of a good one) : too late :o) Jacques > Thanks! > |
|
|
Re: POS - Additional Info working with questionsI've pretty much got this working.
Although, It doesn't seem that the ShippingInstructions are saved when the sale is saved. Does anyone know off of the top of their head which method I need to modify to include the ShippingInstructions in getting saved to a shoppingcart? Thanks! On Wed, Jun 25, 2008 at 6:00 PM, Jacques Le Roux < jacques.le.roux@...> wrote: > From: "Branden Strickland" <openforbusinessman@...> > >> All, >> >> I've gotten most of the functionality of pressing a button to modify a >> field >> to appear on a "prep" receipt (the receipt that a cook or delivery person >> will see...Not the custreceipt). >> >> What works: >> I have a button on the main POS page (you can really put it where ever you >> want) that does some neat things... >> >> 1) It calls the newly added keyboard.java file BUT we've modified the >> method >> that calls it to use a different xml file so some things can be changed to >> suit this field, such as more text area and a carriage return button. >> > > Interesting, I was also thinking about a property to completly deactivate > the keyboard at will (some people are using a real keyd) > > 2) It passes your "custom request" into the special instructions field >> that >> we mentioned was already implemented for shipping. >> >> What doesn't work: >> 1) I'm not finished working with the new receipt template. It's a little >> confusing, but I'm getting the hang of it. >> 2) I'm not even going to attempt to modify the journal.java's jtable to >> try >> to call the custom requests so that they show up on the monitor. If one >> of >> you guys are good enough to do that and know the API well enough, go for >> it! Showing up on the receipt is goooooood enough for this sys admin >> transformed into quasi java programmer! >> > > We will see, when we will have your code. > > 3) I'm currently working on adding methods to the (forgive me I don't have >> it in front of me, so I'm guessing at which java file). Printer...Or >> device >> loader? Basically what I'm trying to do is add a Receipt2, or ReceiptPrep >> to "pos-components.xml" and add the already working TCP printer though >> JPOS's SetupPos program. Then I can differentiate the print button I want >> to use to send the data using the "prep" template (no extra text, or >> prices, >> just orders with customizations) and the regular customer receipt printing >> functionality at the end of the sale. I'm almost finished with this. >> >> Hopefully if all goes well tonight (it never does!) I'll have time to not >> only create a Jira issue for this (if anyone is interested) but I'll >> hopefully be able to create a Jira issue for the TCP printer info / setup >> / >> small quarks. >> > > Feel free top open as many as Jira issues you need. > > I haven't forgotten about the TCP printer, don't worry ;) >> >> Just thought I'd keep you all in the loop, rather than completely finish >> then get a good Idea from someone! >> > > Sorry not even an ideas tonight (without speaking of a good one) : too late > :o) Jacques > > Thanks! >> >> |
|
|
|
|
|
RE: POS - Additional Info working with questionsIn ofbiz, persistence is handled by framework/entity. When you are looking through other code, if you see any references to "delegator", that's a tip that something is going on that may involve persistence.
Have you checked the database to make sure it's not being persisted? These three tables may have something in the ShippingInstructions field. ORDER_SHIPMENT_PREFERENCE OrderHeaderAndShipGroups ORDER_ITEM_SHIP_GROUP If you haven't found it yet, "WebTools" (bottom of the ofbiz web admin) -> Entity Reference -> View Data, can be of use. C > Date: Tue, 1 Jul 2008 10:03:03 -0400 > From: openforbusinessman@... > To: clearchris@...; user@... > Subject: Re: POS - Additional Info working with questions > > I'm using: > > public void setShippingInstructions(String shippingInstructions) { > this.setShippingInstructions(0, shippingInstructions); > } > > In /app/order/src/org/ofbiz/shoppingcart/shoppingcart.java > > If that helps. > > It's not saved off... I can see that in the code, I'm just wondering the > best way to go about it, and was also slightly curious where the actual > database sql code is housed, so I can go take a look to where the special > instructions are saved and whatnot. > > Thanks Chris! > > On Tue, Jul 1, 2008 at 12:58 AM, Christopher L <clearchris@...> > wrote: > > > > > What class and method are you currently using? I can't find the email I > > sent to you detailing my research. > > > > C > > > > ------------------------------ > > > Date: Mon, 30 Jun 2008 15:59:57 -0400 > > > From: openforbusinessman@... > > > To: user@...; jacques.le.roux@... > > > Subject: Re: POS - Additional Info working with questions > > > > > > > > I've pretty much got this working. > > > > > > Although, It doesn't seem that the ShippingInstructions are saved when > > the > > > sale is saved. Does anyone know off of the top of their head which method > > I > > > need to modify to include the ShippingInstructions in getting saved to a > > > shoppingcart? > > > > > > Thanks! > > > > > > On Wed, Jun 25, 2008 at 6:00 PM, Jacques Le Roux < > > > jacques.le.roux@...> wrote: > > > > > > > From: "Branden Strickland" <openforbusinessman@...> > > > > > > > >> All, > > > >> > > > >> I've gotten most of the functionality of pressing a button to modify a > > > >> field > > > >> to appear on a "prep" receipt (the receipt that a cook or delivery > > person > > > >> will see...Not the custreceipt). > > > >> > > > >> What works: > > > >> I have a button on the main POS page (you can really put it where ever > > you > > > >> want) that does some neat things... > > > >> > > > >> 1) It calls the newly added keyboard.java file BUT we've modified the > > > >> method > > > >> that calls it to use a different xml file so some things can be > > changed to > > > >> suit this field, such as more text area and a carriage return button. > > > >> > > > > > > > > Interesting, I was also thinking about a property to completly > > deactivate > > > > the keyboard at will (some people are using a real keyd) > > > > > > > > 2) It passes your "custom request" into the special instructions field > > > >> that > > > >> we mentioned was already implemented for shipping. > > > >> > > > >> What doesn't work: > > > >> 1) I'm not finished working with the new receipt template. It's a > > little > > > >> confusing, but I'm getting the hang of it. > > > >> 2) I'm not even going to attempt to modify the journal.java's jtable > > to > > > >> try > > > >> to call the custom requests so that they show up on the monitor. If > > one > > > >> of > > > >> you guys are good enough to do that and know the API well enough, go > > for > > > >> it! Showing up on the receipt is goooooood enough for this sys admin > > > >> transformed into quasi java programmer! > > > >> > > > > > > > > We will see, when we will have your code. > > > > > > > > 3) I'm currently working on adding methods to the (forgive me I don't > > have > > > >> it in front of me, so I'm guessing at which java file). Printer...Or > > > >> device > > > >> loader? Basically what I'm trying to do is add a Receipt2, or > > ReceiptPrep > > > >> to "pos-components.xml" and add the already working TCP printer though > > > >> JPOS's SetupPos program. Then I can differentiate the print button I > > want > > > >> to use to send the data using the "prep" template (no extra text, or > > > >> prices, > > > >> just orders with customizations) and the regular customer receipt > > printing > > > >> functionality at the end of the sale. I'm almost finished with this. > > > >> > > > >> Hopefully if all goes well tonight (it never does!) I'll have time to > > not > > > >> only create a Jira issue for this (if anyone is interested) but I'll > > > >> hopefully be able to create a Jira issue for the TCP printer info / > > setup > > > >> / > > > >> small quarks. > > > >> > > > > > > > > Feel free top open as many as Jira issues you need. > > > > > > > > I haven't forgotten about the TCP printer, don't worry ;) > > > >> > > > >> Just thought I'd keep you all in the loop, rather than completely > > finish > > > >> then get a good Idea from someone! > > > >> > > > > > > > > Sorry not even an ideas tonight (without speaking of a good one) : too > > late > > > > :o) Jacques > > > > > > > > Thanks! > > > >> > > > >> > > |
|
|
Re: POS - Additional Info working with questionsThanks!
I'll update soon On Tue, Jul 1, 2008 at 12:06 PM, Christopher L <clearchris@...> wrote: > In ofbiz, persistence is handled by framework/entity. When you are looking > through other code, if you see any references to "delegator", that's a tip > that something is going on that may involve persistence. > > Have you checked the database to make sure it's not being persisted? These > three tables may have something in the ShippingInstructions field. > > ORDER_SHIPMENT_PREFERENCE > OrderHeaderAndShipGroups > ORDER_ITEM_SHIP_GROUP > > If you haven't found it yet, "WebTools" (bottom of the ofbiz web admin) -> > Entity Reference -> View Data, can be of use. > > C > > > Date: Tue, 1 Jul 2008 10:03:03 -0400 > > From: openforbusinessman@... > > To: clearchris@...; user@... > > Subject: Re: POS - Additional Info working with questions > > > > I'm using: > > > > public void setShippingInstructions(String shippingInstructions) { > > this.setShippingInstructions(0, shippingInstructions); > > } > > > > In /app/order/src/org/ofbiz/shoppingcart/shoppingcart.java > > > > If that helps. > > > > It's not saved off... I can see that in the code, I'm just wondering the > > best way to go about it, and was also slightly curious where the actual > > database sql code is housed, so I can go take a look to where the special > > instructions are saved and whatnot. > > > > Thanks Chris! > > > > On Tue, Jul 1, 2008 at 12:58 AM, Christopher L <clearchris@...> > > wrote: > > > > > > > > What class and method are you currently using? I can't find the email > I > > > sent to you detailing my research. > > > > > > C > > > > > > ------------------------------ > > > > Date: Mon, 30 Jun 2008 15:59:57 -0400 > > > > From: openforbusinessman@... > > > > To: user@...; jacques.le.roux@... > > > > Subject: Re: POS - Additional Info working with questions > > > > > > > > > > > I've pretty much got this working. > > > > > > > > Although, It doesn't seem that the ShippingInstructions are saved > when > > > the > > > > sale is saved. Does anyone know off of the top of their head which > method > > > I > > > > need to modify to include the ShippingInstructions in getting saved > to a > > > > shoppingcart? > > > > > > > > Thanks! > > > > > > > > On Wed, Jun 25, 2008 at 6:00 PM, Jacques Le Roux < > > > > jacques.le.roux@...> wrote: > > > > > > > > > From: "Branden Strickland" <openforbusinessman@...> > > > > > > > > > >> All, > > > > >> > > > > >> I've gotten most of the functionality of pressing a button to > modify a > > > > >> field > > > > >> to appear on a "prep" receipt (the receipt that a cook or delivery > > > person > > > > >> will see...Not the custreceipt). > > > > >> > > > > >> What works: > > > > >> I have a button on the main POS page (you can really put it where > ever > > > you > > > > >> want) that does some neat things... > > > > >> > > > > >> 1) It calls the newly added keyboard.java file BUT we've modified > the > > > > >> method > > > > >> that calls it to use a different xml file so some things can be > > > changed to > > > > >> suit this field, such as more text area and a carriage return > button. > > > > >> > > > > > > > > > > Interesting, I was also thinking about a property to completly > > > deactivate > > > > > the keyboard at will (some people are using a real keyd) > > > > > > > > > > 2) It passes your "custom request" into the special instructions > field > > > > >> that > > > > >> we mentioned was already implemented for shipping. > > > > >> > > > > >> What doesn't work: > > > > >> 1) I'm not finished working with the new receipt template. It's a > > > little > > > > >> confusing, but I'm getting the hang of it. > > > > >> 2) I'm not even going to attempt to modify the journal.java's > jtable > > > to > > > > >> try > > > > >> to call the custom requests so that they show up on the monitor. > If > > > one > > > > >> of > > > > >> you guys are good enough to do that and know the API well enough, > go > > > for > > > > >> it! Showing up on the receipt is goooooood enough for this sys > admin > > > > >> transformed into quasi java programmer! > > > > >> > > > > > > > > > > We will see, when we will have your code. > > > > > > > > > > 3) I'm currently working on adding methods to the (forgive me I > don't > > > have > > > > >> it in front of me, so I'm guessing at which java file). > Printer...Or > > > > >> device > > > > >> loader? Basically what I'm trying to do is add a Receipt2, or > > > ReceiptPrep > > > > >> to "pos-components.xml" and add the already working TCP printer > though > > > > >> JPOS's SetupPos program. Then I can differentiate the print button > I > > > want > > > > >> to use to send the data using the "prep" template (no extra text, > or > > > > >> prices, > > > > >> just orders with customizations) and the regular customer receipt > > > printing > > > > >> functionality at the end of the sale. I'm almost finished with > this. > > > > >> > > > > >> Hopefully if all goes well tonight (it never does!) I'll have time > to > > > not > > > > >> only create a Jira issue for this (if anyone is interested) but > I'll > > > > >> hopefully be able to create a Jira issue for the TCP printer info > / > > > setup > > > > >> / > > > > >> small quarks. > > > > >> > > > > > > > > > > Feel free top open as many as Jira issues you need. > > > > > > > > > > I haven't forgotten about the TCP printer, don't worry ;) > > > > >> > > > > >> Just thought I'd keep you all in the loop, rather than completely > > > finish > > > > >> then get a good Idea from someone! > > > > >> > > > > > > > > > > Sorry not even an ideas tonight (without speaking of a good one) : > too > > > late > > > > > :o) Jacques > > > > > > > > > > Thanks! > > > > >> > > > > >> > > > > |
|
|
new screens under product moduleWe like to create a new custom screen in the product module at the same
level as given here; that will interact with the database product, feature and feature category table. Is that possible? Any guidance will be appreciated. Where should we add that? |
|
|
|
|
|
Re: new screens under product moduleI have been informed in the past that the dev mailing list is a place to
discuss such topics then the jira is used to provide the patches, and recap of the discussion. or has the policy changed? Ashish Vijaywargiya sent the following on 7/1/2008 9:47 PM: > Rajeev, > > If you have some thoughts that you think would be helpful for the ofbiz > community then you > can propose those features on the JIRA issue tracker and you can discuss > those with the community members. > > If you would like to do that for your custom application then you can create > the custom > component in the hot-deploy directory and can put the mount point same as > that of Product Component in ofbiz-component.xml file. > And then on each request (if you would like to reuse the request uri from > Product component) you can put the related view-map entries in the > controller.xml(Custom application one) file and can change the screen > definition according to your need. > > Please let us know if you still have some questions. > > -- > Ashish > > On Tue, Jul 1, 2008 at 3:44 PM, Rajeev Gupta <rajeev.gupta@...> > wrote: > >> We like to create a new custom screen in the product module at the same >> level as given here; that will interact with the database product, feature >> and feature category table. >> >> Is that possible? Any guidance will be appreciated. Where should we add >> that? >> >> >> > |
|
|
Re: new screens under product moduleNo Policy has changed BJ.
I was just discussing him if he want to contribute back to Ofbiz or want to do it in Custom application. -- Ashish On Wed, Jul 2, 2008 at 3:45 AM, BJ Freeman <bjfree@...> wrote: > I have been informed in the past that the dev mailing list is a place to > discuss such topics then the jira is used to provide the patches, and > recap of the discussion. > or has the policy changed? > > Ashish Vijaywargiya sent the following on 7/1/2008 9:47 PM: > > Rajeev, > > > > If you have some thoughts that you think would be helpful for the ofbiz > > community then you > > can propose those features on the JIRA issue tracker and you can discuss > > those with the community members. > > > > If you would like to do that for your custom application then you can > create > > the custom > > component in the hot-deploy directory and can put the mount point same as > > that of Product Component in ofbiz-component.xml file. > > And then on each request (if you would like to reuse the request uri from > > Product component) you can put the related view-map entries in the > > controller.xml(Custom application one) file and can change the screen > > definition according to your need. > > > > Please let us know if you still have some questions. > > > > -- > > Ashish > > > > On Tue, Jul 1, 2008 at 3:44 PM, Rajeev Gupta <rajeev.gupta@... > > > > wrote: > > > >> We like to create a new custom screen in the product module at the same > >> level as given here; that will interact with the database product, > feature > >> and feature category table. > >> > >> Is that possible? Any guidance will be appreciated. Where should we add > >> that? > >> > >> > >> > > > > |
|
|
Re: new screens under product moduleYes the backgournd idea is to avoid to create useless Jira issues.
Jacques From: "Ashish Vijaywargiya" <vijaywargiya.ashish@...> > No Policy has changed BJ. > I was just discussing him if he want to contribute back to Ofbiz or want to > do it in Custom application. > > -- > Ashish > > On Wed, Jul 2, 2008 at 3:45 AM, BJ Freeman <bjfree@...> wrote: > >> I have been informed in the past that the dev mailing list is a place to >> discuss such topics then the jira is used to provide the patches, and >> recap of the discussion. >> or has the policy changed? >> >> Ashish Vijaywargiya sent the following on 7/1/2008 9:47 PM: >> > Rajeev, >> > >> > If you have some thoughts that you think would be helpful for the ofbiz >> > community then you >> > can propose those features on the JIRA issue tracker and you can discuss >> > those with the community members. >> > >> > If you would like to do that for your custom application then you can >> create >> > the custom >> > component in the hot-deploy directory and can put the mount point same as >> > that of Product Component in ofbiz-component.xml file. >> > And then on each request (if you would like to reuse the request uri from >> > Product component) you can put the related view-map entries in the >> > controller.xml(Custom application one) file and can change the screen >> > definition according to your need. >> > >> > Please let us know if you still have some questions. >> > >> > -- >> > Ashish >> > >> > On Tue, Jul 1, 2008 at 3:44 PM, Rajeev Gupta <rajeev.gupta@... >> > >> > wrote: >> > >> >> We like to create a new custom screen in the product module at the same >> >> level as given here; that will interact with the database product, >> feature >> >> and feature category table. >> >> >> >> Is that possible? Any guidance will be appreciated. Where should we add >> >> that? >> >> >> >> >> >> >> > >> >> > |
|
|
Re: POS - Additional Info working with questionsAlrighty!!! I'm now throughly confused!!
What I have: 1) addtlInfo method works! I can ring up a sale, do whatever I need to do, click the "addtlInfo" button I have on my POS screen. Enter a string, and then do my prep receipt print, and it shows up! YAY!! 2) If I enter the additional Info, click enter, go back to the sale, and then click on the additional info button again, my string is recalled (just how I wanted!) HOWEVER. Like before, (I'm like a broken record! ;) ) If I save the sale, and then load the sale....AND THEN....click the addtional info button, I get nothing... well DUH... It's not included in the cart items that are saved! Now.....Here's the part thats killing me. I can see delegation items in: applications/order/src/org/ofbiz/order/shoppinglist/ShoppingListEvents.java specialpurpose/pos/src/or/ofbiz/pos/PosTransaction.java I KINDA see whats going on. But it confuses me more than anything else. I took a look at the entity reference sheet and see this... ENTITY: OldOrderShipmentPreference | TABLE: ORDER_SHIPMENT_PREFERENCE shippingInstructions Shipping instructions SHIPPING_INSTRUCTIONS long-varchar String VARCHAR(255) Now that I'm getting everyone deep in my mess. I see this in applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java The method public List makeItemShipGroupAndAssoc(GenericDelegator delegator, ShoppingCart cart, long groupIndex) has: shipGroup.set("shippingInstructions", shippingInstructions); This is where it's put into the database right? Or if not, I'm on the correct path to finding this out?!?! On another note.... am I to use the delegator to save the shippinginstructions sepereatly from teh cart... or for ease of use (and what seems to make more sense to me) should I try somehow to tack that item on to the cart so it's saved with everything else?!?! Ok...Now that you're all throughly scratching your heads, I'll let you mull on it! Thanks! On Tue, Jul 1, 2008 at 1:27 PM, Branden Strickland < openforbusinessman@...> wrote: > Thanks! > > I'll update soon > > > > On Tue, Jul 1, 2008 at 12:06 PM, Christopher L <clearchris@...> > wrote: > >> In ofbiz, persistence is handled by framework/entity. When you are >> looking through other code, if you see any references to "delegator", that's >> a tip that something is going on that may involve persistence. >> >> Have you checked the database to make sure it's not being persisted? >> These three tables may have something in the ShippingInstructions field. >> >> ORDER_SHIPMENT_PREFERENCE >> OrderHeaderAndShipGroups >> ORDER_ITEM_SHIP_GROUP >> >> If you haven't found it yet, "WebTools" (bottom of the ofbiz web admin) -> >> Entity Reference -> View Data, can be of use. >> >> C >> >> > Date: Tue, 1 Jul 2008 10:03:03 -0400 >> > From: openforbusinessman@... >> > To: clearchris@...; user@... >> > Subject: Re: POS - Additional Info working with questions >> > >> > I'm using: >> > >> > public void setShippingInstructions(String shippingInstructions) { >> > this.setShippingInstructions(0, shippingInstructions); >> > } >> > >> > In /app/order/src/org/ofbiz/shoppingcart/shoppingcart.java >> > >> > If that helps. >> > >> > It's not saved off... I can see that in the code, I'm just wondering the >> > best way to go about it, and was also slightly curious where the actual >> > database sql code is housed, so I can go take a look to where the >> special >> > instructions are saved and whatnot. >> > >> > Thanks Chris! >> > >> > On Tue, Jul 1, 2008 at 12:58 AM, Christopher L <clearchris@...> >> > wrote: >> > >> > > >> > > What class and method are you currently using? I can't find the email >> I >> > > sent to you detailing my research. >> > > >> > > C >> > > >> > > ------------------------------ >> > > > Date: Mon, 30 Jun 2008 15:59:57 -0400 >> > > > From: openforbusinessman@... >> > > > To: user@...; jacques.le.roux@... >> > > > Subject: Re: POS - Additional Info working with questions >> > > >> > > > >> > > > I've pretty much got this working. >> > > > >> > > > Although, It doesn't seem that the ShippingInstructions are saved >> when >> > > the >> > > > sale is saved. Does anyone know off of the top of their head which >> method >> > > I >> > > > need to modify to include the ShippingInstructions in getting saved >> to a >> > > > shoppingcart? >> > > > >> > > > Thanks! >> > > > >> > > > On Wed, Jun 25, 2008 at 6:00 PM, Jacques Le Roux < >> > > > jacques.le.roux@...> wrote: >> > > > >> > > > > From: "Branden Strickland" <openforbusinessman@...> >> > > > > >> > > > >> All, >> > > > >> >> > > > >> I've gotten most of the functionality of pressing a button to >> modify a >> > > > >> field >> > > > >> to appear on a "prep" receipt (the receipt that a cook or >> delivery >> > > person >> > > > >> will see...Not the custreceipt). >> > > > >> >> > > > >> What works: >> > > > >> I have a button on the main POS page (you can really put it where >> ever >> > > you >> > > > >> want) that does some neat things... >> > > > >> >> > > > >> 1) It calls the newly added keyboard.java file BUT we've modified >> the >> > > > >> method >> > > > >> that calls it to use a different xml file so some things can be >> > > changed to >> > > > >> suit this field, such as more text area and a carriage return >> button. >> > > > >> >> > > > > >> > > > > Interesting, I was also thinking about a property to completly >> > > deactivate >> > > > > the keyboard at will (some people are using a real keyd) >> > > > > >> > > > > 2) It passes your "custom request" into the special instructions >> field >> > > > >> that >> > > > >> we mentioned was already implemented for shipping. >> > > > >> >> > > > >> What doesn't work: >> > > > >> 1) I'm not finished working with the new receipt template. It's a >> > > little >> > > > >> confusing, but I'm getting the hang of it. >> > > > >> 2) I'm not even going to attempt to modify the journal.java's >> jtable >> > > to >> > > > >> try >> > > > >> to call the custom requests so that they show up on the monitor. >> If >> > > one >> > > > >> of >> > > > >> you guys are good enough to do that and know the API well enough, >> go >> > > for >> > > > >> it! Showing up on the receipt is goooooood enough for this sys >> admin >> > > > >> transformed into quasi java programmer! >> > > > >> >> > > > > >> > > > > We will see, when we will have your code. >> > > > > >> > > > > 3) I'm currently working on adding methods to the (forgive me I >> don't >> > > have >> > > > >> it in front of me, so I'm guessing at which java file). >> Printer...Or >> > > > >> device >> > > > >> loader? Basically what I'm trying to do is add a Receipt2, or >> > > ReceiptPrep >> > > > >> to "pos-components.xml" and add the already working TCP printer >> though >> > > > >> JPOS's SetupPos program. Then I can differentiate the print >> button I >> > > want >> > > > >> to use to send the data using the "prep" template (no extra text, >> or >> > > > >> prices, >> > > > >> just orders with customizations) and the regular customer receipt >> > > printing >> > > > >> functionality at the end of the sale. I'm almost finished with >> this. >> > > > >> >> > > > >> Hopefully if all goes well tonight (it never does!) I'll have >> time to >> > > not >> > > > >> only create a Jira issue for this (if anyone is interested) but >> I'll >> > > > >> hopefully be able to create a Jira issue for the TCP printer info >> / >> > > setup >> > > > >> / >> > > > >> small quarks. >> > > > >> >> > > > > >> > > > > Feel free top open as many as Jira issues you need. >> > > > > >> > > > > I haven't forgotten about the TCP printer, don't worry ;) >> > > > >> >> > > > >> Just thought I'd keep you all in the loop, rather than completely >> > > finish >> > > > >> then get a good Idea from someone! >> > > > >> >> > > > > >> > > > > Sorry not even an ideas tonight (without speaking of a good one) : >> too >> > > late >> > > > > :o) Jacques >> > > > > >> > > > > Thanks! >> > > > >> >> > > > >> >> > > >> > > |
|
|
RE: POS - Additional Info working with questionsOk, I took a look into this, and currently what is happening is that when you "save a sale" the POS |