account opening date question

Jack ostroffjh at users.sourceforge.net
Mon May 29 16:04:06 BST 2023


On 5/29/23 04:18, Thomas Baumgart via KMyMoney-devel wrote:
> On Sonntag, 28. Mai 2023 22:47:33 CEST Jack Ostroff via KMyMoney-devel wrote:
>
>> When I do a consistency check, the results include
>>        * The security 'UNITEDHEALTH GROUP INC' has no price set for the
>> opening date '2023-04-03'.
>>
>> However, the that security is held in a single investment account, in
>> the security account
>>        <ACCOUNT id="A001156" parentaccount="A000262" lastreconciled=""
>> lastmodified="2023-05-08" institution=""
>> 	opened="2023-04-03" number="" type="15" name="UNITEDHEALTH
>> GROUP INC" description="" currency="E000541"/>
>>
>> and it is used in a single transaction
>>        <TRANSACTION id="T000000000000028277" postdate="2023-04-26" memo=
>> 	"Purchase: UNITEDHEALTH GROUP INC PER ADVISORY AGREEMENT.
>> PRICE   488.325500" entrydate="2023-05-07" commodity="USD">
>>         <SPLITS>
>>           <SPLIT id="S0001" payee="" reconciledate="2023-04-28"
>> action="" reconcileflag="2" value="-244163/100" shares="-244163/100"
>> 		price="1/1" memo="Purchase: UNITEDHEALTH GROUP INC PER
>> ADVISORY AGREEMENT. PRICE   488.325500" account="A000263" number=""
>> bankid=""/>
>>           <SPLIT id="S0002" payee="" reconciledate="" action="Buy"  tra
>> reconcileflag="2" value="244163/100" shares="5/1"
>> 		price="244163/500" memo="Purchase: UNITEDHEALTH GROUP
>> INC PER ADVISORY AGREEMENT. PRICE   488.325500" account="A001156"
>> number=""
>> 		bankid="ID 20230424TB151147020156039"/>
>>
>> The transaction is dated April 26 and was imported May 7.  How did the
>> opening date get to April 3?   Is there any way for me to change that
>> opening date short of editing the data file?  I know I can just add a
>> price on or before April 3, but I'd rather not need to have price
>> before I ever owned the stock?
>>
>> Any thoughts or pointers?
> I changed the way the consistency check validates available price information.
> The check is now based on the date of first use instead of the account opening
> date. I hope that solves the problem.
Thanks, and  while that is easier for me than adding an "extra" price, 
it seems like extra work for the program, thus my desire to figure out 
how it happened., although I know that is not likely to happen.


More information about the KMyMoney-devel mailing list