Thanks Glenn! That worked great!
For anyone else that sells to WalMart, here's my completed code:
--- Begin code ---
use m2mdata01
select 'Your Number Here' as 'Supplier Account Number',
somast.fcustpono as 'WalMart PO Number', ' ' as 'Wal-Mart Store
Number',
somast.fsono as 'Supplier Sales/Work Order Number', somast.fduedate as
'Estimated Ship Date', shmast.fshipdate as 'Actual Ship Date',
(shmast.fshipdate + 5) as 'Estimated Date of Arrival', (syaddr.fcfname
+ ' ' + syaddr.fclname) as 'Ship to Name', syaddr.fmstreet as 'Ship to
Street Address', syaddr.fccity as 'Ship to City',
syaddr.fcstate as 'Ship to State', ' ' as 'Carrier SCAC (Standard
Carrier Alpha Code) Number', ' ' as 'Pro Number or Load Number',
shmast.fbl_lading as 'Bill of Lading Number', ' ' as 'Pallet ID
Number', 'PALLET' as 'Container Type', ' ' as 'Container Number',
'1' as 'Quantity in Container', soitem.fcustpart as 'Wal-Mart Item
Part Number', soitem.fpartno as 'Supplier Item Part Number',
inmast.fdescript as 'Supplier Item Part Number Description', 'NULL' as
'Wal-Mart Component Part Number',
'NULL' as 'Supplier Component Part Number', 'NULL' as 'Supplier
Component Description',
soitem.fquantity as 'Supplier Quantity Ordered', shitem.fshipqty as
'Supplier Quantity Shipped', ' ' as 'Status', ' ' as 'Ship Condition',
' ' as 'Part Type', somast.fstatus from somast
join soitem on soitem.fsono = somast.fsono
join sorels on sorels.fsono = somast.fsono
join shmast on shmast.fcsono = somast.fsono
join inmast on inmast.fpartno = soitem.fpartno and inmast.frev =
soitem.fpartrev and InMast.fac = SoItem.fac
join syaddr on fcAlias = 'SLCDPM' and SyAddr.fcAliasKey =
SoMast.fCustNo and SyAddr.fcAddrType = 'S' and syaddr.fcaddrkey =
sorels.fshptoaddr
join shitem on shitem.fshipno = shmast.fshipno
where somast.fcustno='xxxxxx'and somast.fstatus='OPEN'
order by somast.fsono desc
--- End code ---