Jul 10, 2012; 15:00
Stephen Christiansen
LP 8.6 JSON documentation or TotW 7337
Looking for LP 8.6 JSON documentation. What is on the site is pretty sparse.. I also see a reference to TotW 7337 which I can't locate on the site.
Any help would be appreciated.
Steve
**************************************
Steve Christiansen
Technical Support
K12 Services, Inc.
11 N. Washington Street Suite 510
Rockville, MD 20850
=93Our Goal is to Remove Non-Value Added Costs from K12 Procurement=94
**************************************
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Re: LP 8.6 JSON documentation or TotW 7337
I believe you're looking for this:
http://lasso.2283332.n4.nabble.com/decoding-JSON-in-Lasso-tp4635042p4635046.html
--
View this message in context: http://lasso.2283332.n4.nabble.com/LP-8-6-JSON-documentation-or-TotW-7337-tp4635221p4635223.html
Sent from the Lasso - Talk mailing list archive at Nabble.com.
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 11, 2012; 15:00
Stephen Christiansen
Re: LP 8.6 JSON documentation or TotW 7337
Thanks for the reference on decoding JSON. I'm not that experienced with maps and arrays and I'd like some help dealing with the resultant complex dataset. If I iterate through the decoded JSON string I get the following keys and values . The "commodities" key (second) is an array of maps, and further down the "dependency" key is a map. I'd like to iterate through everything setting vars and values, including for each commodity and dependency map.. Any help would be appreciated.
dist_unit LBS
commodities array: (map: (discount) (-10.92), (buffer) (0), (post_tran_dol) (-10.92), (req_lbs) (-10.709999999999999), (com_per_lb_ptv) (0.91), (commodity) (100124W), (yield) (0.8925), (replaces) (), (pre_bal_lbs) (0.0), (results) (F), (commodity_code) (100124), (req_dol) (-10.92), (lbs_needed_per_case) (10.71), (pre_bal_dol) (0.0), (priority) (0), (com_per_case_ptv) (0.0), (post_tran_lbs) (-10.709999999999999)), (map: (discount) (-6.48), (buffer) (0), (post_tran_dol) (99993..52), (req_lbs) (-6.48), (com_per_lb_ptv) (0.54), (commodity) (JTS), (yield) (0.54), (replaces) (), (pre_bal_lbs) (100000.0), (results) (P), (commodity_code) (JTS), (req_dol) (-6.48), (lbs_needed_per_case) (6.48), (pre_bal_dol) (100000.0), (priority) (0), (com_per_case_ptv) (0.0), (post_tran_lbs) (99993.52))
db JTS_210_2012
account_type NOI
inv_date_test 0
ra_test 0
unit W
Dist_Tran_dup_test 0
qty_test 0
results P
product_epds_test 0
credit_test 0
test_total 0
Manuf_Tran_dup_test 0
dist_test 0
credit_exempt 0
MDY_tran_dup_test 0
dependency map: (Status) (F), (valid) (1), (type) (Dependent), (dep_results) (1), (credit_process) (0), (dep_found_count) (2)
history_log_extra_id 1685
credit_process 0
so_id
sy_test 0
product_test 0
allocation_test 0
inserting_into JTS_Tran
tran_id 1
**************************************
Steve Christiansen
Technical Support
K12 Services, Inc.
11 N. Washington Street Suite 510
Rockville, MD 20850
=93Our Goal is to Remove Non-Value Added Costs from K12 Procurement=94
**************************************
On Jul 10, 2012, at 4:42 PM, kimv wrote:
> I believe you're looking for this:
>
> http://lasso.2283332.n4.nabble.com/decoding-JSON-in-Lasso-tp4635042p4635046.html
>
> --
> View this message in context: http://lasso.2283332.n4.nabble.com/LP-8-6-JSON-documentation-or-TotW-7337-tp4635221p4635223.html
> Sent from the Lasso - Talk mailing list archive at Nabble.com.
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list Lasso
> Lasso@lists.lassosoft.com
> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
> Send administrative queries to <Lasso-request@lists.lassosoft.com>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>