Publish negotiation results
This transaction publishes the negotiated terms to the order.
Use this transaction in environments where an order must go through a negotiation phase.
This transaction needs to be run after negotiation is completed.
Attributes
The following are the attributes for this time-triggered transaction:
| Attribute | Value |
|---|---|
| Base Transaction ID | PUBLISH_ORD_NEGOTIATION |
| Base Document Type | Order |
| Base Process Type | Order Negotiation |
| Abstract Transaction | No |
| APIs Called | None |
Criteria parameters
The following are the criteria parameters for this transaction:
| Parameter | Description |
|---|---|
| Action | Required. Triggers the transaction. If left blank, it defaults to Get, the only valid value. |
| Number of Records To Buffer | Optional. Number of records to retrieve and process at one time. If left blank or specified as 0 (zero), it defaults to 5000. |
| Next Task Queue Interval | Optional. Specifies in hours how long a failed task should be suspended before it is considered for reprocessing. Defaults to 5 hours. |
| ColonyID | Required in a sharded deployment where a table may exist in multiple schemas. Runs the agent for the colony. |
| Task Queue Filter Criteria | Optional. Determines the jobs to be fetched by the agent. The value assigned to this
parameter is matched against the custom value stored in the FILTER_CRITERIA column
of YFS_TASK_Q table, while fetching the jobs. Note:
VOID is a
valid task queue filter criteria value which is used to match records with NULL value in the
FILTER_CRITERIA column of YFS_TASK_Q table.For more information, see Workload segregation for task queue agents. |
Statistics tracked
The following statistics are tracked for this transaction:
| Statistic Name | Description |
|---|---|
| NumNegotiationsProcessed | Number of negotiations processed. |
| NumNegotiationsPublished | Number of negotiations published. |
Pending job count
For this transaction the pending job count is the number of records available to be processed by the transaction with the AVAILABLE_DATE value less than or equal to (<=) the current date value in the YFS_Task_Q table.
Events raised
The following events are raised by this time-triggered transaction:
| Base Transaction | Raised when... | Key Data | Data Published | Template Support? |
|---|---|---|---|---|
PUBLISH_ORD
_NEGOTIATION/ ON_SUCCESS |
On success
|
Negotiation_dbd
.txt |
YCP_get
Negotiation Details_output. xml |
Yes * |
RECEIVE_ORD
_NEGOTIATION/ ON_SUCCESS |
On success, when
DocumentType is 0001, EntityType is ORDER. |
Number of
concurrent time- triggered transactions running. |
receiveOrder
Negotiation_dbd. txt |
No |
* Note: Template used for this event is the same template used by the getNegotiationDetails() API to form the output XML. |
||||