484: l_line_rec.calculate_price_flag := 'Y';
485: End IF;
486:
487: If (l_line_rec.operation is null or l_line_rec.operation = FND_API.G_MISS_CHAR) THEN
488: l_line_rec.operation := oe_globals.g_opr_create;
489: End IF;
490:
491: l_pass_line_flag := 'N';
492: l_check_line_flag := 'N';
496: l_pass_line_flag := 'Y';
497: ELSIF l_line_rec.calculate_price_flag <> 'N'
498: THEN
499: IF (p_order_status_rec.changed_lines_flag = 'Y' AND (
500: l_line_rec.operation = OE_GLOBALS.G_OPR_CREATE
501: OR l_line_rec.operation = OE_GLOBALS.G_OPR_UPDATE)
502: )
503: THEN
504: l_source_line_flag := 'Y';
497: ELSIF l_line_rec.calculate_price_flag <> 'N'
498: THEN
499: IF (p_order_status_rec.changed_lines_flag = 'Y' AND (
500: l_line_rec.operation = OE_GLOBALS.G_OPR_CREATE
501: OR l_line_rec.operation = OE_GLOBALS.G_OPR_UPDATE)
502: )
503: THEN
504: l_source_line_flag := 'Y';
505: l_pass_line_flag := 'Y';
503: THEN
504: l_source_line_flag := 'Y';
505: l_pass_line_flag := 'Y';
506: ELSIF (p_order_status_rec.all_lines_flag = 'Y' AND
507: l_line_rec.operation <> OE_GLOBALS.G_OPR_DELETE)
508: THEN
509: l_check_line_flag := 'Y';
510: l_source_line_flag := 'Y';
511: END IF;