Allow to change price list on order with product line

Description

None

Environment

Currently if order has order line, user can not change price list. If user has entered many lines and realize that selected wrong price list, user needs to delete all lines and reenter.

This may not be good user experience.

So suggestion is to allow to change price list and update list price on all existing line. Also shows warning that sells rate not change so user can go and correct rate.

Attachments

2
  • 29 Jun 2023, 04:38 PM
  • 28 Jun 2023, 12:53 PM

Activity

Show:

Norbert Bede June 29, 2023 at 4:38 PM
Edited

hi,

i will explain my ideas on similar important issue.

order reservation issue: conservative approach: quantities can be changed on sales order but you need to navigate to order header to apply change by docaction prepare - for us this absolutely really unusable. We added to the order source a new field: OrderLineReservationChangeRule with 3 options 1. legacy trough docaction 2. with qty change 3. with row delete - can. Then we change the code, appropriately. so we can define the reservation strategy per source be flexible. (if looks nice, can be migrated to the core)

 

Same can be implemented for pricelist.

Add a new field to Order Source, PricelListChangeRule, type list, options for start - 1. Update all Prices (change ratio) 2. Change List Price - std price (keep ratio) - 3. Do not allow change pricelist (legacy). Change the code according to Deepak suggestion. This solution can be flexible, extendible, keep legacy approach and introduce requested behavior, transparent for the consultant

hope helps.

Norbert

Heng Sin Low June 28, 2023 at 1:59 PM

I don’t have any preference or input for this. , what’s your take on this ?

Carlos Ruiz June 28, 2023 at 1:34 PM

CarlosRuiz callout do not change anything. It just warn user like below “ Changing pricelist will update list price on existing line. But price entered will not be change”

Sorry - I don’t understand, you say “callout do not change anything”, but the warning to the user says “will update list price on existing line”. One of the two statements must be wrong. Updating the list price is a change, and doing these kind of changes on callout is not advised (just UI, etc).

Still list proce from new price list applied on MOder class. Price entered is not changed as it may replace Negotiated price. If we want to enhance further then we can ask user weather they want to apply price entered too.

Anyways, as said, I don’t like too much the idea, would like to hear opinion from - if you two agree and still want to implement it that way, then I would ask to do it SysConfigurable and disabled by default.

Norbert Bede June 28, 2023 at 12:53 PM

plugin

https://wiki.idempiere.org/en/Plugin:_SpecialEditor

note: maybe i was wrong, that is solution if you have processed document.

example

Deepak Pansheriya June 28, 2023 at 12:45 PM

callout do not change anything. It just warn user like below “ Changing pricelist will update list price on existing line. But price entered will not be change”

Still list proce from new price list applied on MOder class. Price entered is not changed as it may replace Negotiated price. If we want to enhance further then we can ask user weather they want to apply price entered too.

Details

Assignee

Reporter

Components

Priority

Created June 28, 2023 at 4:21 AM
Updated June 29, 2023 at 4:40 PM