Does anyone know where the RemitAddress view is in the VendorMaint BLC? - acumatica

I'm trying to update the Vendor's Remit Address values from inside the BLC - but I can't find the view "RemitAddress" associated with those fields. I have a graph extension "VendorMaintExt", and I'm trying to use the syntax:
var remitaddress = Base.RemitAddress.Current;
But Base doesn't have a RemitAddress view showing in the intellisense in Visual Studio.
Where would I find this view so I can update the values?

In Acumatica 2022 version the remit address view is named RemitAddress in the DefLocationExt graph extension
vendorMaintInst.GetExtension<VendorMaint.DefLocationExt>().RemitAddress

Related

How to change the Data panel properties hover over information?

I am trying to find out if it's possible to customise what gets shown when I hover over any of the properties inside the Data Panel (inside the Spotfire Analyst). The current behaviour is to show the name of the property itself but I would like to change it so it shows a description showing what the property means.
According to TIBCO community, the option to see a description upon hover over is available in Spotfire 10.3. The version I am running is 10.0.

Selector field displaying as free text acumatica mobile

I am trying to display WorkflowStage property as selector field just like in web application as screenshot below.
And this is the code that I have added in the xml file.
But still it gets rendered as a textbox field in mobile (free text) like this.
What is missing here?
As of right now, Acumatica mobile apps do not support Tree Selectors used in various screens inside Acumatica. Adding Workflow Stage as a text box field is the only possible way to add such fields on a mobile device.

Adding User Defined Runtime Attributes?

Is there a way to add user defined runtime attributes to a button in Xamarin's storyboard designer?
I'm trying to get Pixate Freestyle to work and need to define the attributes. I can only find the place to define them within xcode.
I was working on a Xamarin Forms project and I figured out that on each platform, there is a method to update the style for a Control. The way I used to do this is something like this:
PixateFreestyle.SetStyleId(view, styleId);
or
PixateFreestyle.SetClassId(view, classId);
Where view is any UIView you want to style ann styleId/classId is a string with the style name in your default.css
Hope this works for you
This is where I based my project
XamarinForms-PixateFreestyle

Opening different xpages forms from a view panel

I have an Xpages application that pulls data from another .nsf file. I have a view panel linked to a view in that db. The view has documents with several different forms in it. I want to be able to open each document in it's own form(xpage).
How do I write a computed At Runtime, open selected document using: statement that will select the correct Xpage to present the document.
If you use the Data View component instead of a View Panel, you can compute the pageName attribute, referencing the var attribute to return a different value for each row based on the document that row represents. The flexibility of the Data View component also makes it easier to make your app look more like a modern web application and less like an Excel spreadsheet. As an additional bonus, the mobile theme invokes a renderer that makes each Data View instance look like a native mobile list, so using Data Views instead of View Panels simplifies mobile development.
You have 2 options:
use "use xpage associated with form" and edit the form's property
use a SSJS formula to compute the Form. You provide a variable name in the view control var to access a view row as XSPViewEntry. If the Form is in a view column even one you don't display you use .getColumnValue otherwise getDocument.getItemValueString
Does that work for you?
Maybe this mothed can help you: Unable to get document page name for
Hope this helps
Mark
I had a similar problem today. I use only one form but 3 different xpages for associated with this form. I have 3 different document types in the view. I used rowData the get the type of the document.
try{
var v=rowData.getColumnValue("form");
if(v.indexOf("x")> -1){var page ="x.xsp"}
else if(v.indexOf("y") > -1){var page = "y.xsp"}
else{var page = "z.xsp"}
}catch(e){
var page = "x.xsp"
}
So to your view you can create a column with the value of the form and you can use it.
I have used the extension library Dynamic View control which has an event you can code to get a handle to the NotesViewEntry which was selected. See the demo database page Domino_DynamicView.xsp and the Custom Event Handler tab for an example.
Note, in 8.5.3 (I have not upgraded yet) if you add or edit the eventHandler for onColumnClick it will be added to the XPages source as an xe:eventHandler. It needs to be an xp:eventHandler to work. The way to do it is to copy the code in the source from the exiting event and delete it. Recreate the event and update the code. Then go back into the source and change the tags within the eventHandler to xp:.

Do I need to register any DLL to use ATL ActiveX control stock property pages?

I have created an ActiveX control in VC++ 2012 using ATL. I would like to add a Font property and benefit from the stock property page that displays a font picker.
I have created a new control that has such a stock property using the control wizard. I've modified my code to reflect what I need to do to add the stock property. (I now implement ISpecifyPropertyPages; I have the relevant PROP_ENTRY_TYPE and PROP_PAGE entries in the property map) but when I attempt to display the property editor in the designer I get a 'Not Registered' type error.
I have ATL dynamically linked which, as I understand things, means I shouldn't need to link to any external DLL for ATL. However, where are the stock property pages implemented? Could it be that I don't have them, and need to register them somehow?
The problem you are perhaps facing is that stock property pages are hosted by MSSTKPRP.DLL and this component is not necessarily present/installed in Windows and is readily available. I would suggest not using stock property page and implement your own to avoid the troubling dependency.
See also:
Is there a x64 version of MsStkPrp.dll
Redistributing ATL and OLE DB Templates - at the bottom

Resources