IDP.Integration.Bom.deletePlanksByProductIdsAsync() function
通过产品ID 批量删除产品和这个产品下的所有子部件(包含孔槽)
Signature:
function deletePlanksByProductIdsAsync(option: {
orderId: string;
productIds: string[];
}): Promise<{
plankIds: string[];
}>;
Links: function deletePlanksByProductIdsAsync(option: { orderId: string; productIds: string[]; }): Promise<{ plankIds: string[]; }>;
Parameters
Parameter | Type | Description |
---|---|---|
option | { orderId: string; productIds: string[]; } |
Returns:
Promise<{ plankIds: string[]; }>
Exceptions
{Error} 报错即表示删除失败