Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Flavio Spezi 129 posts 315 karma points
    Feb 16, 2015 @ 18:32
    Flavio Spezi
    0

    How to read TrackingCode in Invoice

    How can I read TrackingCode in Invoice?

    I found TrackingCode property in shipAddress invoice line items, but it is always NULL.
    But I can read TrackingCode in BackOffice.

  • Flavio Spezi 129 posts 315 karma points
    Feb 16, 2015 @ 18:53
    Flavio Spezi
    0

    I found a alternative way to obtain TrackingCode property, and this is filled:

    var shipment = shipmentService.GetShipmentsByOrderKey(invoice.Orders.First().Key).FirstOrDefault();
    if (shipment != null) {
        var myTrackingCode = shipment.TrackingCode;    // my tracking code
    }
    

    Is it the right solution?

  • Biagio Paruolo 1621 posts 1914 karma points c-trib
    Jul 16, 2015 @ 08:22
    Biagio Paruolo
    0

    How stamp it on invoice?

  • Flavio Spezi 129 posts 315 karma points
    Jul 16, 2015 @ 09:48
    Flavio Spezi
    0

    Sorry @Biagio, can you spell more details about what you need to do?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies