Scenario:
Create a saved search that shows sales order for drop shipment items including which is linked to purchase order details and applied invoices.
Solution:
- Go to > Reports > Saved search > New
- Select ‘’Transaction’’ as Search Type
- Enter search name
- Set the criteria like
- Type = Sales Order
- Shipping Line = False
- Tax line = False
- Applying link type = is any of drop shipment, order bill/invoice
- Under Result tab,
- Date
- Type
- Number – Summary type as Group – custom label is ‘Sales order’.
- Name – Custom label as ‘Customer name’.
- Amount- Summary type as Sum- Custom label as ‘sales order amount’.
- Formula (Text) : CASE WHEN {applyinglinktype} = ‘Drop Shipment’ THEN {applyingtransaction} ELSE ‘ ‘ END – Custom label as ‘Drop ship Purchase order’.
- Formula (Text): CASE WHEN {applyinglinktype} = ‘Drop Shipment’ THEN TO_CHAR({applyingtransaction.trandate}, ‘YYYY-MM-DD’) ELSE ‘ ‘ END – Custom label as ‘Drop Ship Purchase Order Date’.
- Formula (Text): CASE WHEN {applyinglinktype} = ‘Drop Shipment’ THEN to_char({applyingtransaction.amount},’$9,999.99′) ELSE ‘ ‘ END – Custom label as ‘Drop Ship Purchase Order Amount’.
- Formula (Text): CASE WHEN {applyinglinktype} = ‘Order Bill/Invoice’ THEN {applyingtransaction} ELSE ‘ ‘ END – Custom label as ‘Invoice Number’.
- Formula (Text): CASE WHEN {applyinglinktype} = ‘Order Bill/Invoice’ THEN TO_CHAR({applyingtransaction.trandate}, ‘YYYY-MM-DD’) ELSE ‘ ‘ END – Custom label as ‘Invoice Date’.
- Formula (Text): CASE WHEN {applyinglinktype} = ‘Order Bill/Invoice’ THEN to_char({applyingtransaction.amount},’$9,999.99′) ELSE ‘ ‘ END – Custom label as ‘Invoice Amount’.
- Click save & run.