Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use a business map to clear out product descs when converting
#1
We use the product descriptions in Quotes. But when we convert a quote to a salesorder, we don't need the product descriptions. In fact, we'd like them to NOT be there, since they take up a lot of room on the layouts and we'd like to use them for 'inhouse' remarks. Do we have some business map available that lets you set a CONST (like normal field mapping) to clear out the descriptions when converting from inventorymodule to inventorymodule?
Reply
#2
The application does not have any customization for this functionality. The copy happens on this line:

https://github.com/tsolucio/corebos/blob/master/include/utils/EditViewUtils.php#L1678

I guess you could add a global variable or simply set the comment to an empty string depending on your conditions.
Joe
TSolucio
Reply
#3
Thanks! I think I'll create a GV. Is is possible to do this like cbupdates, on a per-install base? Don't think we would need it in the master repo, unless you think it would come in handy.
Reply
#4
I agree with you, I think this is more of a specific functionality for your install.

There is no way of doing this cleanly, you have to modify the base code and that may product conflicts in the future. I suppose it won't be hard to fix as it is very localized so I wouldn't give it too much thought. Obviously, you will create your own specific .xml changeset file and changset files which will not conflict.
Joe
TSolucio
Reply
#5
Let me try and get back to you if I can't work it out (or report how I did it if I do)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)