864: l_explanation := null;
865:
866: select meaning
867: into l_explanation
868: from mfg_lookups
869: where lookup_type = 'MTL_DEMAND_INTERFACE_ERRORS'
870: and lookup_code = 80;
871:
872: IF l_debug_level > 0 THEN
890: l_explanation := null;
891:
892: select meaning
893: into l_explanation
894: from mfg_lookups
895: where lookup_type = 'MTL_DEMAND_INTERFACE_ERRORS'
896: and lookup_code = p_atp_rec.error_code(J) ;
897:
898: IF p_atp_rec.error_code(J) = 19 THEN
999:
1000: BEGIN
1001: select meaning
1002: into l_explanation
1003: from mfg_lookups
1004: where lookup_type = 'MTL_DEMAND_INTERFACE_ERRORS'
1005: and lookup_code = p_atp_rec.error_code(J) ;
1006:
1007: g_atp_tbl(atp_count).error_message := l_explanation;