EconomicEvent
An observed economic flow, as opposed to a flow planned to happen in the future. This could reflect a change in the quantity of an economic resource.
Fields
id
ID!
A unique identifier for the economic event.
revisionId
ID!
The identifier of the last revision of this economic event.
action
Action!
Relates an economic event to a verb, such as consume, produce, work, improve, etc.
provider
Agent!
The economic agent from whom the event is initiated.
receiver
Agent!
The economic agent for whom the event is.
inScopeOf
[AccountingScope!]
The accounting scope this event falls within.
resourceInventoriedAs
EconomicResource
The specific economic resource involved in the event.
toResourceInventoriedAs
EconomicResource
The resource on the receiving side of a transfer or move.
resourceClassifiedAs
[URI!]
References a concept in a common taxonomy for categorization.
resourceQuantity
Measure
The amount and unit of the economic resource.
effortQuantity
Measure
The amount and unit of the work or use action.
hasBeginning
DateTime
The beginning of the economic event.
hasEnd
DateTime
The end of the economic event.
hasPointInTime
DateTime
The date/time at which the economic event occurred.
note
String
A textual description or comment.
agreedIn
URI
A reference to an agreement governing this event.
triggeredBy
EconomicEvent
References another economic event that implied this one.
satisfies
[Intent!]
The intents this economic event satisfies.
fulfills
[Commitment!]
The commitments this economic event fulfills.
corrects
EconomicEvent
The economic event that this event corrects.
deletable
Boolean
Indicates if the event can be safely deleted.
triggers
[EconomicEvent!]
Other economic events which have been triggered by this one.
previous
[ProductionFlowItem!]
The previous item(s) in a production flow.
next
[ProductionFlowItem!]
The next item(s) in a production flow.
track
[TrackTraceItem!]
The item(s) to track from this event.
trace
[TrackTraceItem!]
The item(s) to trace from this event.
Queries
economicEvent(id: ID!)
economicEvent(id: ID!)
Retrieves a single EconomicEvent
by its id
.
economicEvents(first: Int, after: String, last: Int, before: String)
economicEvents(first: Int, after: String, last: Int, before: String)
Retrieves a paginated list of all EconomicEvent
s.
Mutations
createEconomicEvent(event: EconomicEventCreateParams!)
createEconomicEvent(event: EconomicEventCreateParams!)
Registers a new EconomicEvent
.
updateEconomicEvent(event: EconomicEventUpdateParams!)
updateEconomicEvent(event: EconomicEventUpdateParams!)
Updates an existing EconomicEvent
.
deleteEconomicEvent(revisionId: ID!)
deleteEconomicEvent(revisionId: ID!)
Deletes an EconomicEvent
.
Related Types
Input: EconomicEventCreateParams
EconomicEventCreateParams
provider
ID!
The ID of the provider Agent
.
receiver
ID!
The ID of the receiver Agent
.
action
ID!
The ID of the Action
for the event.
resourceInventoriedAs
ID
The ID of the EconomicResource
involved in the event.
resourceClassifiedAs
[URI!]
References to a taxonomy for categorization.
resourceQuantity
IMeasure
The amount and unit of the economic resource.
effortQuantity
IMeasure
The amount and unit of the work or use action.
hasBeginning
DateTime
The beginning of the economic event.
hasEnd
DateTime
The end of the economic event.
hasPointInTime
DateTime
The date/time at which the economic event occurred.
note
String
A textual description or comment.
agreedIn
URI
A reference to an agreement governing this event.
triggeredBy
ID
The ID of the EconomicEvent
that triggered this event.
toResourceInventoriedAs
ID
The ID of the EconomicResource
on the receiving side of a transfer or move.
satisfies
[ID!]
The intents this economic event satisfies.
fulfills
[ID!]
The commitments this economic event fulfills.
Input: EconomicEventUpdateParams
EconomicEventUpdateParams
revisionId
ID!
The revision ID of the event to update.
note
String
A textual description or comment.
agreedIn
URI
A reference to an agreement governing this event.
triggeredBy
ID
The ID of the EconomicEvent
that triggered this event.
Response: EconomicEventResponse
EconomicEventResponse
economicEvent
EconomicEvent!
The event record that was created or updated.
economicResource
EconomicResource
Any new resource created by the event.
Connection: EconomicEventConnection
EconomicEventConnection
edges
[EconomicEventEdge!]!
A list of economic event edges.
pageInfo
PageInfo!
Information to aid in pagination.
Edge: EconomicEventEdge
EconomicEventEdge
node
EconomicEvent!
The economic event record.
cursor
String!
A cursor for use in pagination.
Union: ProductionFlowItem
ProductionFlowItem
Represents an item in a production flow.
union ProductionFlowItem = EconomicResource
Union: TrackTraceItem
TrackTraceItem
Represents an item that can be tracked or traced.
union TrackTraceItem = EconomicResource | EconomicEvent
Last updated