Search in sources :

Example 21 with CapitalAccountingLines

use of org.kuali.kfs.fp.businessobject.CapitalAccountingLines in project cu-kfs by CU-CommunityApps.

the class GlLineServiceImpl method createCapitalAccountingLine.

protected List<CapitalAccountingLines> createCapitalAccountingLine(List<CapitalAccountingLines> capitalAccountingLines, GeneralLedgerEntry entry, String distributionAmountCode) {
    Integer sequenceNumber = capitalAccountingLines.size() + 1;
    // capital object code so we need to build the capital accounting line...
    CapitalAccountingLines cal = addCapitalAccountingLine(capitalAccountingLines, entry);
    cal.setDistributionAmountCode(distributionAmountCode);
    capitalAccountingLines.add(cal);
    return capitalAccountingLines;
}
Also used : CapitalAccountingLines(org.kuali.kfs.fp.businessobject.CapitalAccountingLines)

Aggregations

CapitalAccountingLines (org.kuali.kfs.fp.businessobject.CapitalAccountingLines)21 CapitalAssetInformation (org.kuali.kfs.fp.businessobject.CapitalAssetInformation)15 CapitalAccountingLinesDocumentBase (org.kuali.kfs.fp.document.CapitalAccountingLinesDocumentBase)12 KualiAccountingDocumentFormBase (org.kuali.kfs.sys.web.struts.KualiAccountingDocumentFormBase)9 KualiDecimal (org.kuali.rice.core.api.util.type.KualiDecimal)9 ArrayList (java.util.ArrayList)8 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 Set (java.util.Set)1 ActionForward (org.apache.struts.action.ActionForward)1 CapitalAssetAccountsGroupDetails (org.kuali.kfs.fp.businessobject.CapitalAssetAccountsGroupDetails)1 CapitalAssetEditable (org.kuali.kfs.fp.document.CapitalAssetEditable)1 CapitalAssetInformationDocumentBase (org.kuali.kfs.fp.document.CapitalAssetInformationDocumentBase)1 CapitalAssetManagementModuleService (org.kuali.kfs.integration.cam.CapitalAssetManagementModuleService)1 Asset (org.kuali.kfs.integration.cam.businessobject.Asset)1 KualiDocumentFormBase (org.kuali.kfs.kns.web.struts.form.KualiDocumentFormBase)1 PersistableBusinessObject (org.kuali.kfs.krad.bo.PersistableBusinessObject)1 GeneralLedgerEntry (org.kuali.kfs.module.cam.businessobject.GeneralLedgerEntry)1 AccountingDocument (org.kuali.kfs.sys.document.AccountingDocument)1 SegmentedLookupResultsService (org.kuali.kfs.sys.service.SegmentedLookupResultsService)1