MGCEarmarkBuildPriceWireRequest
The JSON request of the Conduit operation buildPrice.
Methods
construct
Creates an empty request.
- Visibility:
public - Returns:
MGCEarmarkBuildPriceWireRequestThe request.
No parameters.
toRequest
Builds the orchestrator's request for a line the service has already resolved.
- Visibility:
public - Returns:
MGCEarmarkPriceBuildRequestThe orchestrator's request.
| Name | Type | Optional | Description |
|---|---|---|---|
_lineTableId | RefTableId | No | The table id of the resolved line. |
_lineRecId | RefRecId | No | The RecId of the resolved line. |
parmCompany
Gets or sets the legal entity the line belongs to; blank means the session company.
- Visibility:
public - Returns:
strThe legal entity id.
| Name | Type | Optional | Description |
|---|---|---|---|
_company | str | Yes | The legal entity id; optional. |
parmLineTable
Gets or sets the line table: SalesLine or PurchLine.
- Visibility:
public - Returns:
strThe table name.
| Name | Type | Optional | Description |
|---|---|---|---|
_lineTable | str | Yes | The table name; optional. |
parmInventTransId
Gets or sets the line's lot id, its natural key.
- Visibility:
public - Returns:
strThe lot id.
| Name | Type | Optional | Description |
|---|---|---|---|
_inventTransId | str | Yes | The lot id; optional. |
parmBasePriceSupplied
Gets or sets whether BasePrice is supplied; false keeps the line's own basis.
- Visibility:
public - Returns:
booleantrue when a base price is supplied.
| Name | Type | Optional | Description |
|---|---|---|---|
_basePriceSupplied | boolean | Yes | true when a base price is supplied; optional. |
parmBasePrice
Gets or sets the base price per price unit, in the line's currency.
- Visibility:
public - Returns:
realThe base price.
| Name | Type | Optional | Description |
|---|---|---|---|
_basePrice | real | Yes | The base price; optional. |
parmOverBasisSupplied
Gets or sets whether OverBasis is supplied; false builds with an over-basis of zero.
- Visibility:
public - Returns:
booleantrue when an over-basis is supplied.
| Name | Type | Optional | Description |
|---|---|---|---|
_overBasisSupplied | boolean | Yes | true when an over-basis is supplied; optional. |
parmOverBasis
Gets or sets the over-basis per price unit, in the line's currency.
- Visibility:
public - Returns:
realThe over-basis.
| Name | Type | Optional | Description |
|---|---|---|---|
_overBasis | real | Yes | The over-basis; optional. |
parmAcceptAllEligible
Gets or sets whether every eligible targeting deal is included.
- Visibility:
public - Returns:
booleantrue when every eligible deal is included.
| Name | Type | Optional | Description |
|---|---|---|---|
_acceptAllEligible | boolean | Yes | true to include every eligible deal; optional. |
parmIdempotencyKey
Gets or sets the caller's idempotency key; required on this operation.
- Visibility:
public - Returns:
strThe key.
| Name | Type | Optional | Description |
|---|---|---|---|
_idempotencyKey | str | Yes | The key; optional. |