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;
}
Aggregations