Set-BillingEntry
- 1 Minute to read
- Print
- DarkLight
- PDF
Set-BillingEntry
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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