版本22.103我已经为帮助-> https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d903e5af-1446-4b74-b492-087e8110cdf0定义了一个内置定义类
当用户更新任何字段时,我试图发送PO信息。我可以在Push通知屏幕上看到我的类,但是当我更新PO时,没有任何东西被推送。不知道为什么?
下面是代码:
using System;
using PX.Data;
using PX.PushNotifications.Sources;
using PX.PushNotifications.UI.DAC;
using PX.Objects.PO;
public class MyPONotification : IInCodeNotificationDefinition
{
public Tuple<BqlCommand, PXDataValue[]> GetSourceSelect()
{
return
Tuple.Create(
PXSelectJoin<POOrder,
InnerJoin<POLine,
On<POLine.orderNoteID, Equal<POOrder.noteID>>>>.GetCommand(),
new PXDataValue[0]);
//return
// Tuple.Create(
// PXSelectJoin<PushNotificationsHook,
// LeftJoin<PushNotificationsSource,
// On<PushNotificationsHook.hookId,
// Equal<PushNotificationsSource.hookId>>>>
// .GetCommand(), new PXDataValue[0]);
}
public Type[] GetRestrictedFields()
{
return null;
//return new[]
//{
// typeof(PushNotificationsHook.address),
// typeof(PushNotificationsHook.type),
// typeof(PushNotificationsSource.designID),
// typeof(PushNotificationsSource.inCodeClass),
// typeof(PushNotificationsSource.lineNbr)
//};
}
}


蒂娅!
发布于 2022-08-30 20:06:41
显然,这是22.103年度的一个缺陷。我在22.111中尝试了相同的代码/dll,它没有出现任何问题。
发布于 2022-08-29 17:43:33
我认为问题在内部连接语句中
InnerJoin<POLine,
On<POLine.orderNoteID, Equal<POOrder.noteID>>我建议始终使用以下键编写头-详细信息/父-子表的联接:
InnerJoin<POLine,
On<POLine.orderType, Equal<POOrder.orderType>,
And<POLine.orderNbr,Equal<POOrder.orderNbr>>>https://stackoverflow.com/questions/73493989
复制相似问题