otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Settlement Utilizing Settlement in OTM / G-Log - including invoicing and billing.

Tags: ,

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old February 15th, 2007, 17:53
Junior Member
 
Join Date: Dec 2006
Location: Orlando, Florida, US
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
runinord is on a distinguished road
Send a message via MSN to runinord Send a message via Skype™ to runinord
Question [SOLVED] How do you delete a Voucher?

I have some orders that have been created in the wrong domain and we need to remove them. The problem is that the buy shipment has an invoice and a voucher that has been allocated. How do you remove such a voucher in OTM?
Thanks,
Runi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old March 1st, 2007, 15:14
Junior Member
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Yun Chung is on a distinguished road
Deleting a Voucher

To delete a voucher, you need to UNAPPROVE INVOICE from the invoice action menu. If this doesn't work for you, then you may need to manually delete the entries from the allocation tables, which we've had to do in the past, on occasion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old March 1st, 2007, 16:11
Junior Member
 
Join Date: Dec 2006
Location: Orlando, Florida, US
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
runinord is on a distinguished road
Send a message via MSN to runinord Send a message via Skype™ to runinord
Hi Yun,
Unapproving an invoice creates another voucher and I am trying to get rid of the voucher and the invoice so that I can delete the buy shipment and the order release.
Which allocation tables do you manually delete the voucher in?
Thanks,
Runi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old March 1st, 2007, 18:33
Junior Member
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Yun Chung is on a distinguished road
Runi,
I'm sorry...when I looked back at my notes and re-read your posting, our issues was elsewhere. We had problems deleting order releases due to the allocation tables, not vouchers.
Yun
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old March 1st, 2007, 21:07
Junior Member
 
Join Date: Dec 2006
Location: Orlando, Florida, US
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
runinord is on a distinguished road
Send a message via MSN to runinord Send a message via Skype™ to runinord
Figured it out.
See delete statmens below that should be executed in SQL as the user glogowner, you need to know the order release gid, the shipment gid and the voucher gid.


DELETE FROM ALLOCATION_ORDER_RELEASE_D
WHERE ORDER_RELEASE_GID in ('RHL.27-13048','RHL/MBUSA.38-439118');
DELETE FROM ALLOCATION_D
WHERE
ORDER_RELEASE_GID in ('RHL.27-13048','RHL/MBUSA.38-439118');
DELETE FROM ALLOCATION
WHERE
ORDER_RELEASE_GID in ('RHL.27-13048','RHL/MBUSA.38-439118');
DELETE FROM VOUCHER_STATUS
WHERE
VOUCHER_GID in ('RHL.20051207-0093');
DELETE FROM VOUCHER_REFNUM
WHERE
VOUCHER_GID in ('RHL.20051207-0093');
DELETE FROM VOUCHER_INVOICE_LINEITEM_JOIN
WHERE
VOUCHER_GID in ('RHL.20051207-0093');
DELETE FROM ALLOCATION_BASE
WHERE
SHIPMENT_GID ='RHL.03800';
DELETE FROM VOUCHER
WHERE
VOUCHER_GID in ('RHL.20051207-0093');

Commit;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

« - | Insurance costs »


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting 'send voucher interface' option from screenset Tuuk79 Branding, Screen Sets, XSL/CSS and Translations 4 February 12th, 2008 13:33
Question about voucher baji Integration and Data Mapping 2 January 22nd, 2008 14:37
Add or Delete Shipment Stops otmrookie Planning 4 December 15th, 2007 19:51
Delete functionality nikesh mohanlal Branding, Screen Sets, XSL/CSS and Translations 0 October 23rd, 2007 16:52
[SOLVED] How to Change the Tab Label and Delete the tab in contacts sn1405 Branding, Screen Sets, XSL/CSS and Translations 2 June 22nd, 2007 09:52



All times are GMT. The time now is 21:47.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37