Search in sources :

Example 1 with PurApItemBase

use of org.kuali.kfs.module.purap.businessobject.PurApItemBase in project cu-kfs by CU-CommunityApps.

the class PurchasingAccountsPayableDocumentBase method getDeletionAwareUseTaxItems.

/**
 * Build deletion list of use tax items for PurAp generic use.
 *
 * @return
 */
@SuppressWarnings("rawtypes")
protected List getDeletionAwareUseTaxItems() {
    List<PurApItemUseTax> deletionAwareUseTaxItems = new ArrayList<PurApItemUseTax>();
    List<PurApItemBase> subManageList = this.getItems();
    for (PurApItemBase subManage : subManageList) {
        deletionAwareUseTaxItems.addAll(subManage.getUseTaxItems());
    }
    return deletionAwareUseTaxItems;
}
Also used : PurApItemUseTax(org.kuali.kfs.module.purap.businessobject.PurApItemUseTax) PurApItemBase(org.kuali.kfs.module.purap.businessobject.PurApItemBase) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)1 PurApItemBase (org.kuali.kfs.module.purap.businessobject.PurApItemBase)1 PurApItemUseTax (org.kuali.kfs.module.purap.businessobject.PurApItemUseTax)1