public void aboutToInsert(DescriptorEvent event) { super.aboutToInsert(event); if (this.getDelivery() == null) { event.updateAttributeWithObject("delivery", false); } if (this.getExternalCourier() == null) { event.updateAttributeWithObject("externalCourier", false); } if (this.getActive() == null) { event.updateAttributeWithObject("active", false); } }
public void aboutToInsert(DescriptorEvent event) { super.aboutToInsert(event); if (this.getVirtualEntity() == null) { event.updateAttributeWithObject("virtualEntity", false); } if (this.getLegalEntity() == null) { event.updateAttributeWithObject("legalEntity", false); } if (this.getAccountingEnabled() == null) { event.updateAttributeWithObject("accountingEnabled", false); } if (this.getExternal() == null) { event.updateAttributeWithObject("external", false); } if (this.getInventory() == null) { event.updateAttributeWithObject("inventory", false); } if (this.getCarrier() == null) { event.updateAttributeWithObject("carrier", false); } if (this.getWarehouse() == null) { event.updateAttributeWithObject("warehouse", false); } if (this.getActive() == null) { event.updateAttributeWithObject("active", false); } }
public void aboutToInsert(DescriptorEvent event) { super.aboutToInsert(event); if (this.getHasFromInventory() == null) { event.updateAttributeWithObject("hasFromInventory", false); } if (this.getHasToInventory() == null) { event.updateAttributeWithObject("hasToInventory", false); } if (this.getActive() == null) { event.updateAttributeWithObject("active", false); } }