Roger Blanchard
447 posts
Registered:
29 Jun 2018
24 Aug 2021
Link to this post
I am getting the following error when trying to create a new record using a DatasetModel class.
The LikeCodeRep is a calculated field in the ePrice temp table and added to the skip list.
Unable to find sequence field LikeCodeRep in table Price during SAVE-ROW-CHANGES. (11909)
oPrice = NEW Osprey.Host.Price.PriceDatasetModel ().
oPrice:NewFilter(" 6666", // itemnum
1, // packnum
9 // zonenum
).
IF NOT oPrice:Price:Available THEN
DO:
oPrice:TrackingChanges = TRUE.
oPrice:Price:Create().
oPrice:Price:ItemNum = " 6666".
oPrice:Price:PackNum = 1.
oPrice:Price:ZoneNum = 1.
oPrice:SaveChanges().
END.
Last modified on 24 Aug 2021 19:08 by Roger Blanchard