Skip to content

Instantly share code, notes, and snippets.

@Dadinel
Created June 19, 2019 14:51
Show Gist options
  • Save Dadinel/44bbba25422b0eb78d62946a10982273 to your computer and use it in GitHub Desktop.
Save Dadinel/44bbba25422b0eb78d62946a10982273 to your computer and use it in GitHub Desktop.
MVC - SED - ModelDef
static function ModelDef()
local oModel as object
local oStruct as object
oModel := MPFormModel():New( "MODEL_SED", /*bPre*/ , /*bPos*/, /*bCommit*/, /*bCancel*/ )
oStruct := FwFormStruct( 1, "SED", /*bFiltro*/ )
oModel:AddFields( "FIELDS_SED", /*Owner*/ , oStruct, /*bPre*/ , /*bPos*/ , /*bLoad*/ )
return oModel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment