Skip to Content
author's profile photo Former Member
Former Member

sales order with 2 different series

hello everyone,

can anyone help me out in my following query:

I have a sales order with 2 different series: Design and Marketing

i am creating a sales order with design series and sending it for approval and once approved i am adding it ,similarly i iam creating sales order with marketing series.

Now is it possible unless and until i don't add my sales order with design series, system don't allow me to add sales order with marketing series.

Regards,

Meghana

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 07, 2011 at 01:20 PM

    Hello,

    means you dont want to add document if is there any other document pending for approval or draft document.

    Thanks

    Manvendra

    Edited by: Manvendra Singh Niranjan on May 7, 2011 7:08 PM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Meghana........

      In order to do it, you have to build a logic where during creation of marketing SQ you should give the document ref. of Design SQ. If not available, system should not get added.....

      This is possible through SP transnotification and some FMS and UDF........

      Regards,

      Rahul

  • author's profile photo Former Member
    Former Member
    Posted on May 07, 2011 at 01:54 PM

    Hello

    try It In SP_transaction Notification

    -


    if @object_type = '112' and @transaction_type = N'A'

    begin

    IF EXISTS (select * from ODRF WHERE DocStatus = 'O' or ObjType = '17' OR Series in( Select Series from ODRF where DocEntry = @list_of_cols_val_tab_del) AND DOCENTRY = @list_of_cols_val_tab_del )

    begin

    set @error = 1

    set @error_message = 'You Can create SO because another Document in pending'

    end

    end----


    Edited by: Manvendra Singh Niranjan on May 7, 2011 7:29 PM

    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.