Java SOA API を使用して Teamcenter で作業しています。 構造体から子行を正しく削除するにはどうすればよいですか?
これが私のコードです:
TCComponentBOMLine bl = bomWin.setWindowTopLine(***); // ROOT BOMLine
AIFComponentContext[] ctxes = bl.getChildren();
for (AIFComponentContext ctx : ctxes) {
TCComponentBOMLine child = (TCComponentBOMLine)ctx.getComponent();
bl.remove("bl_all_child_lines", child);
bl.save();
}
bl.save();
bl.refresh();
bomWin.save();
bomWin.refresh();
その後、構造の新しい子行を追加しています。
RAC ではすべて問題ありませんが、コンソールではICCTExceptionが表示されます。
com.teamcenter.soaictstubs.ICCTException: - Wrong sign
at com.teamcenter.soaictstubs.ICCT.getProperty(Unknown Source)
どうしたの?