DBA Data[Home] [Help]

APPS.ARP_PROCESS_WRITEOFF dependencies on FND_API

Line 390: l_return_status := FND_API.G_RET_STS_SUCCESS;

386:
387:
388: --Intialize the out NOCOPY variable
389:
390: l_return_status := FND_API.G_RET_STS_SUCCESS;
391:
392: --Get the approval limits of the user
393: BEGIN
394: SELECT NVL(amount_from,0),

Line 425: l_return_status := FND_API.G_RET_STS_ERROR;

421: l_return_status));
422: IF l_customer_id IS NULL THEN
423: FND_MESSAGE.SET_NAME('AR','AR_RAPI_CUS_NUM_INVALID');
424: FND_MSG_PUB.Add;
425: l_return_status := FND_API.G_RET_STS_ERROR;
426: END IF;
427: END IF;
428:
429: arp_util.debug('Customer ID '||to_char(l_customer_id));

Line 575: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS )

571: l_number_of_records_writtenoff := l_number_of_records_writtenoff + 1;
572:
573: END IF;
574:
575: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS )
576: THEN
577:
578: arp_util.debug('arp_process_writeoff - Failed for Receipt : '||
579: writeoff_rec.receipt_number );

Line 594: l_msg_data := FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);

590: app_exception.raise_exception;
591: ELSIF l_msg_count > 1 THEN
592: --retrive only first messages from the stack and display it .
593:
594: l_msg_data := FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
595:
596: FND_MESSAGE.SET_NAME ('AR', 'GENERIC_MESSAGE');
597: FND_MESSAGE.SET_TOKEN('GENERIC_TEXT',l_msg_data);
598: app_exception.raise_exception;