web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

remove shipper tracking number

(0) ShareShare
ReportReport
Posted on by

I am looking for a way to remove a tracking number from AX 2012 R3 for UPS and FedEx. I was able to do this with FedEx ShipManager when we canceled a labeled, but not UPS.

However, I recently migrated to a software based labeling system and it does not have a defined method for canceled labels, so in AX I still see the original tracking number. With my software labeling system, I can verify if a label was previously generated and if so, I can reprint if it is less than 5 days old, otherwise we will reprint with new tracking number. I was thinking on the reprint with new tracking, I would trigger this SQL statement, as I have the Packing slip, Sales order, and Tracking numbers.

Delete FROM [TESTAX].[dbo].[SHIPCARRIERSTAGING]
where packingslipID ='017305' and salesID = '017350' and TRACKINGNUMBER ='xxxxxxxxxxxx'

Are there any other tables that I would also need to delete from?

Or, is there a field that I can update that would hide the previous tacking numbers from packing slip journal --> Order Tacking --> Tracking Numbers

The issue having multiple tracking numbers, is that my EDI ASN task will pull all tracking numbers and send them to my trading partners. Some only accept 1, so the chance that an invalid number being passed is valid.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Ran SQL Server Profiler while I deleted a transaction from FedEx Ship Manager. Here is what Ship Manager ran in SQL:

    Delete *  From "SHIPCARRIERSTAGING" Where "TRACKINGNUMBER" = 'TrackingID'

    Delete   From "SHIPCARRIERSTAGING" Where "TRACKINGNUMBER" = 'TrackingID'

    I will be using my original code from above to to delete the original tracking code, if the reprint is outside the 5 day period.

  • Guy Terry Profile Picture
    28,924 Moderator on at

    The one and only time I investigated Packing slip tracking numbers, I decided they were stored in the table ShipCarrierTracking, where you have reference to the Sales order number and the Packing Slip Id.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans