357: from dual;
358: IF l_debug_level > 0 THEN
359: oe_debug_pub.add( ' GENESIS CLOSE : CLOSE ORDER - l_itemkey_sso'||l_itemkey_sso);
360: END IF;
361: OE_SYNC_ORDER_PVT.SYNC_HEADER_LINE( p_header_rec => l_header_rec
362: ,p_line_rec => null
363: ,p_hdr_req_id => l_itemkey_sso
364: ,p_lin_req_id => null
365: ,p_change_type => 'LINE_STATUS');
894: IF l_debug_level > 0 THEN
895: oe_debug_pub.add( ' GENESIS : CLOSE LINE - l_itemkey_sso'||l_itemkey_sso);
896: END IF;
897:
898: OE_SYNC_ORDER_PVT.INSERT_SYNC_lINE(P_LINE_rec => l_line_tbl(1),
899: p_change_type => 'LINE_STATUS',
900: p_req_id => l_itemkey_sso,
901: X_RETURN_STATUS => L_RETURN_STATUS_GEN);
902:
904: oe_debug_pub.add( ' GENESIS :CLOSE LINE: RETURN STATUS'||l_return_status_gen);
905: END IF;
906:
907: IF l_return_status_gen = FND_API.G_RET_STS_SUCCESS THEN
908: OE_SYNC_ORDER_PVT.SYNC_HEADER_LINE( p_header_rec => l_header_rec
909: ,p_line_rec => l_line_tbl(1) -- Bug 8442372
910: ,p_hdr_req_id => l_itemkey_sso
911: ,p_lin_req_id => l_itemkey_sso
912: ,p_change_type => 'LINE_STATUS');