I have automated sending out invoices by using Crystal Reports and a third party software. I have duplicated the custom invoice report in Crystal Reports and everything looks identical to the GP form except I am having trouble with the tracking numbers. It is common for our customers to enter multiple release line items, where one line will ship today and the next line will ship next week, etc. Each time we invoice, the new tracking number plus all the old ones populate in the SOP10107 table. It appears that GP is listing the tracking numbers in alphabetical order so when doing a querry, it is difficult to grab the most recent tracking number. To complicate matters, if there are two tracking numbers for the same invoice it is difficult to know which two tracking numbers are for the most recent invoice. I have seen the scripts that take care of the tracking numbers in Report Writer but with table SOP10107, there are no date fields and nothing else to link to except the SOPNUMBE. The DEX_ROW_INDEX is also not useful since it appears that the multiple tracking numbers are listed in alphabetical order.
Any Suggestions would be appreciated.
Thanks
Ed
*This post is locked for comments