D
David
Guest
I have written below query to create a record in table but its throwing error - " already exists with Record ID 0. (132)". I queried the table but record is not available. I am not sure why am getting this error.
Kindly help on the same.
Continue reading...
Kindly help on the same.
Code:
define temp-table ttbudget no-undo like BudgetGroup.
define buffer b_BudgetGroup for BudgetGroup.
create ttbudget.
assign
ttbudget.BudgetGroupCode = "kepa"
ttbudget.BudgetGroupDescription = "kepa"
ttbudget.BudgetGroupIsActive = YES
.
create b_BudgetGroup.
buffer-copy ttbudget to b_BudgetGroup.
Flags Index Name Cnt Field Name
pu Prim 1 + BudgetGroup_ID
u UniqueIdx 2 + BudgetGroupCode
+ BudgetGroupCategory
Continue reading...