Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我在Acumatica处理页面实现中遗漏了什么_Acumatica - Fatal编程技术网

我在Acumatica处理页面实现中遗漏了什么

我在Acumatica处理页面实现中遗漏了什么,acumatica,Acumatica,我尝试创建针灸治疗页面。 我有以下aspx代码: <%@ Page Language="C#" MasterPageFile="~/MasterPages/TabView.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="SM102000.aspx.cs" Inherits="Page_SM102000" Title="Untitled Page" %> <%@ MasterTy

我尝试创建针灸治疗页面。 我有以下aspx代码:

<%@ Page Language="C#" MasterPageFile="~/MasterPages/TabView.master" AutoEventWireup="true" 
    ValidateRequest="false" CodeFile="SM102000.aspx.cs"
    Inherits="Page_SM102000" Title="Untitled Page" %>

<%@ MasterType VirtualPath="~/MasterPages/TabView.master" %>
<asp:Content ID="cont1" ContentPlaceHolderID="phDS" runat="Server">
    <px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%" 
        PrimaryView="StackOverflowProcess" TypeName="StackOverflowSync.UsrStackOverflowProcess">
    </px:PXDataSource>
    </asp:Content>
<asp:Content ID="cont2" ContentPlaceHolderID="phF" runat="server">
    <px:PXGrid ID="grid" runat="server" 
        Height="400px" 
        Width="100%" 
        AllowPaging="True" 
        AdjustPageSize="Auto" 
        AutoAdjustColumns="True" 
        AllowSearch="True"
        SkinID="Inquire" 
        DataSourceID="ds" 
        NoteIndicator="true"
        TabIndex="3300" 
        TemporaryFilterCaption="Filter Applied">
        <Levels>
            <px:PXGridLevel DataMember="StackOverflowProcess">
                <Columns>
                    <px:PXGridColumn DataField="Selected" TextAlign="Center" Width="20px" Type="CheckBox" AllowCheckAll="True">
                    </px:PXGridColumn>
                    <px:PXGridColumn DataField="FailInfo" Width="20px">
                    </px:PXGridColumn>
                    <px:PXGridColumn DataField="SynchronizationType" Width="80px">
                    </px:PXGridColumn>
                    <px:PXGridColumn DataField="LastFullSync" TextAlign="Right" Width="100px">
                    </px:PXGridColumn>
                    <px:PXGridColumn DataField="LastRunCmt" Width="80px">
                    </px:PXGridColumn>
                    <px:PXGridColumn DataField="LastRunFld" TextAlign="Right" Width="100px">
                    </px:PXGridColumn>
                </Columns>
            </px:PXGridLevel>
        </Levels>
        <AutoSize Container="Window" Enabled="True" MinHeight="400" />
    </px:PXGrid>
</asp:Content>

以下DAC等级:

using PX.Data;
using System;

namespace StackOverflowSync.DAC
{
    [Serializable()]
    public class UsrStackOverflowSettingItem: IBqlTable
    {
        #region SettingID
        public abstract class settingID : PX.Data.IBqlField
        {
        }

        protected int _SettingID;
        [PXDBIdentity(IsKey = true)]
        public virtual int SettingID
        {
            get
            {
                return this._SettingID;
            }
            set
            {
                this._SettingID = value;
            }
        }
        #endregion

        #region FailInfo 
        public abstract class failInfo : PX.Data.IBqlField
        {
        }
        protected string _FailInfo;

        [PXDBString(255, IsUnicode = true)]
        [PXDefault()]
        [PXUIField(DisplayName = "")]

        public virtual string FailInfo
        {
            get
            {
                return this._FailInfo;
            }
            set
            {
                this._FailInfo = value;
            }
        }
        #endregion
        #region Selected
        public abstract class selected : IBqlField
        {
        }
        protected bool? _Selected = false;

        /// <summary>
        /// Indicates whether the record is selected for mass processing.
        /// </summary>
        [PXBool]
        [PXDefault(false)]
        [PXUIField(DisplayName = "Selected")]
        public bool? Selected
        {
            get
            {
                return _Selected;
            }
            set
            {
                _Selected = value;
            }
        }
        #endregion
        #region SynchronizationType 
        public abstract class synchronizationType : PX.Data.IBqlField
        {
        }
        protected string _SynchronizationType;

        [PXDBString(255, IsUnicode = true)]
        [PXDefault()]
        [PXUIField(DisplayName = "Synchronization Type")]

        public virtual string SynchronizationType
        {
            get
            {
                return this._SynchronizationType;
            }
            set
            {
                this._SynchronizationType = value;
            }
        }
        #endregion
        #region LastFullSync 
        public abstract class lastFullSync : PX.Data.IBqlField
        {
        }
        protected DateTime? _LastFullSync;

        [PXDBDate()]
        [PXDefault()]
        [PXUIField(DisplayName = "Last Full Sync")]

        public virtual DateTime? LastFullSync
        {
            get
            {
                return this._LastFullSync;
            }
            set
            {
                this._LastFullSync = value;
            }
        }
        #endregion
        #region LastRunCmt 
        public abstract class lastRunCmt : PX.Data.IBqlField
        {
        }
        protected decimal? _LastRunCmt;
        [PXDBDecimal(2)]
        [PXDefault(TypeCode.Decimal, "0.0")]
        [PXUIField(DisplayName = "Last Run: Records Commited")]
        public virtual decimal? LastRunCmt
        {
            get
            {
                return this._LastRunCmt;
            }
            set
            {
                this._LastRunCmt = value;
            }
        }
        #endregion
        #region LastRunFld 
        public abstract class lastRunFld : PX.Data.IBqlField
        {
        }
        protected decimal? _LastRunFld;
        [PXDBDecimal(2)]
        [PXDefault(TypeCode.Decimal, "0.0")]
        [PXUIField(DisplayName = "Last Run: Records Failed")]
        public virtual decimal? LastRunFld
        {
            get
            {
                return this._LastRunFld;
            }
            set
            {
                this._LastRunFld = value;
            }
        }
        #endregion

        #region CreatedByID
        public abstract class createdByID : PX.Data.IBqlField
        {
        }
        protected Guid? _CreatedByID;
        [PXDBCreatedByID()]
        public virtual Guid? CreatedByID
        {
            get
            {
                return this._CreatedByID;
            }
            set
            {
                this._CreatedByID = value;
            }
        }
        #endregion
        #region Tstamp
        public abstract class tstamp : PX.Data.IBqlField
        {
        }
        protected byte[] _Tstamp;
        [PXDBTimestamp()]
        public virtual byte[] Tstamp
        {
            get
            {
                return this._Tstamp;
            }
            set
            {
                this._Tstamp = value;
            }
        }
        #endregion
        #region CreatedByScreenID
        public abstract class createdByScreenID : PX.Data.IBqlField
        {
        }
        protected string _CreatedByScreenID;
        [PXDBCreatedByScreenID()]
        public virtual string CreatedByScreenID
        {
            get
            {
                return this._CreatedByScreenID;
            }
            set
            {
                this._CreatedByScreenID = value;
            }
        }
        #endregion
        #region CreatedDateTime
        public abstract class createdDateTime : PX.Data.IBqlField
        {
        }
        protected DateTime? _CreatedDateTime;
        [PXDBCreatedDateTime()]
        public virtual DateTime? CreatedDateTime
        {
            get
            {
                return this._CreatedDateTime;
            }
            set
            {
                this._CreatedDateTime = value;
            }
        }
        #endregion
        #region LastModifiedByID
        public abstract class lastModifiedByID : PX.Data.IBqlField
        {
        }
        protected Guid? _LastModifiedByID;
        [PXDBLastModifiedByID()]
        [PXUIField(DisplayName = "Last Modified By")]
        public virtual Guid? LastModifiedByID
        {
            get
            {
                return this._LastModifiedByID;
            }
            set
            {
                this._LastModifiedByID = value;
            }
        }
        #endregion
        #region LastModifiedDateTime
        public abstract class lastModifiedDateTime : PX.Data.IBqlField
        {
        }
        protected DateTime? _LastModifiedDateTime;
        [PXDBLastModifiedDateTime()]
        [PXUIField(DisplayName = "Modified At")]
        public virtual DateTime? LastModifiedDateTime
        {
            get
            {
                return this._LastModifiedDateTime;
            }
            set
            {
                this._LastModifiedDateTime = value;
            }
        }
        #endregion
        #region LastModifiedByScreenID
        public abstract class lastModifiedByScreenID : PX.Data.IBqlField
        {
        }
        protected string _LastModifiedByScreenID;

        [PXDBLastModifiedByScreenID()]
        public virtual string LastModifiedByScreenID
        {
            get
            {
                return this._LastModifiedByScreenID;
            }
            set
            {
                this._LastModifiedByScreenID = value;
            }
        }
        #endregion
    }
}
使用PX.Data;
使用制度;
命名空间StackOverflowSync.DAC
{
[可序列化()]
公共类UsrStackOverflowSettingItem:IBqlTable
{
#区域设置ID
公共抽象类设置ID:PX.Data.IBqlField
{
}
受保护的int_设置ID;
[PXDBIdentity(IsKey=true)]
公共虚拟整数设置ID
{
得到
{
返回此。\u设置ID;
}
设置
{
这是。_SettingID=值;
}
}
#端区
#区域故障信息
公共抽象类故障信息:PX.Data.IBqlField
{
}
受保护字符串_FailInfo;
[PXDBString(255,IsUnicode=true)]
[PXDefault()]
[PXUIField(DisplayName=”“)]
公共虚拟字符串失败信息
{
得到
{
返回此。\u FailInfo;
}
设置
{
这是。_FailInfo=值;
}
}
#端区
#选定区域
已选择公共抽象类:IBqlField
{
}
受保护的布尔?\u选择=假;
/// 
///指示是否选择记录进行批量处理。
/// 
[PXBool]
[默认设置(错误)]
[PXUIField(DisplayName=“Selected”)]
公共图书馆?已选定
{
得到
{
返回(已选择);;
}
设置
{
_所选=值;
}
}
#端区
#区域同步类型
公共抽象类同步类型:PX.Data.IBqlField
{
}
受保护字符串\u同步类型;
[PXDBString(255,IsUnicode=true)]
[PXDefault()]
[PXUIField(DisplayName=“同步类型”)]
公共虚拟字符串同步类型
{
得到
{
返回此。\u SynchronizationType;
}
设置
{
此.\u SynchronizationType=值;
}
}
#端区
#区域最后完全同步
公共抽象类lastFullSync:PX.Data.IBqlField
{
}
受保护的日期时间?\u LastFullSync;
[PXDBDate()]
[PXDefault()]
[PXUIField(DisplayName=“上次完全同步”)]
公共虚拟日期时间?LastFullSync
{
得到
{
返回此。\u LastFullSync;
}
设置
{
这是。_LastFullSync=值;
}
}
#端区
#区域LastRunCmt
公共抽象类lastRunCmt:PX.Data.IBqlField
{
}
受保护的十进制数?\u LastRunCmt;
[PXDBDecimal(2)]
[PXDefault(TypeCode.Decimal,“0.0”)]
[PXUIField(DisplayName=“上次运行:提交的记录”)]
公共虚拟十进制?LastRunCmt
{
得到
{
返回此。\u LastRunCmt;
}
设置
{
此值为.\u LastRunCmt=值;
}
}
#端区
#区域LastRunFld
公共抽象类lastRunFld:PX.Data.IBqlField
{
}
受保护的十进制数?\u LastRunFld;
[PXDBDecimal(2)]
[PXDefault(TypeCode.Decimal,“0.0”)]
[PXUIField(DisplayName=“上次运行:记录失败”)]
公共虚拟十进制数?LastRunFld
{
得到
{
将此返回。\u LastRunFld;
}
设置
{
此值为.\u LastRunFld=值;
}
}
#端区
#区域创建bYID
公共抽象类createdByID:PX.Data.IBqlField
{
}
受保护的Guid?\u CreatedByID;
[PXDBCreatedByID()]
公共虚拟Guid?CreatedByID
{
得到
{
返回此。\u CreatedByID;
}
设置
{
这是.\u CreatedByID=value;
}
}
#端区
#塔姆普地区
公共抽象类tstamp:PX.Data.IBqlField
{
}
受保护字节[]\u Tstamp;
[PXDBTimestamp()]
公共虚拟字节[]Tstamp
{
得到
{
把这个还给我;
}
设置
{
此值为.\u Tstamp=数值;
}
}
#端区
#创建的区域DBYSCREENID
公共抽象类createdByScreenID:PX.Data.IBqlField
{
}
受保护字符串_CreatedByScreenID;
[PXDBCreatedByScreenID()]
公共虚拟字符串CreatedByScreenID
{
得到
{
返回此项。\u CreatedByScreenID;
}
设置
{
这是._CreatedByScreenID=值;
}
}
#端区
#区域创建时间
公共抽象类createdDateTime:PX.Data.IBqlField
{
}
受保护的日期时间?\u CreatedDateTime;
[PXDBCreatedDateTime()]
公共虚拟日期时间?CreatedDateTime
{
得到
{
返回此。\u CreatedDateTime;
}
设置
{
    using System.Collections;
    using System.Collections.Generic;
    using System.Linq;
    using PX.Data;
    using PX.SM;
    using StackOverflowSync.DAC;

    namespace StackOverflowSync
    {
        public class UsrStackOverflowProcess:PXGraph<UsrStackOverflowProcess>
        {
            [PXFilterable]
            public PXProcessing<UsrStackOverflowSettingItem> StackOverflowProcess;
            public PXCancel<UsrStackOverflowSettingItem> Cancel;


            public UsrStackOverflowProcess()
            {
                StackOverflowProcess.SetProcessDelegate(Process);
            }

            public static void Process(List<UsrStackOverflowSettingItem> syncItems)
            {
                foreach (UsrStackOverflowSettingItem usrStackOverflowPrcSt in syncItems)
                {
                    //
                }
            }

            public override bool IsDirty => false;
        }
    }
//Invoices.SetProcessDelegate(SendData);
        Invoices.SetProcessDelegate(delegate(List<ARInvoice> list)
        {
            List<ARInvoice> newlist = new List<ARInvoice>(list.Count);
            foreach (ARInvoice doc in list)
            {
                newlist.Add(doc);
            }
            SendData(newlist);
        });
<px:PXGridColumn DataField="Seleted" ...
[Serializable()]
public class UsrScanCoSettingItem : IBqlTable
{
    #region SettingID
    public abstract class settingID : PX.Data.IBqlField
    {
    }

    protected int? _SettingID;
    [PXDBIdentity(IsKey = true)]
    public virtual int? SettingID
    {
        get
        {
            return this._SettingID;
        }
        set
        {
            this._SettingID = value;
        }
    }
    #endregion
    ...
}