on 10-31-2014 8:22 AM
Following are the issues, I need the improved stored procedure to curect this.
Currently useing following stored procedure
/*----- Validation to restrict Production order row delete 13MAR14 -------- */
IF @transaction_type IN ('A', 'U')AND @object_type in ('202')
BEGIN
If exists (SELECT T0.DocEntry FROM owor T0
inner join itt1 t2 on t2.father = T0.Itemcode
where t0.DocEntry =@list_of_cols_val_tab_del AND T0.[Type] <> 'P' and t2.code not in (SELECT T1.itemcode FROM wor1 t1 where t0.docentry = t1.docentry))
Begin
SET @error = '202'
SET @error_message = N'order can not be added if not match with BOM.'
End
END
Hi
you can not stop document duplication through transaction notification. SDK can help in the same.
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.