on 07-29-2014 7:49 AM
Hi Experts
is there any setups available to enable automatically procurement document in logistic tab in sales order ? Or how it should be make it as mandatory selection?
Asupathy
Hi,
NO. There is no setup for automatic selection of procurement document. You have to select as when required.
What type of business process? Why you need such a requirement?
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try with transaction notification to block user if the procurement document check box not selected while creating sales order.
Try this:
IF @transaction_type in ('A') AND (@OBJECT_TYPE='17')
BEGIN
If exists (select T0.DocEntry from ORDR t0 where T0.DocEntry = @list_of_cols_val_tab_del and T0.[PoPrss] <> 'Y')
Begin
SET @error = 10
SET @error_message = 'Please select procurement check box'
End
End
Thanks & Regards,
Nagarajan
Hi Asupathy Raja,
You can Block the sales order using the Transaction Notification if there is no stock for the items involved in the sales order..
IF @transaction_type in ('A') AND (@OBJECT_TYPE='17')
BEGIN
If exists (select T0.DocEntry from ORDR t0
inner join RDR1 t1 on t1.DocEntry=t0.DocEntry
inner join OITM t2 on t2.ItemCode=t1.ItemCode
where T0.DocEntry = @list_of_cols_val_tab_del and T0.[PoPrss] <> 'Y' and t2.OnHand<='0')
Begin
SET @error = 10
SET @error_message = 'Stock not aviable Please select procurement check box'
End
End
Hope helpful
Regards
Kennedy
If you have got answer close the thread with the Correct or helpful answer..
Rgds,
Kennedy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.