3025: , l_extended_amount
3026: , x_movement_transaction.invoice_quantity;
3027: CLOSE l_ap_intercompany;
3028:
3029: FND_FILE.put_line(FND_FILE.log, 'The invoice id is : '||x_movement_transaction.invoice_id);
3030: FND_FILE.put_line(FND_FILE.log, 'The invoice qty(1) is : '||x_movement_transaction.invoice_quantity);
3031:
3032: IF x_movement_transaction.invoice_id IS NOT NULL
3033: THEN
3026: , x_movement_transaction.invoice_quantity;
3027: CLOSE l_ap_intercompany;
3028:
3029: FND_FILE.put_line(FND_FILE.log, 'The invoice id is : '||x_movement_transaction.invoice_id);
3030: FND_FILE.put_line(FND_FILE.log, 'The invoice qty(1) is : '||x_movement_transaction.invoice_quantity);
3031:
3032: IF x_movement_transaction.invoice_id IS NOT NULL
3033: THEN
3034: --Recalculate invoice amount for ap intercompany CTO item
3057: IF x_movement_transaction.invoice_quantity = 0 THEN
3058: x_movement_transaction.invoice_quantity := l_ar_invoiced_qty;
3059: END IF;
3060:
3061: FND_FILE.put_line(FND_FILE.log, 'The invoice qty(2) is : '||x_movement_transaction.invoice_quantity);
3062:
3063: END IF;
3064: --Open cursor to get other invoice information
3065: OPEN l_ap_intercompany_invo;
3070: , x_movement_transaction.currency_conversion_date
3071: , x_movement_transaction.invoice_batch_id
3072: , x_movement_transaction.invoice_date_reference;
3073:
3074: FND_FILE.put_line(FND_FILE.log, 'The currency_code is : '||x_movement_transaction.currency_code);
3075: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_rate is : '||x_movement_transaction.currency_conversion_rate);
3076: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_type is : '||x_movement_transaction.currency_conversion_type);
3077: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_date is : '||x_movement_transaction.currency_conversion_date);
3078: FND_FILE.put_line(FND_FILE.log, 'The invoice_batch_id is : '||x_movement_transaction.invoice_batch_id);
3071: , x_movement_transaction.invoice_batch_id
3072: , x_movement_transaction.invoice_date_reference;
3073:
3074: FND_FILE.put_line(FND_FILE.log, 'The currency_code is : '||x_movement_transaction.currency_code);
3075: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_rate is : '||x_movement_transaction.currency_conversion_rate);
3076: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_type is : '||x_movement_transaction.currency_conversion_type);
3077: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_date is : '||x_movement_transaction.currency_conversion_date);
3078: FND_FILE.put_line(FND_FILE.log, 'The invoice_batch_id is : '||x_movement_transaction.invoice_batch_id);
3079: FND_FILE.put_line(FND_FILE.log, 'The invoice_date_reference is : '||x_movement_transaction.invoice_date_reference);
3072: , x_movement_transaction.invoice_date_reference;
3073:
3074: FND_FILE.put_line(FND_FILE.log, 'The currency_code is : '||x_movement_transaction.currency_code);
3075: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_rate is : '||x_movement_transaction.currency_conversion_rate);
3076: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_type is : '||x_movement_transaction.currency_conversion_type);
3077: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_date is : '||x_movement_transaction.currency_conversion_date);
3078: FND_FILE.put_line(FND_FILE.log, 'The invoice_batch_id is : '||x_movement_transaction.invoice_batch_id);
3079: FND_FILE.put_line(FND_FILE.log, 'The invoice_date_reference is : '||x_movement_transaction.invoice_date_reference);
3080:
3073:
3074: FND_FILE.put_line(FND_FILE.log, 'The currency_code is : '||x_movement_transaction.currency_code);
3075: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_rate is : '||x_movement_transaction.currency_conversion_rate);
3076: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_type is : '||x_movement_transaction.currency_conversion_type);
3077: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_date is : '||x_movement_transaction.currency_conversion_date);
3078: FND_FILE.put_line(FND_FILE.log, 'The invoice_batch_id is : '||x_movement_transaction.invoice_batch_id);
3079: FND_FILE.put_line(FND_FILE.log, 'The invoice_date_reference is : '||x_movement_transaction.invoice_date_reference);
3080:
3081:
3074: FND_FILE.put_line(FND_FILE.log, 'The currency_code is : '||x_movement_transaction.currency_code);
3075: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_rate is : '||x_movement_transaction.currency_conversion_rate);
3076: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_type is : '||x_movement_transaction.currency_conversion_type);
3077: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_date is : '||x_movement_transaction.currency_conversion_date);
3078: FND_FILE.put_line(FND_FILE.log, 'The invoice_batch_id is : '||x_movement_transaction.invoice_batch_id);
3079: FND_FILE.put_line(FND_FILE.log, 'The invoice_date_reference is : '||x_movement_transaction.invoice_date_reference);
3080:
3081:
3082: IF l_ap_intercompany_invo%NOTFOUND
3075: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_rate is : '||x_movement_transaction.currency_conversion_rate);
3076: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_type is : '||x_movement_transaction.currency_conversion_type);
3077: FND_FILE.put_line(FND_FILE.log, 'The currency_conversion_date is : '||x_movement_transaction.currency_conversion_date);
3078: FND_FILE.put_line(FND_FILE.log, 'The invoice_batch_id is : '||x_movement_transaction.invoice_batch_id);
3079: FND_FILE.put_line(FND_FILE.log, 'The invoice_date_reference is : '||x_movement_transaction.invoice_date_reference);
3080:
3081:
3082: IF l_ap_intercompany_invo%NOTFOUND
3083: THEN
4068: -- DBMS_OUTPUT.put_line(p_msg);
4069: NULL;
4070: ELSE
4071: -- Concurrent request
4072: FND_FILE.put_line
4073: ( FND_FILE.log
4074: , p_msg
4075: );
4076: END IF;
4069: NULL;
4070: ELSE
4071: -- Concurrent request
4072: FND_FILE.put_line
4073: ( FND_FILE.log
4074: , p_msg
4075: );
4076: END IF;
4077: END IF;