Cmdlets for Sage Business Cloud Accounting

Build 22.0.8479

Remove-SageBCAccounting Cmdlet

Parameters   Output Objects  

Sage Business Cloud Accounting データを削除します。

Syntax

Remove-SageBCAccounting [parameters]

Remarks

Remove-SageBCAccounting コマンドレットを使って、SQL DELETE ステートメントに似た構文を用いてSage Business Cloud Accounting データを削除できます。

$conn = Connect-SageBCAccounting -InitiateOAuth 'GETANDREFRESH'
Remove-SageBCAccounting -Connection $conn -Table "SampleTable_1" -Id "6"
Where パラメータは主キーを指定するためにも使われます。
Remove-SageBCAccounting -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-SageBCAccounting -Connection $conn -Table SampleTable_1 -Where "Column2 = 'Bob'" | Remove-SageBCAccounting

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479