Examples of ParentTxn


Examples of com.moneydance.apps.md.model.ParentTxn

        double totWeightedNumerator = 0.0;
        double totalAllocatedQtyAdjust = 0.0;
        for (Long allocationSplitTransNum : thisMatchTable.keySet()) {
            //split transaction number
            //parent transaction of associated split
            ParentTxn allocationParentTrans = currentInfo.getTransactionSet()
                    .getTxnByID(allocationSplitTransNum).getParentTxn();
            //parent transaction number
            Double allocationParentTransNum = (Long
                    .valueOf(allocationParentTrans.getTxnId()).doubleValue());
            //Transvalue associated with parent transaction number
            TransactionValues allocationTransValues = currentInfo.getSecurityTransactionValues()
                    .get(allocationParentTransNum);
            //Split-adjustment for shares (adjusts previous shares to current)
            Double splitAdjust = getSplitAdjust(currentTrans,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.