Re: account opening date question
On Montag, 29. Mai 2023 17:04:06 CEST Jack via KMyMoney-devel wrote: > 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 > >> >> 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 > >> >>"Purchase: UNITEDHEALTH GROUP INC PER ADVISORY AGREEMENT. > >> PRICE 488.325500" entrydate="2023-05-07" commodity="USD"> > >> > >>>> 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=""/> > >>>> 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. It happens when you open the account and use it only store a price at a later date (maybe when the first transaction is entered). The check looked at a price to be available on the opening date. The extra work for the program during the consistency check is simple and not noticeable. BTW: the change also resolved an issue I had here myself where I opened an investment account and never used it (only use it to play/test with). -- Regards Thomas Baumgart - The ability to speak several languages is an asset, but the ability to keep your mouth shut in any language is priceless! -- ITI Bulletin 6.7.1990 - signature.asc Description: This is a digitally signed message part.
Re: account opening date question
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 and it is used in a single transaction 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.
Re: account opening date question
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 >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 > "Purchase: UNITEDHEALTH GROUP INC PER ADVISORY AGREEMENT. > PRICE 488.325500" entrydate="2023-05-07" commodity="USD"> > > 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=""/> > 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. -- Regards Thomas Baumgart - If a train station is where a train stops, then what stops at a workstation? - signature.asc Description: This is a digitally signed message part.