【发布时间】:2016-05-04 09:17:18
【问题描述】:
我有 2 个屏幕,查询和数据输入。 我想将记录从 Screen1 复制到 screen2,见下图。 scree1 and Screen2
我使用以下代码:
public PXAction<FuncLocFilter> CreateFuncLoc;
[PXButton]
[PXUIField(DisplayName = "Create Functional Location")]
protected virtual void createFuncLoc()
{
FuncLocFilter row = Filter.Current;
BSMTFuncLoc FnLc = new BSMTFuncLoc();
FunLocEntry graph = PXGraph.CreateInstance<FunLocEntry>();
graph.FunLocations.Current.FuncLocCD = row.FuncLocCD;
graph.FunLocations.Current.StructureID = row.StructureID;
graph.FunLocations.Current.HierLevels = row.HierLevels;
graph.FunLocations.Current.EditMask = row.EditMask;
if (graph.FunLocations.Current != null)
{
throw new PXRedirectRequiredException(graph, true, "Functional Location");
}
}
但我遇到了如下错误: Error
有人可以帮忙解决这个看似愚蠢的问题吗?
对不起,我的英语不好.. :)
谢谢!
【问题讨论】: