IDP.Integration.Bom.deletePlanksByProductIdsAsync() 函数
function deletePlanksByProductIdsAsync(option: {
orderId: string;
productIds: string[];
}): Promise<{
plankIds: string[];
}>;
通过产品ID 批量删除产品和这个产品下的所有子部件(包含孔槽)
参数:
option: { orderId: string; productIds: string[]; }
返回值: Promise<{ plankIds: string[]; }>
异常:
{Error} 报错即表示删除失败