{ "id": "391b4c2c-1a76-ed11-834f-026327f073d5", "rowNumber": 37, "note": { "value": "" }, "AdditionalInformation": { "value": "Enter the six-digit SOC Code for the position held by the employee using the Federal statistical standard" }, "CompanyNotes": {}, "FormBox": { "value": "" }, "LastModifiedDateTime": { "value": "2022-12-09T20:35:37.817+00:00" }, "Name": { "value": "Standard Occupational Classification (SOC)" }, "Required": { "value": false }, "Setting": { "value": "Employee_FED_StandardOccupationalClassification" }, "State": { "value": "FED" }, "UseDefault": { "value": false }, "UsedforTaxCalculation": { "value": false }, "Value": { "value":"123456" }
} ] }'
"innerException": { "message": "An error has occurred.", "exceptionMessage": "Exception has been thrown by the target of an invocation.", "exceptionType": "System.Reflection.TargetInvocationException", "stackTrace": " at System.RuntimeMethodHandle.InvokeMethod(Object target, Objectc] arguments, Signature sig, Boolean constructor)\r\n at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, ObjectO] parameters, Objectp] arguments)\r\n at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Objectn] parameters, CultureInfo culture)\r\n at PX.Api.ContractBased.EntityExportContextBuilder.<>c__DisplayClass90_1.<FindImplementations>b__3(PXGraph graph, EntityImpl entity, EntityImpl targetEntity)\r\n at PX.Api.SyImportProcessor.SyStep.ProcessLocateByNoteIdCommand(SyCommand cmd, SyView view, Boolean invokeCommand)\r\n at PX.Api.SyImportProcessor.SyStep.ProcessCommand(SyCommand cmd, Boolean& needCommit)\r\n at PX.Api.SyImportProcessor.ExportTableHelper.ExportTable()", "innerException": { "message": "An error has occurred.", "exceptionMessage": "Object reference not set to an instance of an object.", "exceptionType": "System.NullReferenceException", "stackTrace": " at PX.Objects.EndpointAdapters.DefaultEndpointImplPR.<>c__DisplayClass39_0.<InsertUpdateTaxSettingDetail>b__2(PREmployeeAttribute x)\r\n at System.Linq.Enumerable.FirstOrDefaulttTSource](IEnumerable`1 source, Func`2 predicate)\r\n at PX.Objects.EndpointAdapters.DefaultEndpointImplPR.InsertUpdateTaxSettingDetail(PXGraph graph, EntityImpl entity, EntityImpl targetEntity)"
Hi @geauxgunturu
Able to update the records on the screen? I tried to import the tax details and got the same issue on the screen. Am using the demo Data, Maybe some data issues.
Can you please try the below request once and let me know able to update the value field?
"innerException": { "message": "An error has occurred.", "exceptionMessage": "Object reference not set to an instance of an object.", "exceptionType": "System.NullReferenceException", "stackTrace": " at PX.Objects.EndpointAdapters.DefaultEndpointImplPR.<>c__DisplayClass39_0.<InsertUpdateTaxSettingDetail>b__2(PREmployeeAttribute x)\r\n at System.Linq.Enumerable.FirstOrDefaultrTSource](IEnumerable`1 source, Func`2 predicate)\r\n at PX.Objects.EndpointAdapters.DefaultEndpointImplPR.InsertUpdateTaxSettingDetail(PXGraph graph, EntityImpl entity, EntityImpl targetEntity)" } }
Hi @geauxgunturu were you able to find a solution? Thank you!
No. Unfortunately, getting the object reference error. Might be a bug. I’m going to get in touch with our assigned support and see if they can help us
@geauxgunturu we have been doing a lot with the Acumatica Payroll APIs
Try changing your Tax Settings payload to look more like this: