XML 58 R29.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Revenue recognition - Contract Assets (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Jul. 31, 2018 | Apr. 30, 2018
Change in Contract with Customer, Asset [Roll Forward] |  |
Beginning balance | $ 1,834 | $ 1,502
Costs and gross profit recognized during the period for uncompleted contracts from the prior period | (1,395) | (1,085)
Costs and deferred gross profit incurred on uncompleted contracts not billed at the end of the current period | 1,575 | 1,417
Ending balance | $ 2,014 | $ 1,834

X
- Definition Change in Contract with Customer, Asset [Roll Forward] + References No definition available. + Details
Name: | ppih_ChangeinContractwithCustomerAssetRollForward
Namespace Prefix: | ppih_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contract with Customer, Asset, Reclassified + References No definition available. + Details
Name: | ppih_ContractwithCustomerAssetReclassified
Namespace Prefix: | ppih_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Contract with Customer, Asset, Revenue and Costs Incurred + References No definition available. + Details
Name: | ppih_ContractwithCustomerAssetRevenueandCostsIncurred
Namespace Prefix: | ppih_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=82913815&loc=SL49130533-203044 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 270 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84173487&loc=SL51747714-108306 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82913815&loc=SL49130531-203044 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82913847&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerAssetNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant