Basic Assignments
 
Options & Settings
 
Main Time Information
Color Code: Blue
Assigned To: Bryan Dayton
Created By: Bryan Dayton
Created Date/Time: 5/31/2016 9:43 am
 
Action Status: Completed
Show On The Web: Yes - (public)
Priority: 0
 
Time Id: 1375
Template/Type: Brandon Time
Title/Caption: API
Start Date/Time: 5/31/2016 10:45 am
End Date/Time: 5/31/2016 12:30 pm
Main Status: Active

Sorry, no photos available for this element of time.


Notes:
Working with Bryan on some errors on the quick part quantity search (API socket). We found that some of the logic pieces had not been wrapped with proper error handling. If everything was good to go, there was not errors. However, if there was an error higher up in the code, the bottom part failed due to the lack of additional checks in the logic.

We also looked at other pieces of code and did some light sign-off. As part of the research, Bryan had an idea on returning an error as soon as possible, similar to how a normal function works (return something vs a simple abort).

Currently, we only have one exit or door on the adilas API socket calls. This exit or door is at the very end of the API socket call. Ideally, we could create a function that would finish things up and push things out the door at any time. That way, we could call it right when an error occurs. The code would then gather up and convert what it can (back into JSON or XML) and then send it out the door to the caller. That might make things a little bit cleaner and more straight forward. Anyways, just an idea.