In Acumatica, via import scenario, I have included the command <Action: Complete Order> (Complete). The import breaks, and gives the error "The Complete Order button is disabled."
Anyone know how to fix this issue?
The best way to troubleshoot something like this is to perform the task manually. you will need to figure out what needs to be done first to enable the button and then get your import scenario to do the equivalent automatically.
Related
Background:
I am trying to automate an installer that will be distributed to a bunch of different computers. Some of these already have a MS distributable file, some of them don't. The ones without this file have this inside the window control identifiers:
child_window(class_name="SysHeader32")
The reason this is important is that this will be an extra step in the installation that needs to have a button pressed. Is there a way to make an if loop similar to:
if main_dlg.child_window(class_name="SysHeader32") exists:
click install
proceed normally
else:
Proceed normally
How would I implement this?
I have it working without the extra step, but if this extra step is present, the install fails.
There is method .exists(timeout=5) which returns True/False instead of raising exception like other methods do. Of course, try-except block is also possible, but .exists() looks better as a logic than an error handling.
BTW, else branch is not needed. Just proceed normally after the condition code is executed or not.
I'm looking for solution, how to solve a problem with Pepper and Choreograph. If this is not possible by Choreograph, I will gladly use it anyway.
I have a screen (not a tablet),which can be trigged using a webhook. This webhook has options to enable and disable that screen. I would like Pepper to say something and then he turned on screen and said something and turned it off. How to solve it in Choreographe? If not in Choreograhe, someone could help with advice / code.
Thank you !
If you screen can be trigged by a webhook, just access the screen from pepper.
A simple way (but not efficient): in a python box, enter this code, for instance in the onStart method:
import os
os.system( "wget your_web_adress" )
Once you validate it works, consider using a dedicated python module like urllib. Just look for "http request in python" in this website for more information...
The webhook you plan to use is certainly documented with code examples.
If you can find one in Python, it may work from Choregraphe.
As you can probably take out from the title, I have a problem on my CRM environment converting a fax entity to an incident (case), it is as you know an out of the box functionality. When I press the button on the ribbon to convert it to a case, I'm given the following error: "You must save the changes before you can convert this activity". And I have definitely saved everything before I do this.
I do have the latest rollup and it works for the other activity entities except from this one. Is there any chance someone had similar issues? If so could you share how you resolved this. Thanks in advance.
There is likely some code running on the form that updates one or more values on the page automatically. Code like that will cause the form to become "dirty". Which is what triggers the message you are seeing.
One way to solve it, is modify your code to perform a save after it make its changes.
I'm currently trying to show a SheerResponse.YesNoCancel() dialog within the Save uiUpload pipeline process from Sitecore. The problem appears when I do that call and it throws a NullException. I thought it was weird so I started copying the code from Sitecore's DLL and adding it to my solution. After that, I found that if the property OutputEnable is false it returns a ClientCommand that is NULL and when it tries to add a control to it, the Exception appears. So Fixing that I was able to finish the execution of that method. Anyway I still can't show the dialog. So the question is: Can I show a Dialog from a Sitecore uiUpload pipeline?
Have you tried using Sitecore.Context.ClientPage.ClientResponse.YesNoCancel(), i did something similar to what you are trying to do, but i used Alert(), worked fine for me.
Update: Actually inside uiUpload pipeline you can't call this method, however what you can do is use HttpContext.Current.Response.Write("<html><head><script type=\"text/Javascript\">[Your Java Script</script></head></html>"), you will need to abort the pipeline after this args.AbortPipeline();, not sure if this will help your case or not
No you cannot. From http://sdn.sitecore.net/Articles/Media/Prevent%20Files%20from%20Uploading.aspx:
The uiUpload pipeline is run not as part of the Sheer event, but as part of the form loading process in response to a post back. This is because the uploaded files are only available during the "real" post back, and not during a Sheer UI event. In this sense, the uiUpload pipeline has not been designed to provide UI.
That page was written for v5.1 and 5.2, but I'm pretty sure it still applies. The page claims that you can emit javascript to the page like Ahmed suggested, but it didn't work when I tried it.
I am working with transaction IW31, the task is to rewrite the field of gsber with another value during the save process (when I clicked the save button this function should be activated at this time).
I had seen all the relevant user exit and enhancement point corresponding to transaction iw31 but no success. I couldn't find any point where I can get the whole CAUFVD structure (it contains the field gsber).
I would need a user point where I can import this structure, not only export.
Could anybody help me solving this task? Or do I need to create an implicit point because the lack of User-Exit?
Thank you in advance,
Gabor
Which SAP Release do you use?
Have you checked the Include LCOIHF2V? There you will find the Enhancement Point FCODE_BU2_01 in which you have full access to structure CAUFVD.
ENHANCEMENT-POINT FCODE_BU2_01 SPOTS ES_SAPLCOIH STATIC.
In addition you have of course always the possibility to add an implicit enhancement (as you suggested) at the end of this form routine.
Hope this helps!