Hope this might be helpful:
The G/L Purch. Prepayments Account (when used as a G/L Account line type) cannot import Product Posting Groups from Item Cards; this is by design, not a bug.
You must set these posting groups directly in the G/L Prepayments Account setup.
Workaround: Create a "virtual item" (e.g., service type) for prepayments, set the product posting groups on it, and use this item on purchase lines.
✅ Mark this answer as verified if it helps you.