- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 44 of file ReceiptItem.java.
◆ getAmount()
double org.turro.erp.entity.ReceiptItem.getAmount |
( |
| ) |
|
◆ getCost()
double org.turro.erp.entity.ReceiptItem.getCost |
( |
| ) |
|
◆ getDedication()
double org.turro.erp.entity.ReceiptItem.getDedication |
( |
| ) |
|
◆ getDescription()
String org.turro.erp.entity.ReceiptItem.getDescription |
( |
| ) |
|
◆ getDocumentDate()
Date org.turro.erp.entity.ReceiptItem.getDocumentDate |
( |
| ) |
|
◆ getDocumentLine()
DocumentLine org.turro.erp.entity.ReceiptItem.getDocumentLine |
( |
| ) |
|
Definition at line 235 of file ReceiptItem.java.
236 return documentLine.getEntity(documentLineId);
◆ getDocumentLineId()
long org.turro.erp.entity.ReceiptItem.getDocumentLineId |
( |
| ) |
|
◆ getDocumentNumber()
String org.turro.erp.entity.ReceiptItem.getDocumentNumber |
( |
| ) |
|
◆ getHumanResource()
HumanResource org.turro.erp.entity.ReceiptItem.getHumanResource |
( |
| ) |
|
◆ getId()
long org.turro.erp.entity.ReceiptItem.getId |
( |
| ) |
|
◆ getIProduct()
IProduct org.turro.erp.entity.ReceiptItem.getIProduct |
( |
| ) |
|
Definition at line 261 of file ReceiptItem.java.
262 return iproduct.
getIProduct(
new IProductKey(productId, providerId, providerProductId, productDescription));
IProduct getIProduct(IProductKey productKey)
◆ getName()
String org.turro.erp.entity.ReceiptItem.getName |
( |
| ) |
|
Definition at line 340 of file ReceiptItem.java.
341 if(humanResource !=
null) {
342 return humanResource.
getName();
343 }
else if(resource !=
null) {
347 return product !=
null ? product.getProductName() :
null;
◆ getOrderItem()
OrderItem org.turro.erp.entity.ReceiptItem.getOrderItem |
( |
| ) |
|
◆ getPetitioner()
Contact org.turro.erp.entity.ReceiptItem.getPetitioner |
( |
| ) |
|
◆ getProduct()
Product org.turro.erp.entity.ReceiptItem.getProduct |
( |
| ) |
|
◆ getProductDescription()
String org.turro.erp.entity.ReceiptItem.getProductDescription |
( |
| ) |
|
◆ getProductId()
long org.turro.erp.entity.ReceiptItem.getProductId |
( |
| ) |
|
◆ getProvider()
Contract org.turro.erp.entity.ReceiptItem.getProvider |
( |
| ) |
|
◆ getProviderId()
long org.turro.erp.entity.ReceiptItem.getProviderId |
( |
| ) |
|
◆ getProviderProduct()
Definition at line 297 of file ReceiptItem.java.
298 return providerProduct.getEntity(providerProductId);
◆ getProviderProductId()
long org.turro.erp.entity.ReceiptItem.getProviderProductId |
( |
| ) |
|
◆ getRealUnits()
double org.turro.erp.entity.ReceiptItem.getRealUnits |
( |
| ) |
|
◆ getReceptorId()
String org.turro.erp.entity.ReceiptItem.getReceptorId |
( |
| ) |
|
◆ getRelated()
ReceiptItem org.turro.erp.entity.ReceiptItem.getRelated |
( |
| ) |
|
Definition at line 380 of file ReceiptItem.java.
381 OrderItem oi = orderItem !=
null ? orderItem.
getRelated() :
null;
384 Iterator<ReceiptItem> itri = ris.iterator();
386 return ris.iterator().next();
Set< ReceiptItem > getReceiptItems()
◆ getResource()
Resource org.turro.erp.entity.ReceiptItem.getResource |
( |
| ) |
|
◆ getStartWorking()
Date org.turro.erp.entity.ReceiptItem.getStartWorking |
( |
| ) |
|
◆ getStatus()
Definition at line 369 of file ReceiptItem.java.
370 if(orderItem ==
null) {
371 return ReceiptStatus.RECEIPT_READY;
374 return ReceiptStatus.RECEIPT_PROCESSED;
376 return ReceiptStatus.RECEIPT_PROCESSED_PARTIALLY;
◆ getTax()
double org.turro.erp.entity.ReceiptItem.getTax |
( |
| ) |
|
◆ getType()
String org.turro.erp.entity.ReceiptItem.getType |
( |
| ) |
|
Definition at line 351 of file ReceiptItem.java.
352 if(humanResource !=
null) {
354 }
else if(resource !=
null) {
◆ getUnits()
double org.turro.erp.entity.ReceiptItem.getUnits |
( |
| ) |
|
◆ getWorkDate()
Date org.turro.erp.entity.ReceiptItem.getWorkDate |
( |
| ) |
|
Definition at line 365 of file ReceiptItem.java.
366 return startWorking ==
null ? documentDate : startWorking;
◆ isEmpty()
boolean org.turro.erp.entity.ReceiptItem.isEmpty |
( |
| ) |
|
◆ isHumanResourceType()
boolean org.turro.erp.entity.ReceiptItem.isHumanResourceType |
( |
| ) |
|
◆ isProductType()
boolean org.turro.erp.entity.ReceiptItem.isProductType |
( |
| ) |
|
Definition at line 327 of file ReceiptItem.java.
328 return ((providerProductId > 0 || productId > 0) ||
329 !Strings.isEmpty(productDescription));
◆ isResourceType()
boolean org.turro.erp.entity.ReceiptItem.isResourceType |
( |
| ) |
|
◆ setCost()
void org.turro.erp.entity.ReceiptItem.setCost |
( |
double |
cost | ) |
|
◆ setDedication()
void org.turro.erp.entity.ReceiptItem.setDedication |
( |
double |
dedication | ) |
|
◆ setDescription()
void org.turro.erp.entity.ReceiptItem.setDescription |
( |
String |
description | ) |
|
◆ setDocumentDate()
void org.turro.erp.entity.ReceiptItem.setDocumentDate |
( |
Date |
documentDate | ) |
|
◆ setDocumentLine()
void org.turro.erp.entity.ReceiptItem.setDocumentLine |
( |
DocumentLine |
documentLine | ) |
|
Definition at line 239 of file ReceiptItem.java.
240 documentLineId = this.documentLine.setEntity(documentLine);
◆ setDocumentLineId()
void org.turro.erp.entity.ReceiptItem.setDocumentLineId |
( |
long |
documentLineId | ) |
|
◆ setDocumentNumber()
void org.turro.erp.entity.ReceiptItem.setDocumentNumber |
( |
String |
documentNumber | ) |
|
◆ setHumanResource()
void org.turro.erp.entity.ReceiptItem.setHumanResource |
( |
HumanResource |
humanResource | ) |
|
◆ setId()
void org.turro.erp.entity.ReceiptItem.setId |
( |
long |
id | ) |
|
◆ setIProduct()
void org.turro.erp.entity.ReceiptItem.setIProduct |
( |
IProduct |
product | ) |
|
Definition at line 265 of file ReceiptItem.java.
266 IProductKey productKey = iproduct.
setIProduct(product);
267 productId = productKey.getProductId();
268 providerId = productKey.getProviderId();
269 providerProductId = productKey.getProviderProductId();
270 productDescription = productKey.getProductDescription();
IProductKey setIProduct(IProduct product)
◆ setOrderItem()
void org.turro.erp.entity.ReceiptItem.setOrderItem |
( |
OrderItem |
orderItem | ) |
|
◆ setPetitioner()
void org.turro.erp.entity.ReceiptItem.setPetitioner |
( |
Contact |
petitioner | ) |
|
Definition at line 319 of file ReceiptItem.java.
320 receptorId = this.receptor.setEntity(petitioner);
◆ setProduct()
void org.turro.erp.entity.ReceiptItem.setProduct |
( |
Product |
product | ) |
|
Definition at line 255 of file ReceiptItem.java.
256 productId = this.product.setEntity(product);
◆ setProductDescription()
void org.turro.erp.entity.ReceiptItem.setProductDescription |
( |
String |
productDescription | ) |
|
Definition at line 165 of file ReceiptItem.java.
166 this.productDescription = productDescription;
◆ setProductId()
void org.turro.erp.entity.ReceiptItem.setProductId |
( |
long |
productId | ) |
|
◆ setProvider()
void org.turro.erp.entity.ReceiptItem.setProvider |
( |
Contract |
provider | ) |
|
Definition at line 285 of file ReceiptItem.java.
286 providerId = this.provider.setEntity(provider);
◆ setProviderId()
void org.turro.erp.entity.ReceiptItem.setProviderId |
( |
long |
providerId | ) |
|
◆ setProviderProduct()
void org.turro.erp.entity.ReceiptItem.setProviderProduct |
( |
ProductByContractor |
providerProduct | ) |
|
Definition at line 301 of file ReceiptItem.java.
302 providerProductId = this.providerProduct.setEntity(providerProduct);
◆ setProviderProductId()
void org.turro.erp.entity.ReceiptItem.setProviderProductId |
( |
long |
providerProductId | ) |
|
Definition at line 189 of file ReceiptItem.java.
190 this.providerProductId = providerProductId;
◆ setReceptorId()
void org.turro.erp.entity.ReceiptItem.setReceptorId |
( |
String |
receptorId | ) |
|
◆ setResource()
void org.turro.erp.entity.ReceiptItem.setResource |
( |
Resource |
resource | ) |
|
◆ setStartWorking()
void org.turro.erp.entity.ReceiptItem.setStartWorking |
( |
Date |
startWorking | ) |
|
◆ setTax()
void org.turro.erp.entity.ReceiptItem.setTax |
( |
double |
tax | ) |
|
◆ setUnits()
void org.turro.erp.entity.ReceiptItem.setUnits |
( |
double |
units | ) |
|
The documentation for this class was generated from the following file: