Signature Capture on SO Invoice - acumatica

We currently have a requirement where an end user can perform a signature capture inside the SO Invoice screen.
End user would click a button or execute an action from the Actions Menu. A touch screen graphical editor would come up allowing the user to use their finger or any hardware supported to create a signature image. Upon clicking Accept, the image would be stored against the document Files attachment.
We are looking for something possibly already developed, or if necessary, a control we might be able to spawn that could then write the image attachment back.
Please advise.

If I'm not mistaken, at this point the functionality to create user signatures and attach the signature image file to an Acumatica ERP form that supports file attachments is exclusively available only in Acumatica mobile applications. I wish there were an Aspx control inside the framework, which could be used as is for that purpose, but unfortunately, there is not any to my knowledge.
An alternative approach is to create a custom PXSmartPanel embedding a custom HTML webpage (via the InnerPageUrl property). The custom HTML page can be used only to capture the signature and attach it to the current record inside Acumatica.

Since RuslanDev noted the mobile application for this, I'll share the MSDL code from the new T400 class on Customization of the Mobile Application. I don't think this is what you were asking, but I'm adding as an answer to preserve formatting for those that may be looking for how to do this in Mobile.
To add to the mobile application on 2018 R2, use the new Mobile Applications section of the Customization Project. Simply add the - add recordAction "SignReport" - section as shown below.
update screen SO301000 {
update container "OrderSummary" {
add recordAction "SignReport" {
behavior = SignReport
displayName = "Sign"
}
}
}

Related

Azure AD B2C Password reset flow custom layout password validation not working properly

I've created a custom layout for the "Password reset" user flow.
The password entry validation does not work properly, it does not always detect entries and when it does the information it provides is incorrect.
My layout has no custom CSS or JavaScript, it is just a plain HTML document with the div containing the value api in the id attribute inside the body.
I worked around this issue. I extracted CSS from the default layout provided by Microsoft.
One or some of those CSS classes did the trick, although I am not sure which of those is necessary. I wasn't able to find any information on the custom layout documentation page and that's the actual issue I have.
Generally to avoid this issue, we recommend starting with the templates, and adding your customisation on top. The templates contain a lot of the JS/CSS to control the default controls and error messaging that is part of the page.
https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-ui-customization#customize-the-default-azure-ad-b2c-pages

Umbraco uCommerce Secure Trading - need to use OrderNumber instead of OrderGuid

I am trying to use umbraco with uCommerce.
I have implemented SecureTrading as Payment provider in uCommerce. Now I need a solution to use OrderNumber in place of OdrderGuid to be used to identify the PurchaseOrder.
Currently OrderGuid is being sento to SecureTrading & this is being displayed in SecureTrading Transactions section. And due to this identifying the order is really hard.
We have appropriate value in OrderNumber field of PurchaseOrder table & we want to Display that value in SecureTrading's Transaction section.
Any way to achieve this?
If I try to write my own payment provider code, it'll be very huge task, also we have set the SecureTrading environment accordingly to uCommerce default preference.
Immediate help is required.
For more Detail
I have developed a DLL for my own customization as menthioned in http://docs.ucommerce.net/ucommerce/v7.3/payment-providers/integrating-a-payment-gateway.html But, that also is not working. the custom Payment Provider added in code(DLL) is not visible in backoffice to change the Payment Provider. There are all old entries for providers.
Even nothing shows up in cms Admin section for uCommerce Settings.
Thanks
Hi you can create a derrived version of the PageBuilder which will send the parameters to SecureTrading.
There's a protected virtual method you can override called "GetParameters".
It returns a dictionary that holds everything that will be send to SecureTrading.
You can set the "orderreference" in the dictionary to OrderNumber. This originally holds the orderguid.
Don't forget to register your page builder in the IoC container.
http://docs.ucommerce.net/ucommerce/v7.5/extending-ucommerce/register-a-component.html
You need to override the component by reusing the ID that the page builder has, which is: "SecureTradingPageBuilder". When overriding the page builder you don't have to change anything in the back office.
This should fix your problem :)

Netsuite: How do you edit the email preferences page?

I am using Site Builder, and there is currently a less than ideal looking email preferences page.
The url of the page is: https://forms.netsuite.com/app/crm/marketing/campaignlistener.nl?...
Is there a way to edit it somewhere?
There is no way to edit this directly.
Your best option is to inspect the classes and markup used and inject css and scripts (via a tab level tag override) to fix the page.
The other option is to replace the page entirely with a page of your own creation. The problem with that is once you do that you should only allow soft-opt-out because while you can set a hard opt-out with a script you cannot change from a hard opt-out with script.
This is a pain. I think what I may have done in the past was to insert some code on the My Account page that creates an iframe. Then you grab the Subscription Center link and replace it with a Suitelet URL that has the escaped Subscription Center url as a parameter and change its target to the iframe(same domain - forms.netsuite.com))
When the Suitelet opens it uses a postMessage to make the My Account let it take over and then creates another iFrame and makes the source of that iFrame the original Subscription Center iFrame. the Suitelet detects (on open) that the center is open an then because you are in the same domain you can inject CSS. When the subscription center goes away (a new onOpen function sourced from the Suitelet page) you can again use postMessage to "return" to my account.
I think this breaks in Safari but it's such a hack that I have steered away from this sort of thing and these days would tend to roll my own and manage hard opt-outs with the email from the Netsuite GUI.

Attachments on iPad in iFrame docusign

I am using iframe to get document signed by clients on ipad. There are attachments as well for each signer, but before attaching the captured image, I want to resize it. Is there a way to resize an image before attaching it with document.
Currently there is no functionality built in to the DocuSign platform that would allow the re-sizing of an attached image, DocuSign is an eSignature company and when they allow attachments on top of the documents that are about to be signed they should not be modified in any way as it could alter important aspects about the legally binding agreement that is being signed.
However I think you might still have a few options here to solve your issue. The two obvious ones that come to mind are:
Get the captured image from your recipients BEFORE they start the signing process.
Use a conditional tab to not allow the recipient to add an attachment unless it's within a certain size.
For the first solution you could use the Embedding feature to design whatever UI around the signing experience you'd like and in that case you can control the order of operations (i.e. have them upload the image first before clicking a button to sign) and you can then resize the image and add it to the envelope.
For the second solution, you could use the radioGroupTabs to add 2 grouped radio buttons to the envelope (so that only one can be checked) and say something like "Check this box if your image is within NxM size" and then the signer attachment tab only shows if they check that box. To do this you can make use of the ConditionalTabs feature.
For more information on Embedding DocuSign please see this page from the DocuSign Developer Center:
Embedding Feature
For more information on Conditional Fields refer to the User Guide (non-api use) and the documentation:
Conditional Fields User Guide
REST API Guide (search for term "conditional")

createchildcontrol() - user control, custom control, web control

I am new to .Net trying to understand about different controls here. I know, custom control, an extension of existing control. User control, a complicated control constructed in .ascx file and can be used anywhere in the application. I couldn't the concept of createchildcontrol() and need of it.
thanks !
It plays the role in the lifecycle of a page request to ensure all controls generated dynamically/via code are in place for binding postback values and rendering out to the page. Also note from the MSDN page:
When you develop a composite or templated server control, you must
override this method.
You can check this page for the full list of events, in order, on an ASPX request.

Resources