# Custom Package Delivery System issue

**URL:** <https://forum.sambapos.com/t/custom-package-delivery-system-issue/3411>\
**Category:** V4 Question\
**Created:** [November 20, 2014, 3:49pm UTC](https://forum.sambapos.com/t/custom-package-delivery-system-issue/3411 "2014-11-20T15:49:06Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![marannorama](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@marannorama](https://forum.sambapos.com/u/marannorama)\
**Post date:** [January 30, 2015, 5:46pm UTC](https://forum.sambapos.com/t/custom-package-delivery-system-issue/3411/15 "2015-01-30T17:46:14Z")

</div>

I can not solve the problem. I realised when i try to set up my delivery package system, i create a ticket. The ticket status paid but delivery state is waiting. So the ticket seems ticket lister 1 all time. Also the ticket dont have type (delivery or customer) so i can not void,cancel or change its status. You can also read this answer. I have tried number 1 and 2, it doesnt solve my problem. I will try number 3 later

> [@Problem with Ticket](https://forum.sambapos.com/t/problem-with-ticket/4014/14):
>
> There is a few things you can try. These are listed from least-destructive/invasive to most destructive/invasive. Try them in this order and Stop when you find which works.
> 
> 1. Re-settle the Ticket:
> 
> Ensure your Re-open Settled Ticket button executes both Actions for Re-open and Cancel Payments. If not, change the Rule so that it contains both actions, re-open the Ticket, and Settle the Ticket (don’t try to close it).
> 
> 1. Delete the Ticket Transaction(s):
> 
> Find the Transaction Document for the Ticket (#226) in Manage \> Accounts \> Transactions, and open/edit it. Delete the Transactions within the Document one by one starting from the bottom/last transaction, while clicking the Save button after each deletion. If you can successfully delete the Transactions, then pull up the Ticket and try to Settle it again.
> 
> 1. Correct the Ticket manually in the Database:
> 
> be sure to make a DB backup before you attempt this!
> 
> Using SSMS, find the Ticket in the [Tickets] table in the DB, and correct the missing information (i.e. the Ticket Type).
> 
> Find the Ticket:
> 
> select \* from [Tickets] where [TicketNumber]=226 – set Ticket Number here
> 
> Update the Ticket Type:
> 
> UPDATE [Tickets] SET  
> [TicketTypeId]=(select [Id] from [TicketTypes]  
> where [Name]=‘Ticket’) – set name of Ticket Type here  
> WHERE [Id]=(select [Id] from [Tickets]  
> where [TicketNumber]=226) – set Ticket Number here
> 
> 1. Send a DB backup to someone so they can correct it
> 
> This will cause loss of any changes or Transactions that are performed on your local DB while you wait for the corrected DB to be returned.
> 
> Backup your DB, compress it to ZIP and send it as an attachment in a PM to a user of your choice for correction. Then restore the corrected DB when it is returned to you.

---

_[View the full topic](https://forum.sambapos.com/t/custom-package-delivery-system-issue/3411)._
