Skip to Content

Batch Wise Price SAP B1 9.3

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 24, 2019 at 05:52 AM

    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.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.