echoUpdateDemandRecord
Correct the ordered quantity of a demand record, for cleaning up data.
Business Rules
- Send either
quantityOrderedorquantityOrderedAmount. quantityOrderedAmountis in the record's unit of measure, or inunitwhen given, which is converted to that unit. Decimals are allowed only for products stored in a finer unit, up to that unit's decimal places.
Error Scenarios
- **
BAD_REQUEST**: when the quantity has more decimal places than its unit allows, orunitcannot be converted. - **
BAD_REQUEST**: when the record does not exist, belongs to another company, or is automatic.
Permissions Required
echo:update_demand_record
echoUpdateDemandRecord(
input: UpdateDemandRecordInput!
): DemandRecord!
Arguments
echoUpdateDemandRecord.input ● UpdateDemandRecordInput! non-null input common
Parameters for UpdateDemandRecord
Type
DemandRecord object common
A day's ordered demand for a SKU, by sales channel.