Table of Contents

Class ExpenseUpdate

Namespace
Autodesk.ACC.CostManagement.Models
Assembly
Autodesk.ACC.CostManagement.dll
public class ExpenseUpdate : IAdditionalDataHolder, IParsable
Inheritance
ExpenseUpdate
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

ExpenseUpdate()

Instantiates a new ExpenseUpdate and sets the default values.

public ExpenseUpdate()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

AggregateBy

The aggregate type of the expense. Possible values: workCompleted, materialsOnSite, workCompletedQty.

public ExpenseUpdate_aggregateBy? AggregateBy { get; set; }

Property Value

ExpenseUpdate_aggregateBy?

ApprovedAt

The date and time when the expense is approved.

public DateTimeOffset? ApprovedAt { get; }

Property Value

DateTimeOffset?

BudgetPaymentId

ID of the Budget Pay App to which the expense belongs.

public string? BudgetPaymentId { get; set; }

Property Value

string

Description

The detail description of the expense.

public string? Description { get; set; }

Property Value

string

ExternalId

The ID of the item in its original external system. You can use this ID to track the source of truth or to look up the data in an integrated system.

public string? ExternalId { get; set; }

Property Value

string

ExternalMessage

A message that explains the sync status of the ERP integration with the BIM 360 Cost module.

public string? ExternalMessage { get; set; }

Property Value

string

ExternalSystem

The name of the external system. You can use this name to track the source of truth or to search in an integrated system.

public string? ExternalSystem { get; set; }

Property Value

string

ForecastDistributionAt

The date and time determines which distribution period this expense belongs to, after set status to Approved or Paid.

public DateTimeOffset? ForecastDistributionAt { get; }

Property Value

DateTimeOffset?

IntegrationState

Lock state used by ERP integration, default value is null.

public ExpenseUpdate_integrationState? IntegrationState { get; set; }

Property Value

ExpenseUpdate_integrationState?

IssuedAt

The date and time when the expense is issued.

public DateTimeOffset? IssuedAt { get; set; }

Property Value

DateTimeOffset?

Name

The name of the expense.

public string? Name { get; set; }

Property Value

string

Note

The note of the expense. Draftjs formatted rich text (https://draftjs.org/)

public string? Note { get; set; }

Property Value

string

Number

System-generated sequential number.

public string? Number { get; set; }

Property Value

string

PaidAt

The date and time when the expense is paid.

public DateTimeOffset? PaidAt { get; }

Property Value

DateTimeOffset?

PaymentDue

The payment due date of the expense.

public DateTimeOffset? PaymentDue { get; set; }

Property Value

DateTimeOffset?

PaymentReference

The check/cheque number or electronic transfer number.

public string? PaymentReference { get; set; }

Property Value

string

PaymentType

The Populated by ERP no default, could be something like Check/Cheque/Electronic Transfer.

public string? PaymentType { get; set; }

Property Value

string

PurchasedBy

The user who purchased the expense. This is the ID of a user managed by BIM 360 Admin.

public string? PurchasedBy { get; set; }

Property Value

string

ReceivedAt

The date and time when the expense is received.

public DateTimeOffset? ReceivedAt { get; set; }

Property Value

DateTimeOffset?

ReferenceNumber

The reference number of the expense.

public string? ReferenceNumber { get; set; }

Property Value

string

Scope

The expense type of the expense. Possible values: full, partial.

public ExpenseUpdate_scope? Scope { get; set; }

Property Value

ExpenseUpdate_scope?

Status

The status of the expense. Possible values: draft, pending, revise, rejected, approved, paid.

public ExpenseUpdate_status? Status { get; set; }

Property Value

ExpenseUpdate_status?

SupplierId

The supplier for the expense. This is the ID of a user managed by BIM 360 Admin.

public string? SupplierId { get; set; }

Property Value

string

SupplierName

The supplier name for the expense. User can create a new supplier or select from BIM 360 Admin.

public string? SupplierName { get; set; }

Property Value

string

Term

The term of the expense. It is customizable by the project admin.

public string? Term { get; set; }

Property Value

string

Type

The type of the expense. It is customizable by the project admin.

public string? Type { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static ExpenseUpdate CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

ExpenseUpdate

A ExpenseUpdate

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model