What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

What's the difference between `originUnitNetPrice` and `sourceUnitNetPrice` ?

UK5DS29L2
UK5DS29L2 Posts: 546 🧑🏻‍🚀 - Cadet

What's the difference between originUnitNetPrice and sourceUnitNetPrice ?

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    As per our development:

    As I see, the originUnit*Price simply follows the unit*Price fields and vice-versa. There is no real difference between them. I can just only guess, that previously we were storing the original price there.
    
    The source prices have a different purpose. They actually allow temporary overriding of prices. Example if you set sourceNetPrice = 100, it means that during the cart recalculation, the price will become 1EUR regardless what you have in database. We use this feature in Request for quote, where the Agent in Yves is allowed to set ANY price for the customer quote.