Option to Exclude Decimal Zeros for Order/Invoice Header and Order/Invoice Grid DIW In the Order and Invoice Prints
Reference No: 29286
Details
Support is provided for the below mentioned new property value in the 39th column of the CID108 within Order and Invoice UI Forms to suppress the zero decimal in the Order Print and Invoice Print.
When the property SUPPRESSDECIMALZERO=TRUE is set - The decimal zeros are excluded in the respective print generated. (See Figure 1.0 and Figure 1.1)
When the property SUPPRESSDECIMALZERO=FALSE is set - The decimal zeros are included in the respective print generated.
This property is applicable for the Component Type [20] and the Data Type [6].

Figure 1.0 CID108 with the property SUPPRESSDECIMALZERO=TRUE within Order UI Form

Figure 1.1 CID108 with the property SUPPRESSDECIMALZERO=TRUE within Invoice UI Form
The details are explained in the sample workflow given below:
Prerequisites
Place the UI forms 153500UI and 159500UI in the Screens folder and perform the Form Setup using 153500UI for the Order Type as Order and perform the Form Setup using 159500UI for the Invoice Type as Invoice.
Sample Workflow
Select the Account module and tag a Company [JBM].
Create a Rental Reservation Order [ORD-1011] for 1 day duration.
Add the Items [JBLSUB] and [JBLSPKR] with Qty as 1 and Unit Price [100.00] to the Rental Reservation Order [ORD-1011]
Enter the DIW in the grid for the Item [JBLSUB] as [5.00] and Item [JBLSPKR] as [5.50].
Modify the header DIW. Select the Dates tab > Edit Dates button. The Order Dates window is displayed.
Enter the DIW [5.00] > click OK, as shown in Figure 2.0.

Figure2.0 Modified header DIW and Item DIW grid in the Rental Reservation Order [ORD-1011]
Click the Print icon. The Form Type Options window is displayed.
Select the Form drop-down as Order Print, the Preview In as Word / Word Viewer / Acrobat Reader and click the Print icon. The Order [ORD-1011] Print [ORD-1011.1.rtf] is generated. Verify the DIW value in the header and Item grid. The decimal zeros are ignored, as shown in Figure 2.1.

Figure2.1 Order Print [ORD-1011.1.rtf]
Click the Done icon to Invoice the Rental Reservation Order [ORD-1011]. The Invoice [INV-133] is generated.
Click the Print icon. The Form Type Options window is displayed.
Select the Form drop-down as Invoice Print, the Preview In as Word / Word Viewer / Acrobat Reader and click the Print icon. The Invoice [INV-133] Print [INV-133.rtf] is generated. Verify the DIW values in the header and item grid. The decimal zeros in the are ignored, as shown in Figure 2.2.

Figure2.2 Invoice Print [INV-133.rtf]