E
egarcia
Guest
Hello Meyrick, Support for Submit was added a couple of releases ago. Are you using the "BusinessEntity" class in your business entities? The Submit method looks like the following: /*------------------------------------------------------------------------------ Purpose: Submit a record Notes: ------------------------------------------------------------------------------*/ @openapi.openedge.export(type="REST", useReturnValue="false", writeDataSetBeforeImage="true"). @progress.service.resourceMapping(type="REST", operation="submit", URI="/SubmitCustomer", alias="", mediaType="application/json"). METHOD PUBLIC VOID SubmitCustomer(INPUT-OUTPUT DATASET dsCustomer): SUPER:Submit(DATASET dsCustomer BY-REFERENCE). END METHOD. Please that the annotation for the Submit method uses writeDataSetBeforeImage=true and operation=submit. You would need to add "BEFORE-TABLE bttCustomer". You should be able to add this code to an existing Business Entity. Alternatively, you can generate a new Business Entity with the wizard and specify the usage of the Submit operation. Information on the Submit operation then would be added to the catalog so that the JSDO would recognize the operation as being defined. I hope this helps. Edsel
Continue reading...
Continue reading...