Bug 20960

Summary: [Report-Item Report] – Code Field Alignment and Display Inconsistency
Product: ML_DB 64-bit Mac Reporter: Nandhini <bnandhini>
Component: Item ReportsAssignee: Nandhini <bnandhini>
Status: CLOSED --- QA Contact:
Severity: Medium    
Priority: Medium CC: dharisha, ksagarika
Version: 2026-14.0.25 + 26.0.4 Ver 04 (Intel & Silicon)   
Target Milestone: ---   
Hardware: MAC   
OS: All   

Description Nandhini 2026-08-12 18:51:53 IST
Complete the required setup and assign COAs, customers/vendors, and items with item codes.
Create and save multiple purchases and invoices.
In View Preferences, enable Show Code Field on Report.
Open the Item Report.
Check the Available Options in all report formats.

Issue 1 – Code Field Alignment
The Code field is not consistently aligned across the Available Options.

Issue 2 – Code Field Display
In some report formats, the Code is displayed in a separate column.
In other formats, the Code is displayed together with the Item Name.

Expected result:
The Code field should have consistent alignment and should be displayed in the same format across all Available Options.

screenshot:
https://drive.google.com/file/d/1srA987Eq5KBvs5UETzhd70OKe4fEQCoR/view?usp=sharing
screenshot:
https://drive.google.com/file/d/1NH_xNlvv3plIpDdTwxnt0aAZotiGW-N-/view?usp=sharing
Screen rec:
https://drive.google.com/file/d/1wsyERb1_KTcyVz2xmIuP-lG5GHqJ5gxW/view?usp=sharing
Comment 1 Bhavani 2026-08-27 18:13:31 IST
Code field will be shown separately for Sales Summary and Purchase Summary report if "Show code field on report" is opted. For Sales/Purchase Detail report Item code will be showing together as more number of columns we have to show. there will be no space to show column as separate field. 

only in csv we have resolved. If "Show code field on report" is not selected then code column is showing with blank. that we have stopped.
Comment 2 Nandhini 2026-08-31 16:53:40 IST
#1. Without selecting the Show Code Field on Report option, all the mentioned options work as expected, based on the comments.

#2. When the “Show Code Field on Report” option is selected, the following issues are observed in the generated reports. 
a)Code Missing in Text File
Report Type: Sales summary and purchase summary
File Format: Text File.
Screenshot:
https://drive.google.com/file/d/1Lz7XZRuaWWhpvsiHfwndbnLREebhOTQQ/view?usp=sharing

b)In the Code column, the date range is displayed incorrectly. The details in the other columns should be aligned consistently with the corresponding previous columns.
Report Type: sales detail, purchase detail.
File format: CSV File.
screenshot:
https://drive.google.com/file/d/1NWg_FzDKkTAh5jcO1rfy_AawKB0MH3Zg/view?usp=sharing
NOTE: As per the comments, for the Sales/Purchase Detail report, the item code will be shown together, so the code column does not need to be displayed in the CSV.
Comment 3 Bhavani 2026-09-02 23:09:41 IST
Fixed, Available in next build
Comment 4 Nandhini 2026-09-16 17:05:11 IST
#2. Working as expected
. https://prnt.sc/o7reptpD53Nx

#3. Working as expected
https://prnt.sc/rsw6l0I89tkQ