Cmdlets for Oracle Sales Cloud

Build 20.0.7654

Update-OracleSalesCloud Cmdlet

Parameters   Output Objects  

Updates Oracle Sales Cloud data.

Syntax

Update-OracleSalesCloud [parameters]

Remarks

The Update-OracleSalesCloud cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Oracle Sales Cloud data.

$conn = Connect-OracleSalesCloud -HostURL 'https://my.host.oraclecloud.com' -Username 'abc123' -Password 'abcdef'
Update-OracleSalesCloud -Connection $conn -Table "Opportunities" -Columns @("Name") -Values @("Commercial Oppty") -Id "300000002693011"
The Where parameter can also be used to specify the primary key of the table:
Update-OracleSalesCloud -Connection $conn -Table "Opportunities" -Columns @("Name") -Values @("Commercial Oppty") -Where "Id = '300000002693011'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-OracleSalesCloud -Connection $conn -Table Opportunities -Where "CreatedBy = 'Jack'" | Update-OracleSalesCloud -Columns @("CreatedBy") -Values @("Jack 2")

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7654