[Home] [Help]
3304: l_move_order_hdr_id := 0;
3305: END;
3306:
3307: IF NVL(l_mmtt_temp_id,0) = 0 THEN
3308: -- we would need to create the allocation here. We make use of inv_replenish_detail_pub.line_details
3309: -- to create the allocations.
3310: SELECT wdd.move_order_line_id
3311: INTO l_move_order_line_id
3312: FROM wsh_delivery_details wdd
3316: FND_LOG.STRING( L_LOG_STATEMENT, 'ahl.plsql.'||G_PKG_NAME||'.'|| L_API_NAME,'Creating the allocations for move line id'||l_move_order_line_id);
3317: END IF;
3318:
3319: IF not NVL(l_move_order_line_id,0) = 0 THEN
3320: inv_replenish_detail_pub.line_details_pub
3321: (p_line_id => l_move_order_line_id,
3322: x_number_of_rows => x_number_of_rows,
3323: x_detailed_qty => x_detailed_qty,
3324: x_detailed_qty2 => x_detailed_qty2,
3339: p_auto_pick_confirm => FALSE,
3340: p_commit => FALSE
3341: );
3342: if (L_LOG_STATEMENT >= L_LOG_CURRENT_LEVEL) then
3343: FND_LOG.STRING( L_LOG_STATEMENT, 'ahl.plsql.'||G_PKG_NAME||'.'|| L_API_NAME,'Returned from inv_replenish_detail_pub.line_details. Return status'||x_return_status);
3344: END IF;
3345:
3346: IF x_return_status <> G_RET_STS_SUCCESS THEN
3347: IF (L_LOG_STATEMENT >= L_LOG_CURRENT_LEVEL) THEN