Hide Price on Work Orders

Hi, I was wondering if anyone had modified the invoice/workorder xml file to hide the prices when the work order is printed. The workorder will be used as a picking list for warehouse workers, so it is preferred that the price not be shown. Then after the work order is recalled, the sale will be tendered. An invoice with the pricing should print.

I noticed that if you make a change in Database/Registers/ReceiptFormats - pick the full page receipt, then assign a different Work order format, uses only THAT format for the Work Order and Invoice, thus, there is no price on the invoice either. I was hoping that assigning a different XML file to the Work Order (ie. workorder.xml), it would print without the price, and then when the sale is tendered, it would use the original FullPageInvoice.xml file.

I also tried adding a conditional statement such as "If transaction.type transactionWorkOrder & Order.closed = false, then don't print the price", but that didn't work either. Perhaps my code had a typo, but that's the gist of it.

Does anyone have any thoughts on this? Thanks in advance!

Reply to
Lyn Uesato
Loading thread data ...

Hi,

We have done some printing solutons to our RMs clients, if you are interested please drop a email to discuss.

Regards, manick snipped-for-privacy@hotmail.com

"Lyn Uesato" wrote:

Reply to
manick

hi Lyn, I am not sure about your programming skills but I have done the modification and it works as it should work to be.

I open the fullpageslip.xml or fullpage.xml file and search all the prices fields. then I change to the following:

Transaction.Type = transactionWorkOrder Entry.SalesRep.Number "|" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" "|" Entry.SalesRep.Number "|" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" Entry.FullPrice "|" Entry.ExtendedFullPrice

Subsequently these changes are done at 3 different places where the price is being used. then I go to SO Manager Program and in the receipt format of full page reload the file by clicking the browse button (it is require whenever you make change you have to reattached the format). then I go on register and in the receipt printer 1 I specify the full page format of receipt.

This really work let me know if you want me to send you file by email give your email.

Akber

"Lyn Uesato" wrote:

Reply to
Akber Alwani

Hi Akber - thank you for your reply. I went ahead and used your sample. (I may have had a typo in my code). But anyway, when the work order prints, the price is hidden (that's fine). But even after the sale is completed, the receipt also has its price hidden. I would like the price to print on the receipt. I believe even after a work order is tendered, its transaction type is still Work Order, so that's why the price does not print. I looked at the data via SO Administrator and the field order.type is still value "2" after the sale is tendered. Would you know what the syntax would be so that I can also check if order.type is false?

You can send me your file to snipped-for-privacy@yahoo.com and I can try it out. Perhaps I am missing something else. I appreciate your help!

Thanks!

"Akber Alwani" wrote:

but

Reply to
Lyn Uesato

hi Lyn, One solution work for you and I will get you the second one via email. You are requested to rate the solution whenever any of the us help any body becuase this help us to move on further.

Regards Akber

"Lyn Uesato" wrote:

but

Reply to
Akber Alwani

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.