DBA Data[Home] [Help]

APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_GLOBAL_VAR

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

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

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

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