The custom field would be on a Cache Extension not the base DAC. If you used the customization editor to create the field you will likely want to move the Code object it created(likely a POOrderExt Cache Extension) to your extension library(since your screenshot appears to be from visual studio) and then access the field through that Cache Extension class(POOrderExt.UsrETA).
You should be able to do something like: I haven’t tested it but you can manually type in the target field(‘External ID’ in this case) and the way the mapping works it will often work as long as the field name matches the Big Commerce API. If that doesn’t work you could also try typing in ‘external_id’ but If I recall correctly the system should replace the space with an underscore and match regardless of case.
It’s not uncommon to need to refactor your code to support unit testing. Generally speaking even complex code should be able to be broken down into less complex parts that can be tested individually.Every project is different but unit tests are usually the easiest to write and fastest to execute.
I don’t think Dimitrii’s advice wasn’t that you should use TestSDK over unit testing but rather that the type of testing you are trying to do was a better fit for TestSDK. A standard testing strategy would involve both unit testing and TestSDK(or similar tools).With unit tests you wouldn’t be testing the entire application or the top level functionality. In your example you would be testing something like the logic to resolve a conflict with different descriptions on the customer/vendor records. To test that, all you would need to feed the method is the conflicting descriptions.
Not exactly, what I’m saying is that the “unit” you test is up to you. Many of the samples that Acumatica shows are testing methods/event handlers/actions that would require interaction with the cache/graph but that doesn’t have to be the case. In your example, you likely don’t really need to test the selection of the data from database/cache. It sounds like what you want to test is that if the From Customer Number and the To Customer Number are the same the application throws an error. If you extract that logic into a method all that method would need is the From Customer Number and the To Customer Number. Once you have extracted that logic you can easily test it by calling the method twice in your tests and passing customer numbers that are the same the first time and different the second time(and expecting an error to be thrown the first time but not the second time). Essentially unit testing only needs the data that a specific unit of logic(that you are trying to test) directly d
Your Where conditions should be before the OrderBy section. SelectFrom<Table>.Where<WhereConditions>.OrderBy<Desc<Table.Field>>.View.ReadOnly DetailsView;
So you are creating the PO in the UI and then using the API to try and add a line? You may just need to include the Order Type(it is part of the key along with the Order Nbr field).
The table that stores the data is the UploadFileRevision table(Acumatica automation versions uploaded files). I would say the easiest way would be to use the Acumatica API to download the file from a server with access to that shared folder. You may be able to automatically upload it from Acumatica to that shared folder but that would require a lot more work(something along the lines of a business event that triggers a custom process screen to do the upload).
It’s hard to say from just the screenshot but I suspect something else is wrong as I have used both those in reports without any issues. It may be worth double checking that your schema is selecting the data you expect, the scenario you describe sounds like it may be only running the function on a single record. If you are able to share the report that could help the community figure out what is causing the issue.
Is it showing differently for those Activities in the Web UI? I believe it is standard for completed activities to not be editable. I haven’t done much work with mobile but I believe you would need to add the CreateActivity actions to do what you are trying to do, it seems like you are currently only able to view existing(and completed) activities.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.