You should be able to retrieve codes the same as retrieving them for the engine. There is a TSB for your vehicle and I will include it below.
Date:March 10, 2004
NISSAN; ABNORMAL SHIFTING OF AUTO TRANSAXLE (RE4F04B/W)
APPLIED VEHICLES: 2002-2004 Altima (L31)2000-2003 Maxima (A33)2004 Maxima (A34) with 4-speed A/T ONLY1999-2002 Quest (V41)2004 Quest (V42) with 4-speed A/T ONLY2000-2004 Sentra (B15)
IF YOU CONFIRM:
An Applied Vehicle equipped with an automatic transaxle has ALL of the following conditions:
*See A/T Fluid Cooler Inspection Procedure in the appropriate ESM.
When ESM diagnosis shows an incident is caused by an A/T internal fault for an Applied Vehicle;