Update-OracleERP Cmdlet
Updates Oracle Fusion Cloud Financials data.
Syntax
Update-OracleERP [parameters]
Remarks
The Update-OracleERP cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Oracle Fusion Cloud Financials data.
$conn = Connect-OracleERP -Url "https://abc.oraclecloud.com" -User "user" -Password "password"
Update-OracleERP -Connection $conn -Table "Invoices" -Columns @("InvoiceId") -Values @("Jon Doe") -Id "6"
The Where parameter can also be used to specify the primary key of the table:
Update-OracleERP -Connection $conn -Table "Invoices" -Columns @("InvoiceId") -Values @("Jon Doe") -Where "Id = '6'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-OracleERP -Connection $conn -Table Invoices -Where "Supplier = 'Bob'" | Update-OracleERP -Columns @("Supplier") -Values @("Bob 2")