Inventory - WEBPOS

2022-10-27 Thread S Munene
Hi,

I am exploring the WEBPOS plugin.
I can see the orders, invoices and payments generated after successful checkout
The inventory does not change however. (There are no changes on the 
InventoryItem 
, 
InventoryItemDetail, ItemIssuance entities)
 

  
Is this the correct behaviour or am i missing a setting. I would like to track 
the inventory levels 

Regards
Steve.

Re: The HR application tree does not display the correct names of the employees

2022-05-07 Thread S Munene
Thanks a lot for your input.
I have confirmed that the problem is not there in the demo version.
I have also downloaded a fresh version 18:12.05 and could not reproduce the 
problem either.

I will check whether the problem i have is  related to the fact that i have a 
multi tenant setup (or even mysql database) and revert.

Thanks for the help

> On 7 May 2022, at 11:34, Hanu Dashottar  wrote:
> 
> facing same issue
> Thanks & Regards,
> Hanu Dashottar
> 
> 
> 
> 
> 
> 
> On Fri, May 6, 2022 at 3:35 PM S Munene  wrote:
> 
>> The HR application tree does not display the correct names of the employees
>> Clicking on the incorrectly displayed name however brings up the correct
>> employee profile
>> 
>> i believe there is a problem with fuction getCurrentEmployeeDetails in
>> org/apache/ofbiz/humanres/HumanResEvents.java
>> carrying out the following changes on the function results in correct
>> display
>> Let me know if i am missing something
>> 
>> Regards
>> Kamanu
>> 
>> if (UtilValidate.isNotEmpty(emlpfillCtxs)) {
>>for (GenericValue emlpfillCtx : emlpfillCtxs ) {
>>String memberId = emlpfillCtx.getString("partyId");
>>//GenericValue memCtx =
>> EntityQuery.use(delegator).from("Person").where("partyId",
>> partyId).queryOne();
>>GenericValue memCtx =
>> EntityQuery.use(delegator).from("Person").where("partyId",
>> memberId).queryOne();
>>String title = null;
>>if (UtilValidate.isNotEmpty(memCtx)) {
>>String firstname = memCtx.getString("firstName");
>>String lastname = memCtx.getString("lastName");
>>if (UtilValidate.isEmpty(lastname)) {
>>lastname = "";
>>}
>>if (UtilValidate.isEmpty(firstname)) {
>>firstname = "";
>>}
>>title = firstname +" "+ lastname;
>>}
>>else {
>>GenericValue memGroupCtx =
>> EntityQuery.use(delegator).from("PartyGroup").where("partyId",
>> partyId).queryOne();
>>if (UtilValidate.isNotEmpty(memGroupCtx)) {
>>title = memGroupCtx.getString("groupName");
>>}
>>}
>> 
>> 



The HR application tree does not display the correct names of the employees

2022-05-06 Thread S Munene
The HR application tree does not display the correct names of the employees
Clicking on the incorrectly displayed name however brings up the correct 
employee profile

i believe there is a problem with fuction getCurrentEmployeeDetails in 
org/apache/ofbiz/humanres/HumanResEvents.java
carrying out the following changes on the function results in correct display
Let me know if i am missing something

Regards
Kamanu

if (UtilValidate.isNotEmpty(emlpfillCtxs)) {
for (GenericValue emlpfillCtx : emlpfillCtxs ) {
String memberId = emlpfillCtx.getString("partyId");
//GenericValue memCtx = 
EntityQuery.use(delegator).from("Person").where("partyId", partyId).queryOne();
GenericValue memCtx = 
EntityQuery.use(delegator).from("Person").where("partyId", memberId).queryOne();
String title = null;
if (UtilValidate.isNotEmpty(memCtx)) {
String firstname = memCtx.getString("firstName");
String lastname = memCtx.getString("lastName");
if (UtilValidate.isEmpty(lastname)) {
lastname = "";
}
if (UtilValidate.isEmpty(firstname)) {
firstname = "";
}
title = firstname +" "+ lastname;
}
else {
GenericValue memGroupCtx = 
EntityQuery.use(delegator).from("PartyGroup").where("partyId", 
partyId).queryOne();
if (UtilValidate.isNotEmpty(memGroupCtx)) {
title = memGroupCtx.getString("groupName");
}
}