DBA Data[Home] [Help]

APPS.GME_API_PUB dependencies on GME_API_PUB

Line 1: PACKAGE BODY gme_api_pub AS

1: PACKAGE BODY gme_api_pub AS
2: /* $Header: GMEPAPIB.pls 120.82.12020000.9 2013/03/13 15:05:28 gmurator ship $ */
3: g_debug VARCHAR2 (5) := NVL(fnd_profile.VALUE ('AFLOG_LEVEL'),-1);
4: g_pkg_name CONSTANT VARCHAR2 (30) := 'GME_API_PUB';
5:

Line 4: g_pkg_name CONSTANT VARCHAR2 (30) := 'GME_API_PUB';

1: PACKAGE BODY gme_api_pub AS
2: /* $Header: GMEPAPIB.pls 120.82.12020000.9 2013/03/13 15:05:28 gmurator ship $ */
3: g_debug VARCHAR2 (5) := NVL(fnd_profile.VALUE ('AFLOG_LEVEL'),-1);
4: g_pkg_name CONSTANT VARCHAR2 (30) := 'GME_API_PUB';
5:
6: PROCEDURE gme_when_others (
7: p_api_name IN VARCHAR2
8: ,x_message_count OUT NOCOPY NUMBER

Line 888: gme_api_pub.save_batch (p_header_id => NULL

884:
885: --Bug#5459105 Begin
886: IF x_return_status = fnd_api.g_ret_sts_success THEN
887: IF p_commit = fnd_api.g_true THEN
888: gme_api_pub.save_batch (p_header_id => NULL
889: ,p_table => NULL
890: ,p_commit => fnd_api.g_false
891: ,x_return_status => x_return_status);
892:

Line 1011: gme_api_pub.save_batch (p_header_id => NULL

1007:
1008: --Bug#5459105 Begin
1009: IF x_return_status = fnd_api.g_ret_sts_success THEN
1010: IF p_commit = fnd_api.g_true THEN
1011: gme_api_pub.save_batch (p_header_id => NULL
1012: ,p_table => NULL
1013: ,p_commit => fnd_api.g_false
1014: ,x_return_status => x_return_status);
1015:

Line 1168: gme_api_pub.save_batch (p_header_id => NULL

1164: l_batch_header.batch_id := x_rsrc_txn_rec.doc_id;
1165:
1166: IF x_return_status = fnd_api.g_ret_sts_success THEN
1167: IF p_commit = fnd_api.g_true THEN
1168: gme_api_pub.save_batch (p_header_id => NULL
1169: ,p_table => NULL
1170: ,p_commit => fnd_api.g_false
1171: ,x_return_status => x_return_status);
1172:

Line 1331: gme_api_pub.save_batch (p_header_id => NULL

1327: l_batch_header.batch_id := x_rsrc_txn_rec.doc_id;
1328:
1329: IF x_return_status = fnd_api.g_ret_sts_success THEN
1330: IF p_commit = fnd_api.g_true THEN
1331: gme_api_pub.save_batch (p_header_id => NULL
1332: ,p_table => NULL
1333: ,p_commit => fnd_api.g_false
1334: ,x_return_status => x_return_status);
1335:

Line 1473: gme_api_pub.save_batch (p_header_id => NULL

1469: l_batch_header.batch_id := x_rsrc_txn_rec.doc_id;
1470:
1471: IF x_return_status = fnd_api.g_ret_sts_success THEN
1472: IF p_commit = fnd_api.g_true THEN
1473: gme_api_pub.save_batch (p_header_id => NULL
1474: ,p_table => NULL
1475: ,p_commit => fnd_api.g_false
1476: ,x_return_status => x_return_status);
1477:

Line 1519: # by calling gme_api_pub.end_cmplt_actual_rsrc_txn (It passes

1515: # DESCRIPTION
1516: # This Api is used to state that a resource has started, and
1517: # creates a transaction row in the resource transactions table.
1518: # At a later time this transaction is updated with the usage
1519: # by calling gme_api_pub.end_cmplt_actual_rsrc_txn (It passes
1520: # the end date and the usage is calculated as diferrence between
1521: # end_date and start_date)
1522: # HISTORY
1523: # 10-MAR-2005 Punit Kumar

Line 1616: gme_api_pub.save_batch (p_header_id => NULL

1612:
1613: /*end */
1614: IF x_return_status = fnd_api.g_ret_sts_success THEN
1615: IF p_commit = fnd_api.g_true THEN
1616: gme_api_pub.save_batch (p_header_id => NULL
1617: ,p_table => NULL
1618: ,p_commit => fnd_api.g_false
1619: ,x_return_status => x_return_status);
1620:

Line 1748: gme_api_pub.save_batch (p_header_id => NULL

1744:
1745: /* end */
1746: IF x_return_status = fnd_api.g_ret_sts_success THEN
1747: IF p_commit = fnd_api.g_true THEN
1748: gme_api_pub.save_batch (p_header_id => NULL
1749: ,p_table => NULL
1750: ,p_commit => fnd_api.g_false
1751: ,x_return_status => x_return_status);
1752:

Line 2042: gme_api_pub.save_batch (p_header_id => NULL

2038: IF x_return_status <> fnd_api.g_ret_sts_success THEN
2039: RAISE reschedule_batch_failed;
2040: ELSE
2041: IF p_commit = fnd_api.g_true THEN
2042: gme_api_pub.save_batch (p_header_id => NULL
2043: ,p_table => NULL
2044: ,p_commit => fnd_api.g_false
2045: ,x_return_status => x_return_status);
2046:

Line 2363: gme_api_pub.save_batch (p_header_id => NULL

2359: IF x_return_status <> fnd_api.g_ret_sts_success THEN
2360: RAISE reschedule_step_failed;
2361: ELSE
2362: IF p_commit = fnd_api.g_true THEN
2363: gme_api_pub.save_batch (p_header_id => NULL
2364: ,p_table => NULL
2365: ,p_commit => fnd_api.g_false
2366: ,x_return_status => x_return_status);
2367:

Line 3072: gme_api_pub.save_batch (p_header_id => null

3068: IF x_return_status <> fnd_api.g_ret_sts_success THEN
3069: RAISE delete_step_failed;
3070: ELSE
3071: IF p_commit = fnd_api.g_true THEN
3072: gme_api_pub.save_batch (p_header_id => null
3073: ,p_table => 1
3074: ,p_commit => fnd_api.g_false
3075: ,x_return_status => x_return_status);
3076:

Line 3307: gme_api_pub.save_batch (p_header_id => null

3303: IF x_return_status <> fnd_api.g_ret_sts_success THEN
3304: RAISE insert_step_failed;
3305: ELSE
3306: IF p_commit = fnd_api.g_true THEN
3307: gme_api_pub.save_batch (p_header_id => null
3308: ,p_table => 1
3309: ,p_commit => fnd_api.g_false
3310: ,x_return_status => x_return_status);
3311:

Line 3546: gme_api_pub.save_batch (p_header_id => NULL

3542: IF x_return_status <> fnd_api.g_ret_sts_success THEN
3543: RAISE fnd_api.g_exc_error;
3544: ELSE
3545: IF p_commit = fnd_api.g_true THEN
3546: gme_api_pub.save_batch (p_header_id => NULL
3547: ,p_table => 1
3548: ,p_commit => fnd_api.g_false
3549: ,x_return_status => x_return_status);
3550:

Line 3798: gme_api_pub.save_batch (p_header_id => NULL

3794: IF x_return_status <> fnd_api.g_ret_sts_success THEN
3795: RAISE fnd_api.g_exc_error;
3796: ELSE
3797: IF p_commit = fnd_api.g_true THEN
3798: gme_api_pub.save_batch (p_header_id => NULL
3799: ,p_table => 1
3800: ,p_commit => fnd_api.g_false
3801: ,x_return_status => x_return_status);
3802:

Line 4143: gme_api_pub.save_batch (p_header_id => NULL,

4139: gme_debug.put_line (g_pkg_name || '.' || l_api_name || ' About to invoke save_batch with batch_id of '
4140: || l_batch_header_rec.batch_id);
4141: END IF;
4142:
4143: gme_api_pub.save_batch (p_header_id => NULL,
4144: p_table => gme_common_pvt.g_interface_table,
4145: p_commit => p_commit,
4146: x_return_status => x_return_status);
4147:

Line 4150: ' Return status from gme_api_pub.save_batch is ' || x_return_status);

4146: x_return_status => x_return_status);
4147:
4148: IF g_debug <= gme_debug.g_log_statement THEN
4149: gme_debug.put_line ( g_pkg_name || '.' || l_api_name ||
4150: ' Return status from gme_api_pub.save_batch is ' || x_return_status);
4151: END IF;
4152:
4153:
4154: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN

Line 4306: gme_api_pub.save_batch (p_header_id => NULL,

4302: END IF;
4303:
4304: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
4305: IF p_commit = FND_API.G_TRUE THEN
4306: gme_api_pub.save_batch (p_header_id => NULL,
4307: p_table => gme_common_pvt.g_interface_table,
4308: p_commit => FND_API.G_FALSE,
4309: x_return_status => x_return_status);
4310: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN

Line 4458: gme_api_pub.save_batch (p_header_id => null

4454: IF (g_debug = gme_debug.g_log_statement) THEN
4455: gme_debug.put_line ('Calling save_batch.');
4456: END IF;
4457:
4458: gme_api_pub.save_batch (p_header_id => null
4459: ,p_table => 1
4460: ,p_commit => fnd_api.g_false
4461: ,x_return_status => x_return_status);
4462:

Line 4609: gme_api_pub.save_batch (p_header_id => null

4605: IF x_return_status <> fnd_api.g_ret_sts_success THEN
4606: RAISE step_close_failed;
4607: ELSE
4608: IF p_commit = fnd_api.g_true THEN
4609: gme_api_pub.save_batch (p_header_id => null
4610: ,p_table => 1
4611: ,p_commit => fnd_api.g_false
4612: ,x_return_status => x_return_status);
4613:

Line 4716: gme_api_pub.save_batch

4712: IF (x_return_status <> fnd_api.g_ret_sts_success) THEN
4713: RAISE batch_reopen_failure;
4714: ELSE
4715: IF p_commit = fnd_api.g_true THEN
4716: gme_api_pub.save_batch
4717: (p_header_id => null
4718: ,p_table => 1
4719: ,p_commit => fnd_api.g_false
4720: ,x_return_status => x_return_status);

Line 4824: gme_api_pub.save_batch (p_header_id => null

4820: IF (x_return_status <> fnd_api.g_ret_sts_success) THEN
4821: RAISE step_reopen_failure;
4822: ELSE
4823: IF p_commit = fnd_api.g_true THEN
4824: gme_api_pub.save_batch (p_header_id => null
4825: ,p_table => 1
4826: ,p_commit => fnd_api.g_false
4827: ,x_return_status => x_return_status);
4828: IF x_return_status = fnd_api.g_ret_sts_success THEN

Line 4997: gme_api_pub.save_batch

4993: RAISE error_incr_backflush;
4994: END IF;
4995:
4996: /* Invoke save_batch */
4997: gme_api_pub.save_batch
4998: (p_header_id => gme_common_pvt.g_transaction_header_id
4999: ,p_table => 1
5000: ,p_commit => p_commit
5001: ,x_return_status => x_return_status);

Line 5515: gme_api_pub.save_batch

5511: l_header_id := gme_common_pvt.g_transaction_header_id;
5512:
5513: -- Bug 14685438 - Conditionalize call to save_batch based on p_save_batch.
5514: IF (p_save_batch = fnd_api.g_true) THEN
5515: gme_api_pub.save_batch
5516: (p_header_id => gme_common_pvt.g_transaction_header_id
5517: ,p_table => 1
5518: ,p_commit => p_commit
5519: ,x_return_status => x_return_status);

Line 5869: gme_api_pub.save_batch

5865: gme_debug.put_line ( 'before save batch'
5866: || gme_common_pvt.g_transaction_header_id);
5867: END IF;
5868: l_header_id:= gme_common_pvt.g_transaction_header_id;
5869: gme_api_pub.save_batch
5870: (p_header_id => gme_common_pvt.get_txn_header_id
5871: ,p_table => 1
5872: ,p_commit => p_commit
5873: ,x_return_status => x_return_status);

Line 6028: gme_api_pub.save_batch

6024: ,x_return_status => x_return_status);
6025:
6026: IF x_return_status = fnd_api.g_ret_sts_success THEN
6027: IF (p_commit = fnd_api.g_true) THEN
6028: gme_api_pub.save_batch
6029: (p_header_id => gme_common_pvt.get_txn_header_id
6030: ,p_table => 1
6031: ,p_commit => p_commit
6032: ,x_return_status => x_return_status);

Line 6203: gme_api_pub.save_batch

6199: RAISE reroute_batch_failed;
6200: ELSIF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
6201: RAISE fnd_api.g_exc_unexpected_error;
6202: END IF;
6203: gme_api_pub.save_batch
6204: (p_header_id => NULL
6205: ,p_table => gme_common_pvt.g_interface_table
6206: ,p_commit => p_commit
6207: ,x_return_status => x_return_status);

Line 6452: gme_api_pub.save_batch

6448: END IF;
6449:
6450: IF x_return_status = fnd_api.g_ret_sts_success THEN
6451: IF p_commit = fnd_api.g_true THEN
6452: gme_api_pub.save_batch
6453: (p_header_id => NULL
6454: ,p_table => gme_common_pvt.g_interface_table
6455: ,p_commit => p_commit
6456: ,x_return_status => x_return_status);

Line 6700: gme_api_pub.save_batch

6696: END IF;
6697:
6698: IF x_return_status = fnd_api.g_ret_sts_success THEN
6699: IF p_commit = fnd_api.g_true THEN
6700: gme_api_pub.save_batch
6701: (p_header_id => NULL
6702: ,p_table => gme_common_pvt.g_interface_table
6703: ,p_commit => p_commit
6704: ,x_return_status => x_return_status);

Line 6965: gme_api_pub.save_batch

6961:
6962: IF x_return_status <> fnd_api.g_ret_sts_success THEN
6963: RAISE detail_reservation_error;
6964: END IF;
6965: gme_api_pub.save_batch
6966: (p_header_id => gme_common_pvt.g_transaction_header_id
6967: ,p_table => 1
6968: ,p_commit => p_commit
6969: ,x_return_status => x_return_status);

Line 6976: || ' return status from gme_api_pub.save_batch is '

6972: gme_debug.put_line
6973: ( g_pkg_name
6974: || '.'
6975: || l_api_name
6976: || ' return status from gme_api_pub.save_batch is '
6977: || x_return_status);
6978: END IF;
6979:
6980: IF x_return_status <> fnd_api.g_ret_sts_success THEN

Line 7409: gme_api_pub.save_batch (p_header_id => NULL

7405: || l_api_name
7406: || ' invoke save_batch');
7407: END IF;
7408:
7409: gme_api_pub.save_batch (p_header_id => NULL
7410: ,p_table => NULL
7411: ,p_commit => p_commit
7412: ,x_return_status => x_return_status);
7413:

Line 7699: gme_api_pub.save_batch

7695: || ' invoke save_batch with commit ='
7696: || p_commit);
7697: END IF;
7698:
7699: gme_api_pub.save_batch
7700: (p_header_id => gme_common_pvt.g_transaction_header_id
7701: ,p_table => null
7702: ,p_commit => p_commit
7703: ,x_return_status => x_return_status);

Line 8036: gme_api_pub.save_batch

8032: gme_debug.put_line ( g_pkg_name || '.' || l_api_name || ' invoke
8033: save_batch tith commit set ' || p_commit);
8034: END IF;
8035:
8036: gme_api_pub.save_batch
8037: (p_header_id => gme_common_pvt.g_transaction_header_id
8038: ,p_table => null
8039: ,p_commit => p_commit
8040: ,x_return_status => x_return_status);

Line 8568: gme_api_pub.save_batch (p_commit => p_commit

8564: END IF;
8565:
8566: -- Bug 13072622 Conditionalize call to save batch using p_commit value.
8567: IF p_commit = fnd_api.g_true THEN
8568: gme_api_pub.save_batch (p_commit => p_commit
8569: ,x_return_status => x_return_status);
8570:
8571: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8572: RAISE fnd_api.g_exc_error;

Line 8576: -- gme_api_pub.save_batch (x_return_status => x_return_status);

8572: RAISE fnd_api.g_exc_error;
8573: END IF;
8574: END IF;
8575:
8576: -- gme_api_pub.save_batch (x_return_status => x_return_status);
8577:
8578: -- IF (x_return_status = fnd_api.g_ret_sts_success) THEN
8579: -- COMMIT WORK;
8580: -- ELSE

Line 8722: gme_api_pub.save_batch (p_commit => p_commit

8718: END IF;
8719:
8720: -- Bug 13072622 Conditionalize call to save batch using p_commit value.
8721: IF p_commit = fnd_api.g_true THEN
8722: gme_api_pub.save_batch (p_commit => p_commit
8723: ,x_return_status => x_return_status);
8724:
8725: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8726: RAISE fnd_api.g_exc_error;

Line 8730: -- gme_api_pub.save_batch (x_return_status => x_return_status);

8726: RAISE fnd_api.g_exc_error;
8727: END IF;
8728: END IF;
8729:
8730: -- gme_api_pub.save_batch (x_return_status => x_return_status);
8731:
8732: -- IF (x_return_status = fnd_api.g_ret_sts_success) THEN
8733: -- COMMIT WORK;
8734: -- ELSE

Line 8861: gme_api_pub.save_batch (p_commit => p_commit

8857: END IF;
8858:
8859: -- Bug 13072622 Conditionalize call to save batch using p_commit value.
8860: IF p_commit = fnd_api.g_true THEN
8861: gme_api_pub.save_batch (p_commit => p_commit
8862: ,x_return_status => x_return_status);
8863:
8864: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8865: RAISE fnd_api.g_exc_error;

Line 8869: -- gme_api_pub.save_batch (x_return_status => x_return_status);

8865: RAISE fnd_api.g_exc_error;
8866: END IF;
8867: END IF;
8868:
8869: -- gme_api_pub.save_batch (x_return_status => x_return_status);
8870:
8871: -- IF (x_return_status = fnd_api.g_ret_sts_success) THEN
8872: -- COMMIT WORK;
8873: -- ELSE

Line 9032: gme_api_pub.save_batch (p_header_id => NULL

9028: );
9029:
9030: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
9031: IF p_commit = fnd_api.g_true THEN
9032: gme_api_pub.save_batch (p_header_id => NULL
9033: ,p_table => NULL
9034: ,p_commit => p_commit
9035: ,x_return_status => x_return_status);
9036:

Line 9259: gme_api_pub.save_batch

9255: END IF;
9256:
9257: -- Bug 8490219 - Only call save batch is commit is TRUE.
9258: IF p_commit = fnd_api.g_true THEN
9259: gme_api_pub.save_batch
9260: (p_header_id => gme_common_pvt.g_transaction_header_id
9261: ,p_table => 1
9262: ,p_commit => p_commit
9263: ,x_return_status => x_return_status);

Line 9270: || ' Return status from gme_api_pub.save_batch is '

9266: gme_debug.put_line
9267: ( g_pkg_name
9268: || '.'
9269: || l_api_name
9270: || ' Return status from gme_api_pub.save_batch is '
9271: || x_return_status);
9272: END IF;
9273:
9274: IF x_return_status <> fnd_api.g_ret_sts_success THEN

Line 9496: gme_api_pub.save_batch

9492: || ' About to invoke save_batch with header_id of '
9493: || gme_common_pvt.g_transaction_header_id);
9494: END IF;
9495:
9496: gme_api_pub.save_batch
9497: (p_header_id => gme_common_pvt.g_transaction_header_id
9498: ,p_table => 1
9499: ,p_commit => p_commit
9500: ,x_return_status => x_return_status);

Line 9507: || ' Return status from gme_api_pub.save_batch is '

9503: gme_debug.put_line
9504: ( g_pkg_name
9505: || '.'
9506: || l_api_name
9507: || ' Return status from gme_api_pub.save_batch is '
9508: || x_return_status);
9509: END IF;
9510:
9511: IF x_return_status <> fnd_api.g_ret_sts_success THEN

Line 9736: gme_api_pub.save_batch

9732: || ' About to invoke save_batch with header_id of '
9733: || gme_common_pvt.g_transaction_header_id);
9734: END IF;
9735:
9736: gme_api_pub.save_batch
9737: (p_header_id => gme_common_pvt.g_transaction_header_id
9738: ,p_table => 1
9739: ,p_commit => p_commit
9740: ,x_return_status => x_return_status);

Line 9747: || ' Return status from gme_api_pub.save_batch is '

9743: gme_debug.put_line
9744: ( g_pkg_name
9745: || '.'
9746: || l_api_name
9747: || ' Return status from gme_api_pub.save_batch is '
9748: || x_return_status);
9749: END IF;
9750:
9751: IF x_return_status <> fnd_api.g_ret_sts_success THEN

Line 9930: gme_api_pub.save_batch

9926: -- END IF;
9927:
9928: /* Invoke save_batch */
9929: /*
9930: gme_api_pub.save_batch
9931: (p_header_id => gme_common_pvt.g_transaction_header_id
9932: ,p_table => 1
9933: ,p_commit => p_commit
9934: ,x_return_status => x_return_status);

Line 9938: ' Return status from gme_api_pub.save_batch is '

9934: ,x_return_status => x_return_status);
9935:
9936: IF g_debug <= gme_debug.g_log_statement THEN
9937: gme_debug.put_line ( g_pkg_name || '.' || l_api_name ||
9938: ' Return status from gme_api_pub.save_batch is '
9939: || x_return_status);
9940: END IF;
9941:
9942: IF x_return_status <> fnd_api.g_ret_sts_success THEN

Line 9949: gme_api_pub.save_batch (p_header_id => gme_common_pvt.g_transaction_header_id

9945: */
9946:
9947: IF x_return_status = fnd_api.g_ret_sts_success THEN
9948: IF p_commit = fnd_api.g_true THEN
9949: gme_api_pub.save_batch (p_header_id => gme_common_pvt.g_transaction_header_id
9950: ,p_table => 1
9951: ,p_commit => fnd_api.g_false
9952: ,x_return_status => x_return_status);
9953:

Line 10140: gme_api_pub.save_batch (p_header_id => gme_common_pvt.g_transaction_header_id

10136:
10137: -- Bug 11846735 - restructure save block.
10138: IF x_return_status = fnd_api.g_ret_sts_success THEN
10139: IF p_commit = fnd_api.g_true THEN
10140: gme_api_pub.save_batch (p_header_id => gme_common_pvt.g_transaction_header_id
10141: ,p_table => 1
10142: ,p_commit => fnd_api.g_false
10143: ,x_return_status => x_return_status);
10144:

Line 10398: gme_api_pub.save_batch

10394: || ' About to invoke save_batch with header_id of '
10395: || gme_common_pvt.g_transaction_header_id);
10396: END IF;
10397:
10398: gme_api_pub.save_batch
10399: (p_header_id => gme_common_pvt.g_transaction_header_id
10400: ,p_table => 1
10401: ,p_commit => p_commit
10402: ,x_return_status => x_return_status);

Line 10409: || ' Return status from gme_api_pub.save_batch is '

10405: gme_debug.put_line
10406: ( g_pkg_name
10407: || '.'
10408: || l_api_name
10409: || ' Return status from gme_api_pub.save_batch is '
10410: || x_return_status);
10411: END IF;
10412:
10413: IF x_return_status <> fnd_api.g_ret_sts_success THEN

Line 10685: gme_api_pub.save_batch

10681:
10682: -- Bug 16079623 - Conditionalize call to save_batch based on p_save_batch. Rework of 13981238.
10683: IF (p_save_batch = fnd_api.g_true) THEN
10684: -- Bug 13981238 Change table parameter to 2 since now transactions will be in mmt.
10685: gme_api_pub.save_batch
10686: (p_header_id => gme_common_pvt.g_transaction_header_id
10687: ,p_table => 2
10688: ,p_commit => p_commit
10689: ,x_return_status => x_return_status);

Line 10696: || ' Return status from gme_api_pub.save_batch is '

10692: gme_debug.put_line
10693: ( g_pkg_name
10694: || '.'
10695: || l_api_name
10696: || ' Return status from gme_api_pub.save_batch is '
10697: || x_return_status);
10698: END IF;
10699: END IF;
10700:

Line 10886: gme_api_pub.save_batch

10882: gme_debug.put_line ( g_pkg_name || '.' || l_api_name || ' About to
10883: invoke save_batch with header_id of ' || gme_common_pvt.g_transaction_header_id);
10884: END IF;
10885:
10886: gme_api_pub.save_batch
10887: (p_header_id => gme_common_pvt.g_transaction_header_id
10888: ,p_table => 1
10889: ,p_commit => p_commit
10890: ,x_return_status => x_return_status);

Line 10894: ' Return status from gme_api_pub.save_batch is ' || x_return_status);

10890: ,x_return_status => x_return_status);
10891:
10892: IF g_debug <= gme_debug.g_log_statement THEN
10893: gme_debug.put_line ( g_pkg_name || '.' || l_api_name ||
10894: ' Return status from gme_api_pub.save_batch is ' || x_return_status);
10895: END IF;
10896:
10897: IF x_return_status <> fnd_api.g_ret_sts_success THEN
10898: RAISE fnd_api.g_exc_error;

Line 11145: gme_api_pub.save_batch

11141:
11142: -- Bug 16079623 - Conditionalize call to save_batch based on p_save_batch. Rework of 13981238.
11143: IF (p_save_batch = fnd_api.g_true) THEN
11144: -- Bug 13981238 Change table parameter to 2 since now transactions will be in mmt.
11145: gme_api_pub.save_batch
11146: (p_header_id => gme_common_pvt.g_transaction_header_id
11147: ,p_table => 2
11148: ,p_commit => p_commit
11149: ,x_return_status => x_return_status);

Line 11153: status from gme_api_pub.save_batch is ' || x_return_status);

11149: ,x_return_status => x_return_status);
11150:
11151: IF g_debug <= gme_debug.g_log_statement THEN
11152: gme_debug.put_line ( g_pkg_name || '.' || l_api_name || ' Return
11153: status from gme_api_pub.save_batch is ' || x_return_status);
11154: END IF;
11155: END IF;
11156:
11157: IF x_return_status <> fnd_api.g_ret_sts_success THEN

Line 11372: gme_api_pub.auto_detail_batch

11368: i := i+1;
11369: l_in_batch_header_rec.batch_id := get_rec.batch_id;
11370: -- DBMS_OUTPUT.put_line ('batch_id is ' || l_in_batch_header_rec.batch_id);
11371: IF (p_action = 3) THEN
11372: gme_api_pub.auto_detail_batch
11373: (p_api_version => 2.0,
11374: p_init_msg_list => 'T',
11375: p_commit => 'T',
11376: x_message_count => x_message_count,

Line 11383: gme_api_pub.release_batch

11379: p_batch_rec => l_in_batch_header_rec,
11380: p_org_code => NULL
11381: );
11382: ELSIF (p_action = 4) THEN
11383: gme_api_pub.release_batch
11384: (p_api_version => 2.0,
11385: p_validation_level => 100,
11386: p_init_msg_list => 'T',
11387: p_commit => 'T',

Line 11399: gme_api_pub.complete_batch

11395: x_batch_header_rec => l_batch_header_rec,
11396: x_exception_material_tbl => l_exception_material_tbl
11397: );
11398: ELSIF (p_action = 5) THEN
11399: gme_api_pub.complete_batch
11400: (p_api_version => 2.0,
11401: p_validation_level => 100,
11402: p_init_msg_list => 'T',
11403: p_commit => 'T',

Line 11415: gme_api_pub.close_batch

11411: x_batch_header_rec => l_batch_header_rec,
11412: x_exception_material_tbl => l_exception_material_tbl
11413: );
11414: ELSIF (p_action = 6) THEN
11415: gme_api_pub.close_batch
11416: (p_api_version => 2.0,
11417: p_validation_level => 100,
11418: p_init_msg_list => 'T',
11419: p_commit => 'T',

Line 11428: gme_api_pub.reopen_batch

11424: x_batch_header_rec => l_batch_header_rec,
11425: p_org_code => NULL
11426: );
11427: ELSIF (p_action = 7) THEN
11428: gme_api_pub.reopen_batch
11429: (p_api_version => 2.0,
11430: p_validation_level => 100,
11431: p_init_msg_list => 'T',
11432: p_commit => 'T',

Line 11442: gme_api_pub.revert_batch

11438: p_reopen_steps => NULL,
11439: x_batch_header_rec => l_batch_header_rec
11440: );
11441: ELSIF (p_action = 8) THEN
11442: gme_api_pub.revert_batch
11443: (p_api_version => 2.0,
11444: p_validation_level => 100,
11445: p_init_msg_list => 'T',
11446: p_commit => 'T',

Line 11455: gme_api_pub.unrelease_batch

11451: p_batch_header_rec => l_in_batch_header_rec,
11452: x_batch_header_rec => l_batch_header_rec
11453: );
11454: ELSIF (p_action = 9) THEN
11455: gme_api_pub.unrelease_batch
11456: (p_api_version => 2.0,
11457: p_validation_level => 100,
11458: p_init_msg_list => 'T',
11459: p_commit => 'T',

Line 11469: gme_api_pub.cancel_batch

11465: p_create_resv_pend_lots => NULL,
11466: x_batch_header_rec => l_batch_header_rec
11467: );
11468: ELSIF (p_action = 10) THEN
11469: gme_api_pub.cancel_batch
11470: (p_api_version => 2.0,
11471: p_validation_level => 100,
11472: p_init_msg_list => 'T',
11473: p_commit => 'T',

Line 11483: gme_api_pub.terminate_batch

11479: p_org_code => NULL
11480: );
11481:
11482: ELSIF (p_action = 11) THEN
11483: gme_api_pub.terminate_batch
11484: (p_api_version => 2.0,
11485: p_validation_level => 100,
11486: p_init_msg_list => 'T',
11487: p_commit => 'T',

Line 11819: gme_api_pub.save_batch

11815: gme_common_pvt.log_message ('PM_SAVED_CHANGES');
11816: END IF;
11817: */
11818: IF p_commit = fnd_api.g_true THEN
11819: gme_api_pub.save_batch
11820: (p_header_id => gme_common_pvt.g_transaction_header_id
11821: ,p_table => null
11822: ,p_commit => p_commit
11823: ,p_clear_qty_cache => fnd_api.g_true

Line 11878: END gme_api_pub;

11874: ,x_return_status => x_return_status );
11875: END update_batchstep_qty;
11876:
11877:
11878: END gme_api_pub;