Share via


New-MgBetaFinancialCompanyPaymentTerm

Create new navigation property to paymentTerms for financials

Syntax

CreateExpanded (Default)

New-MgBetaFinancialCompanyPaymentTerm
    -CompanyId <String>
    [-ResponseHeadersVariable <String>]
    [-AdditionalProperties <Hashtable>]
    [-CalculateDiscountOnCreditMemos]
    [-Code <String>]
    [-DiscountDateCalculation <String>]
    [-DiscountPercent <Decimal>]
    [-DisplayName <String>]
    [-DueDateCalculation <String>]
    [-Id <String>]
    [-LastModifiedDateTime <DateTime>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgBetaFinancialCompanyPaymentTerm
    -CompanyId <String>
    -BodyParameter <IMicrosoftGraphPaymentTerm>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentityExpanded

New-MgBetaFinancialCompanyPaymentTerm
    -InputObject <IFinancialsIdentity>
    [-ResponseHeadersVariable <String>]
    [-AdditionalProperties <Hashtable>]
    [-CalculateDiscountOnCreditMemos]
    [-Code <String>]
    [-DiscountDateCalculation <String>]
    [-DiscountPercent <Decimal>]
    [-DisplayName <String>]
    [-DueDateCalculation <String>]
    [-Id <String>]
    [-LastModifiedDateTime <DateTime>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentity

New-MgBetaFinancialCompanyPaymentTerm
    -InputObject <IFinancialsIdentity>
    -BodyParameter <IMicrosoftGraphPaymentTerm>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Create new navigation property to paymentTerms for financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

Type:Hashtable
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BodyParameter

paymentTerm To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphPaymentTerm
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Create
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-CalculateDiscountOnCreditMemos

Create new navigation property to paymentTerms for financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Code

Create new navigation property to paymentTerms for financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CompanyId

The unique identifier of company

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Create
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DiscountDateCalculation

Create new navigation property to paymentTerms for financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DiscountPercent

Create new navigation property to paymentTerms for financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameter properties

Type:Decimal
Default value:0
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplayName

Create new navigation property to paymentTerms for financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DueDateCalculation

Create new navigation property to paymentTerms for financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:IDictionary
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

Create new navigation property to paymentTerms for financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

Type:IFinancialsIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentityExpanded
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-LastModifiedDateTime

Create new navigation property to paymentTerms for financials

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Financials.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Financials.ReadWrite.All,

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IFinancialsIdentity

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPaymentTerm

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPaymentTerm

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphPaymentTerm>: paymentTerm

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [CalculateDiscountOnCreditMemos <Boolean?>]:
  • [Code <String>]:
  • [DiscountDateCalculation <String>]:
  • [DiscountPercent <Decimal?>]:
  • [DisplayName <String>]:
  • [DueDateCalculation <String>]:
  • [Id <String>]:
  • [LastModifiedDateTime <DateTime?>]:

INPUTOBJECT <IFinancialsIdentity>: Identity Parameter

  • [AccountId <String>]: The unique identifier of account
  • [AgedAccountsPayableId <String>]: The unique identifier of agedAccountsPayable
  • [AgedAccountsReceivableId <String>]: The unique identifier of agedAccountsReceivable
  • [CompanyId <String>]: The unique identifier of company
  • [CompanyInformationId <String>]: The unique identifier of companyInformation
  • [CountryRegionId <String>]: The unique identifier of countryRegion
  • [CurrencyId <String>]: The unique identifier of currency
  • [CustomerId <String>]: The unique identifier of customer
  • [CustomerPaymentId <String>]: The unique identifier of customerPayment
  • [CustomerPaymentJournalId <String>]: The unique identifier of customerPaymentJournal
  • [DimensionId <String>]: The unique identifier of dimension
  • [DimensionValueId <String>]: The unique identifier of dimensionValue
  • [EmployeeId <String>]: The unique identifier of employee
  • [GeneralLedgerEntryId <String>]: The unique identifier of generalLedgerEntry
  • [ItemCategoryId <String>]: The unique identifier of itemCategory
  • [ItemId <String>]: The unique identifier of item
  • [JournalId <String>]: The unique identifier of journal
  • [JournalLineId <String>]: The unique identifier of journalLine
  • [PaymentMethodId <String>]: The unique identifier of paymentMethod
  • [PaymentTermId <String>]: The unique identifier of paymentTerm
  • [PictureId <String>]: The unique identifier of picture
  • [PurchaseInvoiceId <String>]: The unique identifier of purchaseInvoice
  • [PurchaseInvoiceLineId <String>]: The unique identifier of purchaseInvoiceLine
  • [SalesCreditMemoId <String>]: The unique identifier of salesCreditMemo
  • [SalesCreditMemoLineId <String>]: The unique identifier of salesCreditMemoLine
  • [SalesInvoiceId <String>]: The unique identifier of salesInvoice
  • [SalesInvoiceLineId <String>]: The unique identifier of salesInvoiceLine
  • [SalesOrderId <String>]: The unique identifier of salesOrder
  • [SalesOrderLineId <String>]: The unique identifier of salesOrderLine
  • [SalesQuoteId <String>]: The unique identifier of salesQuote
  • [SalesQuoteLineId <String>]: The unique identifier of salesQuoteLine
  • [ShipmentMethodId <String>]: The unique identifier of shipmentMethod
  • [TaxAreaId <String>]: The unique identifier of taxArea
  • [TaxGroupId <String>]: The unique identifier of taxGroup
  • [UnitOfMeasureId <String>]: The unique identifier of unitOfMeasure
  • [VendorId <String>]: The unique identifier of vendor