cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Wise Price SAP B1 9.3

0 Kudos

We are a Pharma Company where we manage Prices according to the batch. Is there a way i can maintain batch wise price to be picked at the time of sale order OR Even if i can get hold of the batch selected in the batch management window before saving the Sale Order i can customize the net revenue using the Discount Column and calculation query.

Accepted Solutions (0)

Answers (1)

Answers (1)

BattleshipCobra
Contributor

Out-of-the-box there is nothing that you can do with this scenario. You will have to do something custom.

1) You can add UDFs to the batch details screen. Add a price here and then you can specify it while adding the batches (or you could use a PostNotification StorProc to UPDATE the price UDF with some price list price or calculation from the production order for example). Then it gets a bit tricky, you can pre-select your batches on sales orders (right-click Quantity >> Batch/Serial Numbers) and then use a formatted search with an FMS / auto refresh / refresh regularly combo. So when you select the batches and click "Update" and come back to the documents it will try to switch the pricing. The issue here is it will keep doing this each time you load the document. So you would need to build in a UDF on the header row to "Lock Pricing" which you could use as an indicator to stop the FMS after you pull the pricing for the first time.

2) If you had B1UP (B1 Usability Package by Boyum) you could create a UDF on the sales order row and when you clicked it a window would pop up with a selection for the batch. Then when the batch is updated a macro could update the pricing right on the UI, no need to refresh. You could then use an automation on the rows to select the batches automatically.

3) There is the potential that with B1UP you could also just use the SAP batch selection screen and trigger on update. I'm not sure this will work, but I could experiment, see if I can grab the pricing UDF off of the batch selection screen. Might work.

Anyways, kind of complex, sorry there isn't a super easy way out of the box.

Mike

http://youtube.battleshipcobra.com/

MD1
Active Contributor
0 Kudos

BEST solution ,Dear MIKE