Skip to Content

Block Expiry batch

Dear All,

Please help, how to block Expiry date Batch number when the time of stock movement.

Regards,

Ramakrishnan.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 14, 2016 at 02:00 PM

    Hi,

    Please check this thread Block Batch entering without Expiry Date | SCN

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 14, 2016 at 03:35 PM

    Hi Rama,

    Please check below SP....

    Try this:

    IF (@object_Type='10000044') and @transaction_type in ('A')

    BEGIN

    If exists (SELECT t0.AbsEntry FROM OBTN T0 WHERE (T0.[ExpDate] IS NULL or T0.[ExpDate]=0) AND

    t0.AbsEntry = @list_of_cols_val_tab_del)

    Begin

    SET @error = 1

    SET @error_message = 'Before the documents ...Please enter expiry date for this Batch'

    End

    End

    RGds,

    Kamlesh Naware

    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.