project BLF > class Persistence Layer > method CreateDraftInstance

Description

Add all instance data into the fcDraftInstance table.


Parameters


iiTransactionIdinputintegerInstance ID of transaction (optional)
iiInstanceIdinputintegerinstance ID of the draft instance
icBusinessinputcharacterBusiness class shortname of the draft instance
icActivityinputcharacterActivity Code
icReferenceinputcharacterReference to identify the draft instance with
icCreatedByinputcharacterCreatedBy
icFormNameinputcharacterUI form name
ilDraftIsSharedinputlogical
iiCompanyIDinputinteger
ihInstanceDatainputhandle
iiOldInstanceIdinputinteger
ihClassinputhandle
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


BLF
method business.ExitInstance
method business.StoreState


program code (program1/persistence.p)