On Thu, Mar 21, 2013 at 6:00 PM, John Wiegley <[email protected]> wrote:

> At present variable names aren't used for much.  Can you show me an
> example of
> where you'd want to use a bill number in a variable name?  Perhaps there's
> another way (such as with metadata) to make such a usage easier for you.
>

Example: I raise an invoice say in April 2012, and received a payment in
May 2012 with TDS (Tax deducted at source). This is how I thought I could
record it:

define TDS_RATE = 0.1

define INVOICE_1 = 10000

2012/4/1
   ; Raising an invoice here
   Debtor:XYZ       INVOICE_1
   Income

2012/5/1
   ; Receiving a payment here
   BankAccout      INVOICE_1 * TDS
   Assets:TDS      INVOICE_1 * (1 - TDS)
   Debtor:XYZ

If there is a better way to do it, please let me know.

thanks,
-- 
*Harshad RJ* <http://lavadip.com>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to