Basic Assignments
 
Options & Settings
 
Main Time Information
Color Code: Blue
Assigned To: Bryan Dayton
Created By: Bryan Dayton
Created Date/Time: 9/12/2016 10:27 am
 
Action Status: Completed
Show On The Web: Yes - (public)
Priority: 0
 
Time Id: 1808
Template/Type: Brandon Time
Title/Caption: GDA: random invoice numbers
Start Date/Time: 9/12/2016 4:00 pm
End Date/Time: 9/12/2016 5:45 pm
Main Status: Active

Sorry, no photos available for this element of time.


Notes:
On a GoToMeeting session with Bryan. We started to work with the external alternate id number fields for invoices. As a note, this field (external alternate id) has been added to all of the main 12 players. However, it has not really been put into play in the main system. It has been prepped but not really used at this point.

We added some new black box code to the submit cart page (a new top mini black box), coded the new external alternate id number field and started coding it to randomize an invoice number. After working on it for about 1.5 hours, Bryan proposed an option to flip things 180 degrees and randomize the real numbers and record the one-by-one incrementing number as the alternate.

We stopped working and I told Bryan that I would ask Steve before we went any further. The important part would be to make sure we had a sequential number that could be tracked in the case of a audit. If we did this, it would also require some custom code on the actual method or function. Most times the custom code is outside of the main method or function and then we call it and pass things as needed. I wanted to check to see if we wanted to add any special code inside the method. That is kinda new.

As a follow up, I talked with Steve later that night and we talked about some other possible options. They were:

- Maybe think about some new corp-wide settings for auto numbering or randomizing the numbering. This would be fore the different types such as invoices, quotes, and PO's. We may also need settings to know what the random range would be. For example: between 1-10 or 1-25, etc.

- Maybe add a whole new CFC or method or functions to help with the code. The new methods would work or flow in a different manner. That way we wouldn't have to have custom code inside of the CFC's. Keep those pure.

- Be able to switch back and forth between auto numbering and randomizing. Make it a real setting in the system.