/** * <p>Setter for unitOfMeasure.</p> * @param pUnitOfMeasure reference **/ @Override public final UnitOfMeasure getUnitOfMeasure() { return getPurchaseInvoiceLine().getUnitOfMeasure(); }
/** * <p>Setter for unitOfMeasure.</p> * @param pUnitOfMeasure reference **/ @Override public final UnitOfMeasure getUnitOfMeasure() { return getPurchaseInvoiceLine().getUnitOfMeasure(); }
/** * <p>Setter for invItem.</p> * @param pInvItem reference **/ @Override public final InvItem getInvItem() { return getPurchaseInvoiceLine().getInvItem(); }
/** * <p>Setter for invItem.</p> * @param pInvItem reference **/ @Override public final InvItem getInvItem() { return getPurchaseInvoiceLine().getInvItem(); }
for (PurchaseInvoiceServiceLine ttl : pTacCatTotLns) { for (PurchaseReturnLine igl : igls) { if (igl.getPurchaseInvoiceLine().getTaxCategory().getItsId() .equals(ttl.getTaxCategory().getItsId())) { ilnt.add(igl);
pReqVars.put("PurchaseInvoiceLineitsOwnerdeepLevel", 1); pEntity.setPurchaseInvoiceLine(getSrvOrm() .retrieveEntity(pReqVars, pEntity.getPurchaseInvoiceLine())); pReqVars.remove("PurchaseInvoiceLineitsOwnerdeepLevel"); AccSettings as = getSrvAccSettings().lazyGetAccSettings(pReqVars); boolean isAggrOnlyRate = as.getSalTaxUseAggregItBas(); RoundingMode rm = as.getSalTaxRoundMode(); if (pEntity.getPurchaseInvoiceLine().getTaxCategory() != null && pEntity.getItsOwner().getPurchaseInvoice().getVendor() .getTaxDestination() != null) { pEntity.setPurchaseInvoiceLine(reversed.getPurchaseInvoiceLine()); pEntity.setPurchInvLnAppearance(reversed.getPurchInvLnAppearance()); pEntity.setTaxesDescription(reversed.getTaxesDescription()); if (pEntity.getPurchaseInvoiceLine() == null) { throw new ExceptionWithCode(ExceptionWithCode.WRONG_PARAMETER, "wrong_purchaseInvoiceLine"); pEntity.setPurchInvLnAppearance(getSrvI18n().getMsg(PurchaseInvoiceLine .class.getSimpleName() + "short", langDef) + " #" + pEntity .getPurchaseInvoiceLine().getIdDatabaseBirth() + "-" //local + pEntity.getPurchaseInvoiceLine().getItsId() + ", " + pEntity .getPurchaseInvoiceLine().getInvItem().getItsName() + ", " + pEntity .getPurchaseInvoiceLine().getUnitOfMeasure().getItsName() + ", " + getSrvI18n().getMsg("itsCost", langDef) + "=" + prnc(pReqVars, pEntity .getPurchaseInvoiceLine().getItsCost()) + ", " + getSrvI18n() .getMsg("rest_was", langDef) + "=" + prnq(pReqVars, pEntity
if (pEntity.getPurchaseInvoiceLine() == null) { throw new ExceptionWithCode(ExceptionWithCode.WRONG_PARAMETER, "wrong_purchaseInvoiceLine"); .getPurchaseInvoiceLine())); if (pEntity.getPurchaseInvoiceLine() == null) { throw new ExceptionWithCode(ExceptionWithCode.WRONG_PARAMETER, "wrong_purchaseInvoiceLine"); .getPurchaseInvoiceLine().getIdDatabaseBirth() + "-" //local + pEntity.getPurchaseInvoiceLine().getItsId() + ", " + pEntity .getPurchaseInvoiceLine().getInvItem().getItsName() + ", " + pEntity .getPurchaseInvoiceLine().getUnitOfMeasure().getItsName() + ", " + getSrvI18n().getMsg("itsCost") + "=" + pEntity .getPurchaseInvoiceLine().getItsCost() + ", " + getSrvI18n() .getMsg("rest_was") + "=" + pEntity.getPurchaseInvoiceLine() .getTheRest()); pEntity.setSubtotal(pEntity.getItsQuantity().multiply(pEntity .getPurchaseInvoiceLine().getItsCost()).setScale(getSrvAccSettings() .lazyGetAccSettings().getPricePrecision(), getSrvAccSettings() .lazyGetAccSettings().getRoundingMode())); .getIsExtractSalesTaxFromPurchase()) { String taxesDescription = ""; if (pEntity.getPurchaseInvoiceLine().getInvItem() .getTaxCategory() != null) { List<InvItemTaxCategoryLine> pstl = getSrvOrm() .retrieveListWithConditions( InvItemTaxCategoryLine.class, "where ITSOWNER="
reversingLine.setReversedId(reversedLine.getItsId()); reversingLine.setPurchaseInvoiceLine(reversedLine .getPurchaseInvoiceLine()); reversingLine.setItsQuantity(reversedLine.getItsQuantity() .negate());
reversingLine.setReversedId(reversedLine.getItsId()); reversingLine.setPurchaseInvoiceLine(reversedLine .getPurchaseInvoiceLine()); reversingLine.setItsQuantity(reversedLine.getItsQuantity() .negate());