Fix bug in export/import + doc
This commit is contained in:
parent
3419393d55
commit
5207fda9c8
6 changed files with 104 additions and 49 deletions
|
|
@ -270,7 +270,7 @@ declare
|
|||
nCount integer;
|
||||
begin
|
||||
select count(*) into nCount from tmp_pcmn where pcm_val=p_id;
|
||||
if nCount != 0 then
|
||||
if nCount = 0 then
|
||||
nParent=account_parent(p_id);
|
||||
insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent)
|
||||
values (p_id, p_name,nParent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue