Basic Assignments
 
Options & Settings
 
Main Time Information
Color Code: Pink
Assigned To: Dustin Siegel
Created By: Cory Warden
Created Date/Time: 4/7/2020 2:53 pm
 
Action Status: Completed
Show On The Web: Yes - (public)
Priority: 0
Finished/Done: Yes - 2/17/2021 2:23 pm
Finished/Done By: Cory Warden
Budgeted/Estimated Value: 3,300.00  
Actual/Real Value: 0.00   [donate]
Invoice/Quote Status: Blank (n/a)
General Amount: $0.00
 
Time Id: 1732
Template/Type: Community Funded Projects
Title/Caption: NV delivery api in metrc
Start Date: 4/7/2020
End Date: Unknown... (open or blank)
Total Time: Unknown... (open or blank)
Target/Due Date: 4/7/2020
Main Status: Active

Sorry, no photos available for this element of time.


Uploaded Media/Content & Other Files (1)
Media Name   File Type Date Description
NV exclusive metrc api for delivery.xlsx   Doc/Spreadsheet 4/8/2020


Notes:

Alan wound up taking this on and it is completed now! 2/17/21

see api bulletin 64.


Additional Comments/Notes - Subs (2)
Title/Caption Date Time Done By Comment/Note
Overall Notes 4/10/2020 3:19 pm Dustin Siegel

If Metrc is turned on. If NV is the state. If the queue is Delivery. (Hard code or settings?)

1. Need to redo the settings page to assign the delivery type id to give the option to assign the sale as delivery and also to modernize the existing page.

    Table name: sub_queues

    setting page: settings_mmj_home.cfm.

    Columns: sub_queue_id, sub_queue_name, sub_queue_status (needs to be 1), show_on_web

    Ask them to assign the sub_queue_id:

    Add a link to secure/add_edit_sub_queue.cfm and give them the opportunity to add in a sub_queue_id if they don't already have one for delivery.

    Link:  https://www.adilasdata3.biz/top_secret/secure/add_edit_sub_queue.cfm?mode=add&id=new

    also ask them if it should be shown on the web (0 means no, 1 means yes in the table)

    Message if they have not selected to show on web: tell them that if they are using on e-commerce it is possible to assign a delivery option, and give a button to set it     show on web

    On the action page:

        1: update the settings by flipping the sub_qeue_id and show_on_web. 

2. Follow the delivery through the process and replace the API call for sales with the new one for delivery in the specified instances.

        1: research on if the sub_queue_id exists in the cart or is it in session. If not in session, we need to find a way to put it in session safely when they start a cart from the queue.

        Relevant pages for API update:

        submit_cart.cfm: use the argument on line 2418 to pass the sub queue id for delivery type to the method.

        maintainance_13:  use the "processMetrcInvoice" method on line 1228 to see if the sub_queue_id matches the delivery type id if so, redirect to a new API call for deliveries.

!Ask Steve if the return will be handled the same way as the other cart options or needs its own table.


3. Allow for returns. (future dev work.)



Orders come in:

E-commerce?

Phone?

Email?


Core Functionality:

Queue - type = delivery 

/secure/customer_queue.cfm

start cart

checkout


E-commerce:

Start Project 4/10/2020 9:32 am Dustin Siegel

I began reviewing the project parameters with Steve B. At 9:30 am Frida 4.10.20