This repository has been archived by the owner on Nov 29, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Workday Integration #430
Comments
Shifts' default xml output can be seen with this code snippet in PayformSet.last.payforms.to_xml To save it to a file, try this: outputfile = File.new("/tmp/payformset.xml", 'w')
outputfile << PayformSet.last.payforms.to_xml
outputfile.close
open /tmp/payformset.xml ( |
ooh ooh by the way this is a super exciting issue!! This is a major prerequisite for us to start marketing this for other student employment groups to use :D |
Idk if this is helpful maybe: |
ooooh could we just do something like |
The PTAEO code is set for each category, and each PayformSet needs to generate one XML |
Workday integration merged into Shifts3 master. Will need to figure what to do with the rails2 branch |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently we send a
.csv
file of payform data to someone who manually inputs payment information into a database for us. We'll need to export this data into this into an.xml
format that Workday can use.Previously this was the workflow:
.csv
file.xls
This is our new workflow:
.xml
file. (We can totally do a generic xml output from Shifts - just like.to_csv
but instead.to_xml
. Easy!).xml
format Workday requires (the hard part).xml
file to a webpage on Workday (ideally Shifts sends a message to Workday directly like .json or something? but that requires work ITS didn't pay for)We have an example
.xml
file that workday can accept as input.This becomes tricky though when we want Shifts to stay generic. We should NOT hard-code in something so Yale-specific like this into the master branch of Shifts. We're hoping to export Shifts eventually, and anything Yale-specific should be abstracted out eventually. I also don't want us to over-engineer a solution either though, this might be tricky.
Brainstorming options:
The text was updated successfully, but these errors were encountered: