|
|
|
@ -207,8 +207,9 @@ void get_bom(System::Collections::Generic::List<System::Collections::Generic::Di
|
|
|
|
|
char *val;
|
|
|
|
|
// AOM_UIF_ask_value(lines[j], "bl_sequence_no", &val);
|
|
|
|
|
// dic["POSNR"] = convert_to_cstring(val);
|
|
|
|
|
AOM_UIF_ask_value(lines[j], "bl_child_id", &val);
|
|
|
|
|
dic["IDNRK"] = convert_to_cstring(val);
|
|
|
|
|
char *child_id;
|
|
|
|
|
AOM_UIF_ask_value(lines[j], "bl_child_id", &child_id);
|
|
|
|
|
dic["IDNRK"] = convert_to_cstring(child_id);
|
|
|
|
|
|
|
|
|
|
AOM_UIF_ask_value(lines[j], "bl_quantity", &val);
|
|
|
|
|
dic["MENGE"] = convert_to_cstring(val);
|
|
|
|
@ -220,6 +221,12 @@ void get_bom(System::Collections::Generic::List<System::Collections::Generic::Di
|
|
|
|
|
int rel_cnt;
|
|
|
|
|
AOM_ask_value_tag(lines[j], "bl_line_object", &tag);
|
|
|
|
|
GRM_list_secondary_objects_only(tag, relation_type, &rel_cnt, &rels);
|
|
|
|
|
if(tc_strlen(child_id)>1&&child_id[0]=='9'&&child_id[1]=='9')
|
|
|
|
|
{
|
|
|
|
|
a_list->Add(dic);
|
|
|
|
|
get_bom(a_list, lines[j], werks, stlan, "", relation_type);
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
if(rel_cnt)
|
|
|
|
|
{
|
|
|
|
|
AOM_ask_value_string(rels[0], "jd2_cglx", &val1);
|
|
|
|
|