Quantcast
Channel: OTMFAQ Forums
Viewing all articles
Browse latest Browse all 2772

Action check on Bulk Plan

$
0
0
Hi All,

I have a requirement wherein I have to check the Order Types when doing a Bulk Plan. I am using Action Checks to complete the task, but facing an issue that when I am defining Allow conditions it is not checking all the order releases what I am selecting for Bulk Plan.

Requirement :

Customer Pickup and Prepaid Delivery cannot be bulk planned together.
So I have added a refnum 'ST' of value 1 to custmer pickup and prepaid delivery order type and written below query in allow condition.

Below is one of the query :-

SELECT 1 FROM DUAL WHERE 1 = (SELECT SUM(ORDER_RELEASE_REFNUM_VALUE) FROM ORDER_RELEASE_REFNUM WHERE ORDER_RELEASE_REFNUM_QUAL_GID='ST' AND ORDER_RELEASE_GID in ?)

But it is not checking all the order releases when I am doing a bulk plan. The condition is getting pass everytime no matter what type of orders I am selecting.

Thanks in advance,
Pavan

Viewing all articles
Browse latest Browse all 2772

Trending Articles