Scenario
User wants to set Purchase Orders lines to Closed in bulk using Mass update or CSV Import. There is an enhancement currently logged under Enhancement # 62556 related to the use of Mass Update to close Purchase Orders in bulk. However, we found an alternate solution listed below.
Solution
-
Create a Saved Search
- Navigate to Transactions > Management > Saved Searches > New
- Click Transactions
- Search Title: Enter Title
- Click Criteria tab
- Click Standard subtab
- Type: Purchase Order. Status: Purchase Order: Pending Receipt Note: Select the preferred status of Purchase Order that you intend to close.
- Click Results tab
- Click Columns subtab
-
Field:
- Select Internal ID
- Select Line ID
- Select Item
- Select Closed
- Select Status
- Click Save & Run
-
Export CSV file
- Search Result: Click Export - CSV button
-
Check and Update the CSV File
- Remove the rows with Line ID = 0
- CSV file should include columns : Internal ID of the transaction, Line ID, Item and Closed
- Save CSV file
-
Import CSV file
- Go to Setup > Import/Export > Import CSV Records
- Import Type: Transactions
- Record Type: Purchase Order
- Select the CSV file
- Click Next button
- Data Handling: Select Update button
- Click Next button
-
Field Mapping page:
- Internal ID <---> Purchase Order : Internal ID
- Yes <---> Purchase Order - Items: Closed
- Item <---> Purchase Order - Items: Item
- Line ID <---> Purchase Order - Items: Line ID
- Click Next button
- Enter the Import Map Name
- Click Save & Run button Note: Check if the Purchase Order lines used in the CSV import was changed to Closed.