189: and resource_seq_num = X_Resource_Seq_Num;
190:
191: cursor discrete_wt_check is
192: select 1
193: from wip_transactions
194: where organization_id = X_Organization_Id
195: and wip_entity_id = X_Wip_Entity_Id
196: and operation_seq_num = X_Operation_Seq_Num
197: and resource_seq_num = X_Resource_Seq_Num;
206: and line_id = X_Line_Id;
207:
208: cursor repetitive_wt_check is
209: select 1
210: from wip_transactions
211: where organization_id = X_Organization_Id
212: and wip_entity_id = X_Wip_Entity_Id
213: and operation_seq_num = X_Operation_Seq_Num
214: and resource_seq_num = X_Resource_Seq_Num