Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-4807

Food Donations - Design tables to store and convert Food Donation Items

    Details

    • Sprint:
      CFAMX 2019R4 Sprint 1, CFAMX 2019R4 Sprint 2
    • SCRUM Team:
      Brotherhood of Mutants
    • SOW (Time Tracking) Project:
      44918
    • Work Type Classification:
      Sustaining

      Description

      As a Product Owner I want the developer to design the new table(s) so that Food Donation items can be configured

      Notes

      • Food donations are Waste Adjustments, with a specific Reason Code
      • Food donations can Finished or Raw items that are wasted
      • Food donations can be wasted as either Quantity, Pounds and Gallons
      • It should be possible to store a conversion ratio as a part of the Food Donation Item so that an item can be, for example:
        • Recorded in pounds, but wasted in Inventory Units
        • e.g. 5 lbs of Filets = 15 Each
      • Food Donations will be exported in units in which they are recorded (*New Export)
        • Items will be exported with one of the following units:
          • Each
          • Pounds
          • Gallons
      • The Inventory Adjustment export will be triggered as a part of the Waste transaction
      • Food Donations are really a header record, mapped to regular waste transactions on the back end
      Item ItemId Type RecordedAs WastedAs ExportAs RecordToWaste RecordToExport SortOrder Zone
      Spicy Chicken Filet 80009 Raw Pounds Each Pounds 4.00 1.00 10 USA
      Chicken, Filet Spicy PC 3581 Finished Pounds Pound Pounds 1.00 1.00 20 USA

      Note: the conversion ratios and Food Donation items will be provided by the PS team

      Acceptance Criteria

      1. Confirm when the table is implemented Raw and Finished Items can both be configured
      2. Confirm that item sort order can be specified
      3. Confirm that the units in which food donations can be recorded can be configured
      4. Confirm that the units in which food donation adjustments are performed in InFORM can be configured

      A representative list of items that are donated as a part of the Shared Table program can be found here:
      https://docs.google.com/spreadsheets/d/1CzmduKQ6uuQVU5hWLuE9e7JQ6jYOZOxqmVUBhyKHOok/edit?usp=sharing

      1. Confirm when configuring an item it is possible to specify the conversion ratio between recorded units and wasted units
      2. Confirm that the units in which the item is to be exported can be configured
      3. Confirm when configuring an item it is possible to specify the conversion ratio between recorded units and exported units
      4. Confirm that a script is provided to support and PS to allow the insertion of new records
        • For now we will do it through the db, if time permits in R4, we may revisit and build a simple UI

        Attachments

        1. FoodDonations_InsertScript_V1.sql
          3 kB
          Kevin Reid
        2. screenshot-1.png
          19 kB
          Will Englefield
        3. screenshot-2.png
          40 kB
          Will Englefield

          Issue Links

            Activity

              People

              • Assignee:
                will.englefield Will Englefield (Inactive)
                Reporter:
                will.englefield Will Englefield (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 17h 40m
                  17h 40m
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 17h 25m Time Not Required
                  17h 25m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.