Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Goods Receipt

Dear Experts

Is there any possible to stop adding the Goods Receipt without unit price.

Former Member
replied

Sure,

  -- Documents without price in Goods Entry.

IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')

  BEGIN

   IF EXISTS(

    SELECT T0.Price FROM IGN1 T0

    where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)

   BEGIN

    SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'

  END

end

Not tested but I think it works

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question