I have an infopath form ,i am able to retrieve the value from the field using:
MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:field1", NamespaceManager).Value;
But my question is, how can we insert new value in to that field?
Please go through all the properties,You can find
MainDataSource.CreateNavigator().SelectSingleNode(
"/my:myFields/my:field1",NamespaceManager).SetValue("Required value");
I hope it helps
Related
In a Contact Form 7 form I have a select field, which values are only dates from an external JSON data source.
To make it a bit more comfortable for the user, I would like to add a datepicker to the select (dropdown), which only allows the date values from the select and restrict the Rest.
Can someone help me to achieve this? Thank you very much.
I want to display the taxcode custom field on invoice records
According to Netsuite Help, the format for the formula would be like that:
{taxcode.customfieldid}, knowing that (taxcode is the field id for the taxcode field on the lines of invoice record. customfieldid is the field id for the custom field on the TaxCode record)
PS: customfieldid is a free-text
I have tried possibilities like:
{invoice.item.taxcode.customfieldid}
{item.taxcode.customfieldid}
But I still get this error "ERROR: Field 'taxcode.customfieldid' Not Found"
how can I fix this? Can anyone provide some guidance on this issue?
Generally Netsuite will only look one level away from the record you are on.
In your case you should create a new transaction line field (say custcol_tax_extra) and source that from the taxcode so when a tax code is selected that value is pulled up onto the line.
Then your xml:
<#list record.item as item>${item.custcol_tax_extra}...
I added one field in the Pricedisc journal. Once the TradeAgreement is posted, the field will be updated in the PriceDisc Table.
Now, I need to get the same field on the SalesOrder form based on pricegroup.
Is there any standard way to achieve this?
Have you tried using the Cross Reference tool?
Search how the standard fields are moved.
This is my first question since I couldn't find an answer anywhere.
I am using a wordpress theme which has a custom post type, and there is a field called ID.
I am trying to auto generate number values for this field.
for example when I add a new post, the ID field will have its value set automatically.
I guess I need a counter to do this so each new post will have its unique value for the ID field.
any help? please
Thank you
I'm working on AX 2012 in X++ and am trying to add functionality to the LogisticsPostalAddress form part. Part of the functionality needs to populate the form (before the changes are saved), but I don't seem to be able to populate the fields.
I have found reference to using the following code:
LogisticsPostalAddress_ZipCode.text("NewCode");
This doesn't seem to work. If I use:
LogisticsPostalAddress.ZipCode = "NewCode";
The form doesn't change, but if I save and reopen the form the data has been changed.
I need to populate the fields on the form so that the user can see the new values before closing the form. Any suggestions?
Kevin
Try:
LogisticsPostalAddress.ZipCode = "NewCode";
LogisticsPostalAddress_ds.refresh();