The semicolon starts a comment. Usually ledger ignores comments. If there is a string of characters followed by a colon, then that is name of a tag. Anything to the right of the colon is the value of the tag. So for your purposes you want to tell ledger that the GIFI code for a posting is some number. Then you can do things like sort on the tag values, or look for posting with a particular tag value.
If you just want to put the GIFI code in a comment you won't be able to make ledger do much with it. On Wed, Sep 17, 2014 at 8:36 PM, o1bigtenor <[email protected]> wrote: > > > On Wed, Sep 17, 2014 at 10:52 AM, Craig Earls <[email protected]> wrote: >> >> I didn't check the arithmetic but your entry looks correct. >> >> The additional information you want to add is called posting metadata in >> ledger speak. After each posting put a comment with a tag for your data. For >> example: >> >> 2012.09.29 (H39578) Pacific Bell >> Expenses: Utilites: Telecommunications: cell: me: 2414 >> $39.93 >> ; GIFI: 1234.56.78.90 >> Expenses: GST: Business >> $ 2.00 >> ; GIFI: 3456.78.00.12 >> Assets:some account >> >> The tag is the thing between the semi-colon and the colon and can be >> whatever you want. You can use limits and value expression to work with >> them. > > > Thank you for your response!! > > I think I get the tag idea (was what I thought could be used but didn't know > if it could be sorted upon which you have confirmed is possible). > > For added clarity you start the tag with the ; > > ; GIFI: 3456.78.00.12 > > I would like the 3456.78.00.12 to be the tag but it here written after the > colon. > > Does that mean that any LINE beginning with a ';' is a tag? > > (That's what I am understanding just looking to make sure that I am trying > to do things correctly!!!) > (Its far too much work to do all the entries twice!) > > TIA > > Regards > > Dee > > -- > > --- > 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/d/optout. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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/d/optout.
