Support for Printing the Misc Charges by Commission Group in the Master Bill Invoice Print
Reference No: 29759
Support has been provided to Print the Misc Charges by the tagged Commission Group in which the Master Bill Invoice Print displays the Amount, Discount, and Commission for all the Misc Charges, Sale Items, and Sub Rent Items individually.
The functionality is explained with a Sample Work Flow:
Prerequisites
Select the Configuration module.
Click the Misc Types button. The Misc Types window is displayed.
Click the Add button to create a custom Misc Type.
Create various Misc Types, as shown Figure 1.0.

Figure 1.0 Misc Types
Click OK.
Save and Exit the Configuration module.
Relaunch the R2 application.
Select the Maintenance module > Customer tab > Company tab.
Create a Company [JBM] of Company Type - Master Bill.
Create a Master Billing definition named [AV DEMO] and tag it to [JBM] in Master Billing field, as shown Figure 1.0.
Click the Misc importable button in the Master Billing window. The Master Billing for Commission Group window is displayed, as shown Figure 1.0.
Click the New icon to create new Commission Groups and define the MBCommission %, as shown Figure 1.0.
Figure 1.1 Tag the Master Billing [AV DEMO] and define the Commission Groups with MBCommission%

Exit the Company [JBM] window.
Select the Maintenance module > Items tab > Misc Charges tab.
Click New icon and create the below Misc Charges by selecting the respective Misc drop-down and tagging the Commission Groups, as shown the below Table 1.0.
Table 1.0 Misc Charges with respective Misc drop-down
Misc Charges Name | Misc drop-down | MB Commission |
MISC#1 | Misc | MISC |
FREIGHT#2 | Freight | FREIGHT |
LABOR#3 | Labor | LABOR |
TRAVEL EXPENSES#4 | Travel Expenses | TRAVEL EXPENSES |
VENUE CHARGES#5 | Venue Charges | VENUE CHARGES |
SHIPPING CHARGES#6 | Shipping Charges | SHIPPING CHARGES |
TELECOM CHARGES#7 | Telecommunication Charges | TELECOMMUNICATION CHARGES |
ELECTRICAL CHARGES#8 | Electrical Charges | ELECTRICAL CHARGES |
RIGGING CHARGES#9 | Rigging Charges | RIGGING CHARGES |
BANNER CHARGES#10 | Banner Charges | BANNER CHARGES |
Exit the Misc Charges Edit window.
Place the Form [153300UI] in the same path where the other forms are placed.
In the Maintenance module, click the Form Setup icon. The Form Setup window is displayed.
Perform the Form Setup with the Name [MB INVOICE PRINT] of Order Type [Invoice] for the Form [153300UI], as shown the Figure 1.2.

Figure 1.2 Form Setup - MB Invoice Print
Click OK.
Exit the Form Setup window.
Exit the Maintenance module.
Sample Work Flow - Generating MB Invoice Print
Select the Account module > tag a Company [JBM].
Create a Rental Reservation Order [ORD-1138].
Select the Payment tab and select the Master Bill check box.
Click the ID importable button. The Master Billing window is displayed.
Select and tag the Master Bill [AV DEMO] to the Rental Reservation Order [ORD-1138].
Select the Pay At drop-down as Periodic Billing and Billing Terms as Weekly.
Search and Add the Item [SITEM#1] for Sale with the Unit Price [500.00] and Discount [10.00].
Search and Add the Item [SITEM#2] with the Unit Price [300.00] and Discount [5.00].
Select the Item [SITEM#2] > right-click > Assign > Assign window > Sub-Rental option > Assign Vendor window > Assign Later option > OK. The Item [SITEM#2] Status is modified to Sub Rent.
Select the Search Inventory drop-down > Misc Charges option. The Search Items window is displayed.
Search and add the Misc Charges with the Unit Price [100.00] to the Order [ORD-1138], as shown Figure 2.0.

Figure 2.0 Rental Reservation Order [ORD-1138] with Misc Charges, Item [SITEM#1] for Sale, and Item [SITEM#2] Status as Sub Rent
Select the Labor tab > Search Labors icon > the Search Labors window is displayed.
Add the Labor Position [LP#1] with the RT [500.00].
Click the Done icon to generate the Proforma Invoice.
After generating the Proforma Invoice, add the Proforma Invoice to the Master Bill.
Select the Account module > View menu > Master Bills option. The Search Master Bills window is displayed.
Click the New Master Bill icon. The Master Bill Invoice window is displayed.
Tag the mandatory fields such as Company [JBM], Bill Date [06/27/2018], Site [SANFRANCISO], Start Date [28-June-2018], End Date [28-June-2018], and Terms [30 DAYS], as shown Figure 2.1.

Figure 2.1 Master Bill Invoice window with all the Mandatory fields
Click the Add Invoices icon. The Master Billing Invoice List window is displayed, showing the Proforma Invoice generated for the Rental Reservation Order [ORD-1138], as shown Figure 2.2.

Figure 2.2 Master Billing Invoice List window showing the Proforma Invoice generated for the Rental Reservation Order [ORD-1138]
Tag the Proforma Invoice generated for the Rental Reservation Order [ORD-1138] and click OK. The Master Bill Invoice with the ID [ORD-1138-PI] gets added to the Master Bill Invoice window, as shown Figure 2.3.

Figure 2.3 Master Bill Invoice with the ID [ORD-1138-PI] gets added to the Master Bill Invoice window
Select the Master Bill Invoice ID [ORD-1138-PI] line and click the Print icon or optionally press the Shortcut Key [Ctrl-P] using the Keyboard. The Form Type Options window is displayed, as shown Figure 2.4.
Select the Form drop-down as MB INVOICE PRINT and click the Print icon, as shown Figure 2.4.

Figure 2.4 Master Bill Invoice ID [ORD-1138-PI] line > Print icon > Form Type Options window
The Master Bill Invoice [560612] Print is generated displaying the Amount, Discount, and Commission for all the Misc Charges, Sale Items, and Sub Rent Items individually, as shown Figure 2.5.

Figure 2.5 Master Bill Invoice [560612] Print displaying the Amount, Discount, and Commission for all the Misc Charges, Sale Items, and Sub Rent Items individually
Additional CID for Printing the Misc Charges by Commission Group
CID is provided to print the Commission for all the Misc Charges, Sale Items, and Sub Rent Items individually in the Master Bill Invoices.
The details of the additional CIDs are provided in Table 2.0.
Table 2.0 CID to Print the Misc Charges by Commission Group
CID | Description |
60000 | Prints the Commission of all the Misc Charges, Sale Items, and Sub Rent Items individually in the Master Bill Invoices. |
You can customize the output as per the requirement by the following the setup in the UI file and by defining the different combinations of the MiscType values.
The following Table 1.0 displays the Description Type and Value.
Table 2.1 Description Type and Value
Description Type | Value |
0 - Misc | 1 - MISC_TYPE_NAME |
1 - Freight | 2 - MISC_TYPE |
2 - Labor | 3 - AMOUNT |
3 - Travelling | 4 - DISCOUNT |
4 - Packeging | 5 - MB_COMMISSION |
In the UI file > CID line, the 39th column defines the MISCTYPE_VALUE=(MiscType)/(ValueToPrint) (having combination of Description Type and Value).
For Example - To print the Misc with MB Commission : set MiscType_value=0/5.
That is, Type of Description as Misc (Description Type = 0) and the Value to be generated as (MB Commission = 5).
This is displayed in the UI file, as shown Figure 2.6.

Figure 2.6 Set the value of MiscType_value to 0/5
The Charge calculated for the Custom Misc Charge Types is included into the Charge of Misc Type.