Skip to content

Instantly share code, notes, and snippets.

@MySohoWiki
MySohoWiki / boFields.pas
Created December 7, 2022 09:03
Get/Set bo fields
//Get or set BO fields
//Instuctions of how to get the dataset follow the link
//https://wiki.mysoftwarehouse.gr/docs/enotites/mysoho-ergaleia/customization/mysoho-scripting/business-object-scripting/
//
//When you are on frm.CurrentView = fvDetail you can use for set
procedure setVals;
begin
itetrnds.Append;
itetrnds.FieldByname('itemid').value:= 12345678;
itetrnds.FieldByname('SizeCodeID').value:= 10;