Cmdlets for Reckon Accounts Hosted

Build 23.0.8839

Remove-ReckonAccountsHosted Cmdlet

Parameters   Output Objects  

Deletes Reckon Accounts Hosted data.

Syntax

Remove-ReckonAccountsHosted [parameters]

Remarks

The Remove-ReckonAccountsHosted cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Reckon Accounts Hosted data.

$conn = Connect-ReckonAccountsHosted -SubscriptionKey "test" -CountryVersion "2021.R2.AU" -CompanyFile "Q:/CData Software.QBW" -User "test" -Password "test" -InitiateOAuth "GETANDREFRESH" -CallbackURL "http://localhost:33333" -OAuthClientId "MyOAuthClientID" -OAuthClientSecret "MyOAuthClientSecret"
Remove-ReckonAccountsHosted -Connection $conn -Table "Customers" -Id "10456255-0015501366"
The Where parameter can also be used to specify the primary key:
Remove-ReckonAccountsHosted -Connection $conn -Table "exTablePowershell;" -Where "Id = 10456255-0015501366"
The primary key can also be passed to the cmdlet along the pipeline:
Select-ReckonAccountsHosted -Connection $conn -Table Customers -Where "Name = 'Cook, Brian'" | Remove-ReckonAccountsHosted

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839