When writing the code, it does not tell me that there is an error in the code, but it gives me an error during Run.
* Idea: I have a DLL file that I want to call the classes, methods, and functions it contains.
DLL Name : IntegrationInvoiceJOD.DLL
Class Name : GeneralReturnInvoice( )
Function Name : JustTest()
Code C# inside DLL :
Public Function JustTest() As String
Return /Welcom /
End Function
*Note: The DLL file has been placed in the required path.
===================================================================================
dotnet
{
assembly(IntegrationInvoiceJOD)
{
type(IntegrationInvoiceJOD.GeneralReturnInvoice; VAR_Test) { }
}
}
pageextension 50100 /Sales Order Ext/ extends /Sales Order/
{
trigger OnOpenPage();
var
justTestInstance: DotNet VAR_Test;
begin
justTestInstance := justTestInstance.GeneralReturnInvoice();
Message('Hello, world! It is: %1', justTestInstance.ToString());
end;
}
Compilation ended at '10:05:55.978'.
Success: The package is created.
===================================================================================
error when : Ctrl + Shift +F5
launch.json
Please help me solve this problem?