Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Related Items
11-04-2016, 07:55 PM,
#1
Related Items
Hi all.

What is the RelatedItemsUpdate.php script used for?

I've not been able to find any info about it in the PDF manual or forum.

Thanks,

Andy.
https://www.linkedin.com/in/andrewcouling
Reply
11-04-2016, 08:13 PM,
#2
RE: Related Items
I am pretty sure it was Ricard that wrote this, not sure if he monitors this forum.

If I remember properly that script just maintains a table of stock items that are related to other stock items, and is used in the bridge to opencart. There are many potential uses for this functionality, just needs someone to write them Smile

Tim
Reply
11-05-2016, 09:27 AM,
#3
RE: Related Items
Thanks Tim.
https://www.linkedin.com/in/andrewcouling
Reply
11-09-2016, 07:14 PM,
#4
RE: Related Items
Hi:

Yes, I wrote it for the webERP-Opencart bridge, but I guess there's no use in standard webERP.

As Tim points out, it could be used for multiple uses inside webERP, but so fa I only use it for OpenCart.

Please feel free to improve its functionality :-)
Regards,
Pak Ricard
Reply
12-19-2017, 08:47 AM,
#5
RE: Related Items
(11-09-2016, 07:14 PM)PakRicard Wrote: Hi:

Yes, I wrote it for the webERP-Opencart bridge, but I guess there's no use in standard webERP.

As Tim points out, it could be used for multiple uses inside webERP, but so fa I only use it for OpenCart.

Please feel free to improve its functionality :-)

I was wondering about that :-)
I actually found a use for it: I created a custom field for our food items that is "ingredients". Some of our items come in different packaging (ex: retail and food service) but have the same ingredients. I'm going to create a little script that syncs the ingredient field in all related items when a change is made, that will avoid to re enter data in other members of the family every time an ingredient list is updated.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)