Remove-SageIntacct Cmdlet
Sage Intacct データを削除します。
Syntax
Remove-SageIntacct [parameters]
Remarks
Remove-SageIntacct コマンドレットを使って、SQL DELETE ステートメントに似た構文を用いてSage Intacct データを削除できます。
$conn = Connect-SageIntacct -User 'myusername' -CompanyID 'TestCompany' -Password 'mypassword' -SenderID 'Test' -SenderPassword 'abcde123' Remove-SageIntacct -Connection $conn -Table "Customer" -Id "1"Where パラメータは主キーを指定するためにも使われます。
Remove-SageIntacct -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-SageIntacct -Connection $conn -Table Customer -Where "CustomerId = '12345'" | Remove-SageIntacct