# Change order number prefix on B2B order?

**URL:** <https://forum.litium.com/t/change-order-number-prefix-on-b2b-order/3550>\
**Category:** Questions\
**Tags:** litium-8\
**Created:** [February 5, 2026, 2:29pm UTC](https://forum.litium.com/t/change-order-number-prefix-on-b2b-order/3550 "2026-02-05T14:29:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![krilin](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/krilin/32/175_2.png) [@krilin](https://forum.litium.com/u/krilin)\
**Post date:** [February 5, 2026, 2:29pm UTC](https://forum.litium.com/t/change-order-number-prefix-on-b2b-order/3550/1 "2026-02-05T14:29:53Z")

</div>

Hi!

We have both B2B and B2C websites in our solution and for the B2B website we would like another order preifx. How can we do that?

I tried something like this without success:

```auto
_eventBroker.Subscribe<OrderCreated>(x =>
{
    if (x.Item.ChannelSystemId.HasValue)
    {
        var channel = _channelService.Get(x.Item.ChannelSystemId.Value);
        if (!channel.ShowPricesWithVat)
        {
            var clone = x.Item.MakeWritableClone();
            clone.Id = clone.Id.Replace("W", "R");
            using (_securityContextService.ActAsSystem())
            {
                _orderService.Update(clone);
            }
        }
    }
});

```

Thanks!

Litium version: _8.28_

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [March 9, 2026, 7:26am UTC](https://forum.litium.com/t/change-order-number-prefix-on-b2b-order/3550/3 "2026-03-09T07:26:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
