acumatica

Feature.xml changes are not showing in Enable/Disable custom feature UI?

瘦欲@ 提交于 2020-04-30 06:49:48
问题 Add custom feature checkbox is not showing in custom feature UI, My finding var featureAttributes = cache.GetAttributes(null, field).OfType<FeatureAttribute>(); giving 0 featureAttributes, that's-why it is not visible while i have added Features.xml file with proper tag as suggested in documentation, any thing else am i missing? 回答1: All you should need is the table extension for the FeatureSet table. Here is an example: public sealed class FeaturesSetExtension : PXCacheExtension<PX.Objects

Feature.xml changes are not showing in Enable/Disable custom feature UI?

只愿长相守 提交于 2020-04-30 06:48:46
问题 Add custom feature checkbox is not showing in custom feature UI, My finding var featureAttributes = cache.GetAttributes(null, field).OfType<FeatureAttribute>(); giving 0 featureAttributes, that's-why it is not visible while i have added Features.xml file with proper tag as suggested in documentation, any thing else am i missing? 回答1: All you should need is the table extension for the FeatureSet table. Here is an example: public sealed class FeaturesSetExtension : PXCacheExtension<PX.Objects

Feature.xml changes are not showing in Enable/Disable custom feature UI?

两盒软妹~` 提交于 2020-04-30 06:48:25
问题 Add custom feature checkbox is not showing in custom feature UI, My finding var featureAttributes = cache.GetAttributes(null, field).OfType<FeatureAttribute>(); giving 0 featureAttributes, that's-why it is not visible while i have added Features.xml file with proper tag as suggested in documentation, any thing else am i missing? 回答1: All you should need is the table extension for the FeatureSet table. Here is an example: public sealed class FeaturesSetExtension : PXCacheExtension<PX.Objects

Feature.xml changes are not showing in Enable/Disable custom feature UI?

随声附和 提交于 2020-04-30 06:48:07
问题 Add custom feature checkbox is not showing in custom feature UI, My finding var featureAttributes = cache.GetAttributes(null, field).OfType<FeatureAttribute>(); giving 0 featureAttributes, that's-why it is not visible while i have added Features.xml file with proper tag as suggested in documentation, any thing else am i missing? 回答1: All you should need is the table extension for the FeatureSet table. Here is an example: public sealed class FeaturesSetExtension : PXCacheExtension<PX.Objects

Acumatica API: Add/attache an Activity or Note entity to another entity (i.e. Customer, Contact, or Opportunity)

这一生的挚爱 提交于 2020-03-16 09:43:26
问题 I am able to add an Activity entity and able to get the NoteId, but not able to add this activity to a specific entity (or attache it after creation), how can I achieve this either using the Rest API or using the good old WSDL webservice? 来源: https://stackoverflow.com/questions/60455895/acumatica-api-add-attache-an-activity-or-note-entity-to-another-entity-i-e-cu

Acumatica dynamic dropdown

这一生的挚爱 提交于 2020-02-02 15:23:16
问题 I have a dropdown in a Grid and I want to fill it in runtime. I tried it in a RowSelected event but it doesn't work. Then I tried it to assign the attribute PXStringList in the field definition on the DAC, but it doesn't work either. This is the event protected virtual void HIASetupDetail_RowSelected(PXCache sender, PXRowSelectedEventArgs e) { List<string> values = new List<string>(); values.AddRange(new string[] { "A", "B" }); if (e.Row == null) { return; } HIASetupDetail HIASetupDetailRow =

Acumatica dynamic dropdown

北城余情 提交于 2020-02-02 15:22:27
问题 I have a dropdown in a Grid and I want to fill it in runtime. I tried it in a RowSelected event but it doesn't work. Then I tried it to assign the attribute PXStringList in the field definition on the DAC, but it doesn't work either. This is the event protected virtual void HIASetupDetail_RowSelected(PXCache sender, PXRowSelectedEventArgs e) { List<string> values = new List<string>(); values.AddRange(new string[] { "A", "B" }); if (e.Row == null) { return; } HIASetupDetail HIASetupDetailRow =

Getting Error : Invalid Column NoteId

假如想象 提交于 2020-01-17 07:09:43
问题 I have requirement to add Image for each serial number. I have extended the INItemLotSerial and added ImageUrl & NoteID field [PXTable(typeof(INItemLotSerial.inventoryID), typeof(INItemLotSerial.lotSerialNbr), IsOptional = true)] public class InfoINItemLotSerialExtNV : PXCacheExtension<INItemLotSerial> The DAC Having the following code for NoteID #region NoteID public abstract class noteID : PX.Data.IBqlField { } protected Guid? _NoteID; [PXNote] public virtual Guid? NoteID { get { return

Not able to shift focus to Shipment Nbr field on Shipments screen

末鹿安然 提交于 2020-01-17 06:53:35
问题 I'm using the built in Acumatica browser commands to insert a new shipment record by pressing a function key. The function Key triggers the command with px.searchFrame(window.top,"main")['px_alls'].ds.executeCommand("Insert"); For some reason, it triggers the insert command, but it doesn't shift the focus to the Shipment Nbr input field. Also, if you try to shift the focus manually using var field=px_alls["edShipmentNbr"]; field.focus(); that doesn't work either. I've been able to shift the

How to access Custom field,which is defined in Construction feature package- Acumatica

妖精的绣舞 提交于 2020-01-16 08:06:10
问题 By reading my question, you might think its very easy, but i request everyone to try to access a custom field defined in the construction feature package. I want to access "Type" field in Project screen's Task Tab in details UsrType is a custom field defined in Construction features package. In that package, file has been converted into dll. I tried to access that field like we usually do in customization. but i got error Type or Namespace "PMTaskExt" could not be found I even tried this I