Aware IM User Forums Forum Index Aware IM User Forums
Discussions, questions, ideas, opinions about Aware IM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delete From List

 
Post new topic   Reply to topic    Aware IM User Forums Forum Index -> General discussion and questions about Aware IM
View previous topic :: View next topic  
Author Message
leopdurr



Joined: 11 Apr 2010
Posts: 151
Location: British Virgin Islands

PostPosted: Sun May 20, 2012 10:13 pm    Post subject: Delete From List Reply with quote

Hi

The Delete From List function in a Reference List.

I want to use a Process to Remove a Refrence from a List:

Eg:

Invoice with ListItems.
I want to remove a LineItems from an Invoice during Invoice enry using a Process.
what is the function to do this is it DELETE or REMOVE? and how should the rule be contructed?

Thanks Leopold
Back to top
View user's profile Send private message Visit poster's website
jacklcs



Joined: 31 Dec 2010
Posts: 337

PostPosted: Wed May 23, 2012 1:07 pm    Post subject: Reply with quote

Hi
If ur invoice header is the owner of the invoice detail, then in the header object... MyDetailID.. Use the delete function. That will auto delete the detail trx.. If u delete the header trx..the detail also deleted too.

However, if u use the peer as link the two table.. The u need to write the rule on delete rule section.

Find invoice_detail where invoice_detail.myheaderid =invoice_header.mydetailid
Delete invoice_detail

Hope it help...thks.
Back to top
View user's profile Send private message
leopdurr



Joined: 11 Apr 2010
Posts: 151
Location: British Virgin Islands

PostPosted: Thu May 24, 2012 7:13 am    Post subject: Reply with quote

OI do not want to delete the Invoice i just want to delete 1 or more of the InvoiceDetails. Instead of using the Default Delete From List i want to implement my own process to remove any of the InvoiceDetails.
Back to top
View user's profile Send private message Visit poster's website
jacklcs



Joined: 31 Dec 2010
Posts: 337

PostPosted: Tue May 29, 2012 1:48 pm    Post subject: Reply with quote

Write the process... delete invoice_detail

Find invoice_detail where invoice_detail.myheaderid =invoice_header.mydetailid
delete invoice_detail
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aware IM User Forums Forum Index -> General discussion and questions about Aware IM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group