dbTalk Databases Forums  

Matching credits to invoices ( - to + )

comp.databases.filemaker comp.databases.filemaker


Discuss Matching credits to invoices ( - to + ) in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JohnB
 
Posts: n/a

Default Matching credits to invoices ( - to + ) - 05-17-2007 , 05:39 PM






I'm working with a very large file that has negative and positive
amounts (credits & invoices). I'm looking to find credits for a
customer that equally match outstanding invoices for the same customer
and isolate them.

Ex. - A credit for ($135.62) and an invoice for $135.62 for the same
customer should appear in the same found set. I would be searching all
customers and records at the same time.

So far, I created a field that calculates both as positive numbers. I
query for '!' in the amount of this field. This brings in loads of
others invoices and credits that don't match 'credit to invoice'.
Duplicates of matching credit amounts and matching invoices also end
up in the found set.

Does anyone know how I can make things more selective? Any help would
be appreciated.

Thanks...JohnB


Reply With Quote
  #2  
Old   
TKnTexas
 
Posts: n/a

Default Re: Matching credits to invoices ( - to + ) - 05-17-2007 , 07:18 PM






You could limit by the customer/vendor (not knowing if this is AR or
AP). That will get you to a smaller set.
TK

On May 17, 5:39 pm, JohnB <bile... (AT) excite (DOT) com> wrote:
Quote:
I'm working with a very large file that has negative and positive
amounts (credits & invoices). I'm looking to find credits for a
customer that equally match outstanding invoices for the same customer
and isolate them.

Ex. - A credit for ($135.62) and an invoice for $135.62 for the same
customer should appear in the same found set. I would be searching all
customers and records at the same time.

So far, I created a field that calculates both as positive numbers. I
query for '!' in the amount of this field. This brings in loads of
others invoices and credits that don't match 'credit to invoice'.
Duplicates of matching credit amounts and matching invoices also end
up in the found set.

Does anyone know how I can make things more selective? Any help would
be appreciated.

Thanks...JohnB



Reply With Quote
Reply




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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.