CU 6110
The CreateGenProductPostingGroupIfNeeded procedure creates the GenBusinessPostingGroups and visa versa for the CreateGenBusPostingGroupIfNeeded procedure, as it creates the GenProductPostingGroups
Hi @jaadkins81, thank you for reporting the issue. Could you, please, provide the code, to make it easier to reproduce the bug?
[External] CreateGenProductPostingGroupIfNeeded(PostingGroupCode : Code[20];PostingGroupDescription : Text[50]) IF GenBusinessPostingGroup.GET(PostingGroupCode) THEN EXIT;
GenBusinessPostingGroup.INIT; GenBusinessPostingGroup.VALIDATE(Code,PostingGroupCode); GenBusinessPostingGroup.VALIDATE(Description,PostingGroupDescription); GenBusinessPostingGroup.VALIDATE("Auto Insert Default",TRUE); GenBusinessPostingGroup.INSERT(TRUE);
and...
[External] CreateGenBusinessPostingGroupIfNeeded(PostingGroupCode : Code[20];PostingGroupDescription : Text[50]) IF GenProductPostingGroup.GET(PostingGroupCode) THEN EXIT;
GenProductPostingGroup.INIT; GenProductPostingGroup.VALIDATE(Code,PostingGroupCode); GenProductPostingGroup.VALIDATE(Description,PostingGroupDescription); GenProductPostingGroup.VALIDATE("Auto Insert Default",TRUE); GenProductPostingGroup.INSERT(TRUE);
This issue was fixed under Bug 298167