XiozZe / XioScript

XioScript
11 stars 16 forks source link

Equipments #128

Open chotox opened 5 years ago

chotox commented 5 years ago

Hi,

I'm using XS14 since couple days, and I notice that when I use the module to repair equipments, for example computer, and I choose the fonction lower price, it use the price without transportation cost.

so it will choose a computer at price 2000 + 7000 of transportation instead of a computer at 3000 + 50 of transportation. Same for the price limit.

Was that made in purpose? Can you please change or give the choice? Thanks

XiozZe commented 5 years ago

The change was made on purpose, and it is a technical one. When you buy equipment, it opens a pop-up window. The problem is, if I try to open a bunch of those at the same time, they interfere with each other: for some reason the server sends information of subdivision A to both subdivision A and B when I ask for subdivision A and B at the same time. One solution is to slowly ask for information of all subdivisions one by one. Instead I use a different approach: I use the market analytics report for computers (or other equipment) and use that information to buy equipment for all subdivisions at the same time. This means I only have to load the equipment unit page list, and the product page list for every equipment product once. This comes at a cost however, as the market analytics page does not supply me with the required information to know where the equipment is being sold. This makes it impossible for me to calculate what the transportation cost is. And hence your observation.

chrimez commented 5 years ago

Thanks XiozZe for the amazing tool!

The "Equipment" module could deliver quite some value to me, thinking to start with using the less "dangerous" repair scenario. However here my obstacles:

1) "Unit Price" - can you offer to exclude Swedish suppliers due to customs?
I fully understand your technical limitations. And basically it's the "market analytics report" that cries for improvement in the first place, as it lacks any indication of export customs or at least "country of origin".

  1. "Maximum quality" cannot be specified - I figured that the minimum quality is a necessary safeguard to use "lowest price" logic. However when I tested the module, in fact the "unlikely" situation occurred that the lowest unit price (+300% Sweden customs, by-the-way) offered an incredibly high quality of product (top-25 quartile). That would have gone far beyond the skills of employees ... Conclusion: I guess for me the silver bullet would be I can specify a "min/max" quality corridor, and let the tool find the supplier with best "quality/price" ratio.

Note: I am just sharing my thoughts - as feedback I feel to owe you for providing the amazing tool - without any expectation for solutions ;))

Thanks again !