DBA Data[Home] [Help]

APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_GLOBAL_VAR

Line 141: cn_global_var.initialize_instance_info(p_org_id);

137: logical_rec logical_batches%ROWTYPE;
138: BEGIN
139: -- Get the first physical batch id
140: x_physical_batch_id := get_physical_batch_id;
141: cn_global_var.initialize_instance_info(p_org_id);
142:
143:
144: OPEN logical_batches;
145:

Line 153: IF ((l_trx_count + l_srp_trx_count) >= cn_global_var.g_system_batch_size) THEN

149: IF (logical_batches%FOUND) THEN
150: l_srp_count := l_srp_count + 1;
151: l_srp_trx_count := logical_rec.srp_trx_count;
152:
153: IF ((l_trx_count + l_srp_trx_count) >= cn_global_var.g_system_batch_size) THEN
154: IF (l_srp_count > 1) THEN
155: -- This case, done with current batch.
156: debugmsg(
157: 'Loader : Assign : Case1 Physical batch id : '

Line 173: ELSIF(l_srp_count > cn_global_var.get_salesrep_batch_size(p_org_id)) THEN

169: -- This is the first salerep in this batch, this salesrep
170: -- has to be in this batch.
171: l_trx_count := l_srp_trx_count;
172: END IF;
173: ELSIF(l_srp_count > cn_global_var.get_salesrep_batch_size(p_org_id)) THEN
174: -- too many salesreps in this physical batch.
175: -- this salesrep should go into next batch.
176: debugmsg(
177: 'Loader : Assign : Case 2 Physical batch id : '