Dear Gurus,
I already create the value of the total of Quantity Ordered for each Purchase Order record as below SuiteAnswer. However, I have a purchase order that converts a Drum to a Liter via UOM. Although the customized field displays a conversion Liter(Base Unit) quantity of 200, the PO UOM is Drum. That can be show the PO UOM's quantity?
Solution
- Create a Saved Transaction Search
- Navigate to Lists > Search > Saved Searches > New
- Click Transaction
- Search Title: Enter Title
Example: Purchase Order Quantity Ordered - Click Criteria
- Click Standard
- Filter:
Note: Always click Add once Field selected and adjusted as needed.- Select TypeDescription: is Purchase Order
- Click Results
- Click Columns
- Click Remove All
- Field:
Note: Always click Add once Field selected and adjusted as needed.Select Internal IDSelect Quantity
Note: Select Sum on the Summary Column for Quantity - Select Available Filters
- Filter:
Note: Always click Add once Filter selected and adjusted as needed. Select Internal ID - Click Add
- Click Save
- Create a Transaction Body Field
- Navigate to Customization > Lists, Records, & Fields > Transaction Body Fields > New
- Label: Enter Label
Example: Total Quantity - ID: Enter ID
Example: _total_quantity - Type: Select Integer Number
- Store Value: Remove Checkmark
- Click Applies To Purchase Item: Enter Checkmark
- Click Display Subtab: Select Main
- Click Validation & Defaulting Search: Select Purchase Order Quantity Ordered (Saved Search created on Step 1)
- Click Save
- Add the newly created custom field to the Transaction Form PDF Layout or Advanced PDF/HTML Template
- Navigate to Transactions > Purchases/Vendors > Enter Purchase Orders > List
- Preferred Transaction Form: Click Edit
- Top Right Corner: Hover-over Customize
- Click Customize FormFor Basic Printing TypeNavigate to Printing Fields > BodyLocate Total Quantity Print/Email: Enter CheckmarkClick SaveFor Advanced Printing TypeNavigate to Customization > Forms > Advanced PDF/HTML Templates Necessary PDF/HTML Template: Click Customize/EditTop Right Corner: Source CodeUse the following tag to add the field: ${record.custbody_total_quantity} Click Save
With Best Regards,
Honey