Purchase Order issue with variant products and no return option

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 5k18a
    Member
    • Jul 2025
    • 43

    #1

    Purchase Order issue with variant products and no return option

    I would like to report two issues I have encountered when adding products to Purchase Orders in Sales Pack.
    1. When selecting a product that has variants, entering the variant group shows only the selling prices. The purchase price is not displayed at all. This makes it difficult to verify cost values while creating a Purchase Order.
    2. After entering a product that contains variants, there is no option to go back to the main product list. The only way is to close the current variant selection card and start the selection process again. It would be very helpful to have a simple return option.
  • victor
    Active Community Member
    • Aug 2022
    • 1066

    #2
    Regarding your first request, you can do the following:
    1. In your_instance_name/data/config.php, set customPrefixDisabled to true.

    2. After saving the changes, go to Administration > Entity Manager > Purchase Order Item > Fields and create a costPrice field with a Currency type. You can do the same for Invoice Item, Sales Order Item, etc. if desired.

      Click image for larger version  Name:	image.png Views:	0 Size:	23.5 KB ID:	123436
    3. In Administration > Entity Manager > Quote Item > Fields > Product > Fields to Copy add Cost Price, Cost Price (Converted), Cost Price Currency.

      Click image for larger version  Name:	image.png Views:	0 Size:	64.0 KB ID:	123437
    4. In Administration > Entity Manager > Purchase Order Item > Layouts List (Item) add Cost Price field.

      Click image for larger version  Name:	image.png Views:	0 Size:	76.2 KB ID:	123438
    ​Now, when creating New Purchase Order Items, you will automatically see the Cost Price that you previously added to some Product in Product Entity. Please note that this functionality will not work for Old Purchase Order Items. However, if you wish, you can delete the Old Purchase Order Item and add a new one.​

    Regarding your second request, it would be better to write in the https://forum.espocrm.com/forum/feature-requests.

    Comment

    Working...