Revision 30a5c527
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
SL/PriceSource.pm | ||
---|---|---|
247 | 247 |
A possible solution is to either split price sources into simple and complex |
248 | 248 |
ones (where the former do not require records). |
249 | 249 |
|
250 |
Another would be to have default values for the inpout normally taken from
|
|
250 |
Another would be to have default values for the input normally taken from |
|
251 | 251 |
records (like qty defaulting to 1). |
252 | 252 |
|
253 | 253 |
A last one would be to provide an alternative input channel for needed |
... | ... | |
256 | 256 |
=item * |
257 | 257 |
|
258 | 258 |
Discount sources were implemented as a copy of the prices with slightly |
259 |
different semantics. Need to do a real design. A requirement is, that a sinle |
|
259 |
different semantics. Need to do a real design. A requirement is, that a single
|
|
260 | 260 |
source can provide both prices and discounts (needed for price_rules). |
261 | 261 |
|
262 | 262 |
=item * |
... | ... | |
281 | 281 |
=item * |
282 | 282 |
|
283 | 283 |
Composing price sources is disallowed for clarity, but all price sources need |
284 |
to be aware of units. This is madness. |
|
284 |
to be aware of units and price_factors. This is madness. |
|
285 |
|
|
286 |
=item * |
|
287 |
|
|
288 |
A common complaint is that prices from certain vendors are always negotiated |
|
289 |
and should use a default value but must be editable (like free prices) by |
|
290 |
default. This should be orthogonal for all prices. |
|
291 |
|
|
292 |
=item * |
|
293 |
|
|
294 |
The current implementation of lastcost is useless. Since it's one of the |
|
295 |
master_data prices it will always compete with listprice. But in real scenarios |
|
296 |
the listprice tends to go up, while lastcost stays the same, so lastcost |
|
297 |
usually wins. Lastcost could be lower priority, but a better design would be |
|
298 |
nice. |
|
285 | 299 |
|
286 | 300 |
=back |
287 | 301 |
|
Auch abrufbar als: Unified diff
PriceSource: doku update
Mehrere Anforderungen die sich über die Zeit gesammelt haben