<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://45.127.191.6/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.3"
          urlbase="http://45.127.191.6/bugzilla/"
          
          maintainer="checkmark.bugzilla@checkmark.in"
>

    <bug>
          <bug_id>20960</bug_id>
          
          <creation_ts>2026-08-12 18:51:53 +0530</creation_ts>
          <short_desc>[Report-Item Report] – Code Field Alignment and Display Inconsistency</short_desc>
          <delta_ts>2026-09-16 17:05:11 +0530</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>ML_DB 64-bit Mac</product>
          <component>Item Reports</component>
          <version>2026-14.0.25 + 26.0.4 Ver 04 (Intel &amp; Silicon)</version>
          <rep_platform>MAC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>Medium</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nandhini">bnandhini</reporter>
          <assigned_to name="Nandhini">bnandhini</assigned_to>
          <cc>dharisha</cc>
    
    <cc>ksagarika</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79673</commentid>
    <comment_count>0</comment_count>
    <who name="Nandhini">bnandhini</who>
    <bug_when>2026-08-12 18:51:53 +0530</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80570</commentid>
    <comment_count>1</comment_count>
    <who name="Bhavani">btadepalli</who>
    <bug_when>2026-08-27 18:13:31 +0530</bug_when>
    <thetext>Code field will be shown separately for Sales Summary and Purchase Summary report if &quot;Show code field on report&quot; 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 &quot;Show code field on report&quot; is not selected then code column is showing with blank. that we have stopped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80798</commentid>
    <comment_count>2</comment_count>
    <who name="Nandhini">bnandhini</who>
    <bug_when>2026-08-31 16:53:40 +0530</bug_when>
    <thetext>#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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81124</commentid>
    <comment_count>3</comment_count>
    <who name="Bhavani">btadepalli</who>
    <bug_when>2026-09-02 23:09:41 +0530</bug_when>
    <thetext>Fixed, Available in next build</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82533</commentid>
    <comment_count>4</comment_count>
    <who name="Nandhini">bnandhini</who>
    <bug_when>2026-09-16 17:05:11 +0530</bug_when>
    <thetext>#2. Working as expected
. https://prnt.sc/o7reptpD53Nx

#3. Working as expected
https://prnt.sc/rsw6l0I89tkQ</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>