Set-BillingEntry
  • 1 Minute to read
  • Dark
    Light
  • PDF

Set-BillingEntry

  • Dark
    Light
  • PDF

Article summary

Summary

Creates a new billing entry.

Set-BillingEntry
    -Entry
    -BypassCustomFieldValidation

Returns a billing entry object.

Parameters

Parameter

Type

Required?

Notes

Entry

Billing Entry Object

Yes


BypassCustomFieldValdiation

Switch

No, Defaults to false

Ignores required field requirement for custom fields when the entry is saved.

Examples

Updates an existing billing entry

$billingEntry = Get-BillingEntry -Id 89017

$billingEntry.Quantity = 2500
$billingEntry.Notes = "Scripted Updated"

$updatedBillingEntry = Set-BillingEntry $billingEntry -BypassCustomFieldValidation

Write-Output "Updated billing entry $($updatedBillingEntry.BillingEntryId)"

Results of executing the script:

Updated billing entry 89017