The invention discloses a store
fresh food commodity ordering
algorithm, and belongs to the field of ordering algorithms, and the
algorithm comprises the following steps: S1, obtaining historical sales data,
raw material sales data, commodity
information data and
inventory data including in-transit inventory of
fresh food commodities sold in each store; s2, generating an intermediate result table required by the
algorithm; s3, date information, holiday and festival arrangement and promotion activity information related to sales are acquired; s4, integrating the obtained data; s5, generating a classification sales volume intermediate result table taking the store ID + the classification ID + the date as a unit; s6, if the store commodity participates in the
sales promotion activity, adjusting the sales quantity according to the discount to offset the interference of the
sales promotion on the sales volume so as to restore the real demand level; and S7, extracting a daily classification sales volume sequence in a past period of time. The beneficial effects are that accurate prediction and optimization of the store
fresh food commodity ordering quantity are realized,
stockout and unsalable risks are significantly reduced, and the inventory turnover rate and the store operation efficiency are improved.