Cmdlets for SAP Concur

Build 23.0.8839

Update-SAPConcur Cmdlet

Parameters   Output Objects  

Updates SAP Concur data.

Syntax

Update-SAPConcur [parameters]

Remarks

The Update-SAPConcur cmdlet allows you to use a syntax similar to SQL UPDATE statements to update SAP Concur data.

$conn = Connect-SAPConcur -OAuthClientId 'abc123' -OAuthClientSecret 'def456'
Update-SAPConcur -Connection $conn -Table "Departments" -Columns @("OfficeId") -Values @("1668776136772254") -Id "25"
The Where parameter can also be used to specify the primary key of the table:
Update-SAPConcur -Connection $conn -Table "Departments" -Columns @("OfficeId") -Values @("1668776136772254") -Where "OfficeId = '25'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-SAPConcur -Connection $conn -Table Departments -Where "Id = '1668776136772254'" | Update-SAPConcur -Columns @("Id") -Values @("1668776136772254 2")

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