{"title":"Create Operation","url":"https://jonas-paprotka.de/docs/dev-itpro/webservices/create-operation/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/webservices/create-operation, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/webservices/create-operation","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","date":"2021-04-01","meta":{"topic":"article"},"outline":[{"level":2,"title":"Method Signature","slug":"method-signature","at":113,"chars":53},{"level":2,"title":"Parameters","slug":"parameters","at":166,"chars":131},{"level":2,"title":"Results","slug":"results","at":297,"chars":237},{"level":2,"title":"Faults","slug":"faults","at":534,"chars":268},{"level":2,"title":"Usage Example","slug":"usage-example","at":802,"chars":114},{"level":2,"title":"Related information","slug":"related-information","at":916,"chars":44}],"text":"Creates a single record. The supplied record object is overwritten with the version that is created by the page.\n## Method Signature\n`void Create(ref Entity entity)`\n## Parameters\nParameter|Description\nentity|Type: Entity<br /><br /> A variable of a specific object type that represents the page.\n## Results\nResult name|Description\nentity|Type: Entity<br /><br /> A variable of a specific object type that represents the page. Contains the latest values that are present on the page after the record has been inserted into the table.\n## Faults\nSOAP fault message|Description\nThe \\[*record name*\\] already exists. Identification fields and values: \\[*field*\\]=\\[*value*\\]|Indicates that the record insertion would violate key constraints.\nOther faults are possible if they are generated by the AL code.\n## Usage Example\n```c#\nCustomer cust = new Customer();\ncust.Name = \"Customer Name\";\nservice.Create(ref cust);\n```\n## Related information\nbasic-page-operations"}