not sure how/where you did this but out of box there are
many htmpl files that reference $args.customer. For example,
detail_pr.htmpl has this kind of statements there:
var old_end_user = "$args.customer";
alert_banner("$args.customer");
<input type="hidden" name="SET.customer" value="$args.customer">
<input type="hidden" name="customer_combo_name" value="$args.customer.combo_name">
<PDM_MACRO name=button caption="Re Auto Assign" func="re_auto_assign('$args.assignee','$args.group','$args.customer','$a
rgs.category','$args.auto_assign','$args.persistent_id','$args.affected_resource','$args.category.auto_assign')" hotkey_
name="Re Auto Assign" id=btn010>
<PDM_MACRO name=button caption="Quick Profile[Q]" func="profile_browser('$args.customer.persistent_id',void(0),void(0),'
$args.persistent_id')" hotkey_name="Quick Profile[Q]" id=PROFILE_BROWSER>
<input type="hidden" name="user_contract" value="$args.customer.organization.owning_contract">
<input type="hidden" name="org_id" value="$args.customer.organization.id">
//////
I added these two lines to the loadActions():
myvar = "$args.customer.location";
alert(myvar);
and I did see the customer location uuid displayed.