Something else is happening. I made up a test file using the xact and
declarations you gave and I get the expected results.

What editor are you using?

On Tuesday, November 25, 2014, John Louis Del Rosario <[email protected]>
wrote:

> Tried both $ and putting P after the amount, but still got the error.
> e.g.
> 11/24 * Adjustment
>     Liabilities:Credit:Metrobank   = 0.00 P
>     Equity:Adjustments
>
> Here are my heading declartions if it matters:
>
> include Accounts.ledger
> include Tags.ledger
>
> commodity P
>     default
>
> year 2014
>
> bucket Assets:Cash
>
> Thanks.
>
> On Monday, November 24, 2014 10:25:52 PM UTC+8, Craig Earls wrote:
>>
>> Not sure what is going on.  If I use a $ sign instead of the "P" you are
>> using, this works fine.  Try putting the "P" after the 0.00.
>>
>> On Sun, Nov 23, 2014 at 8:52 PM, John Louis Del Rosario <[email protected]
>> > wrote:
>>
>>> I just tried to reset a balance (http://ledger-cli.org/3.0/
>>> doc/ledger3.html#Resetting-a-balance), but it seems it's illegal?
>>>
>>> 11/24 * Adjustment
>>>     Liabilities:Credit:Metrobank   = P 0.00
>>>     Equity:Adjustments
>>>
>>> Error: Only one posting with null amount allowed per transaction
>>>
>>> I'm using Ledger 3.1.0-20141005 on OS X.
>>>
>>> --
>>>
>>> ---
>>> 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]
> <javascript:_e(%7B%7D,'cvml','ledger-cli%[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.

Reply via email to