I fixed that by updating my code to use the "Alt Tracking" column. But, I'm having trouble figuring out the code that is being generated. The button is not performing any action.
When using FireBug, the code that is showing for the button is showing as follows:
Code: |
<input type="submit" href="http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=en_US&InquiryNumber1=1Z254R110362456990" _blank"="" onclick="location.href='http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=en_US&InquiryNumber1=<a target=" value="UPS">
1Z254R110362456990'" />
|
Column Settings:
ID: Alt Tracking
Alias: [empty]
Format:
Code: |
<input type="submit" value="UPS" onClick="location.href='http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=en_US&InquiryNumber1={$columns:Alt Tracking}'" />
|
Query:
Code: |
SELECT itemcode as 'Item Number', itemdescription as 'Item Name', Quantity as 'Qty Ordered', Price as 'Unit Price', CONCAT( '<a target="_blank" href="http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=', `TrackingNumber`,'">', `TrackingNumber` , '</a>' ) AS 'FedEx Tracking', CONCAT( '<a target="_blank" href="http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=en_US&InquiryNumber1=', `TrackingNumber`,'">', `TrackingNumber` , '</a>' ) AS 'Alt Tracking'
FROM `thisnameisbeinghidden`
WHERE docnum = {$REQUEST:currentPo}
AND UserID = {$UserLogin}
|