Cmdlets for Sage Intacct

Build 25.0.9434

Update-SageIntacct Cmdlet

Parameters   Output Objects  

Updates Sage Intacct data.

Syntax

Update-SageIntacct [parameters]

Remarks

The Update-SageIntacct cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Sage Intacct data.

$conn = Connect-SageIntacct -User 'myusername' -CompanyID 'TestCompany' -Password 'mypassword' -SenderID 'Test' -SenderPassword 'abcde123'
Update-SageIntacct -Connection $conn -Table "Customer" -Columns @("TotalDue") -Values @("Jon Doe") -Id "1"
The Where parameter can also be used to specify the primary key of the table:
Update-SageIntacct -Connection $conn -Table "Customer" -Columns @("TotalDue") -Values @("Jon Doe") -Where "Id = '1'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-SageIntacct -Connection $conn -Table Customer -Where "CustomerId = '12345'" | Update-SageIntacct -Columns @("CustomerId") -Values @("12345 2")

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434