This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyGraph : PXGraph<MyGraph> | |
{ | |
public MyGraph() | |
{ | |
InitializeUDFs(this.Caches[typeof(Document)]); | |
} | |
#region InitializeUDFs | |
private class UDFEventsConroller<TEventsCollection, TEventArgs, TEventDelegate> | |
where TEventArgs : EventArgs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FeatureEnabledBoolAttribute : PXDBBoolAttribute | |
{ | |
protected Type RecordType; | |
public BCFeatureEnabledBoolAttribute(Type recordType) | |
{ | |
RecordType = recordType; | |
} | |
public override void CommandPreparing(PXCache sender, PXCommandPreparingEventArgs e) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using PX.Data; | |
using PX.Objects; | |
using PX.Common; | |
using PX.Objects.GL; | |
using PX.Objects.CM; | |
using PX.Objects.CS; | |
using PX.Objects.TX; | |
using PX.Objects.CR; | |
using PX.Objects.CA; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using PX.Data; | |
using PX.Objects.CM; | |
using PX.Objects.CS; | |
using PX.Objects.IN; | |
using PX.Objects.TX; | |
namespace PX.Objects.AR | |
{ | |
public class ARTaxExtensionAttribute : ARTaxAttribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IF OBJECT_ID ('dbo.[px_Rates]', 'V') IS NOT NULL | |
DROP VIEW [dbo].[px_Rates] | |
GO | |
CREATE VIEW [dbo].[px_Rates] AS | |
select FromCury.CompanyID as CompanyID, FromCury.CuryID as FromCuryID, ToCury.CuryID as ToCuryID, Date as CuryEffDate, | |
Coalesce((Select top 1 CuryRateID | |
from CurrencyRate r | |
where r.CuryEffDate <= Date and r.CompanyID = FromCury.CompanyID and r.FromCuryID = FromCury.CuryID and r.ToCuryID = ToCury.CuryID | |
order by CuryEffDate), 0) as RateID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | |
<data-set> | |
<relations format-version="3" relations-version="20180809" main-table="GIDesign" stable-sharing="True" file-name="(Name)"> | |
<link from="GIFilter (DesignID)" to="GIDesign (DesignID)" /> | |
<link from="GIGroupBy (DesignID)" to="GIDesign (DesignID)" /> | |
<link from="GIMassAction (DesignID)" to="GIDesign (DesignID)" /> | |
<link from="GIMassUpdateField (DesignID)" to="GIDesign (DesignID)" /> | |
<link from="GINavigationScreen (DesignID)" to="GIDesign (DesignID)" /> | |
<link from="GINavigationParameter (DesignID, ScreenID)" to="GINavigationScreen (DesignID, ScreenID)" /> | |
<link from="GIOn (DesignID, RelationNbr)" to="GIRelation (DesignID, LineNbr)" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SOARDocTypesListAttribute : PXStringListAttribute, IPXRowSelectedSubscriber | |
{ | |
public Type _Module; | |
public class OrderTypesDefinition : IPrefetchable | |
{ | |
public Dictionary<String, String> list = new Dictionary<String, String>(); | |
public void Prefetch() | |
{ | |
list.Clear(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Processing | |
public static void ProcessRecords(List<ARRegister> records) | |
{ | |
PXGraph graph = new PXGraph(); | |
Boolean anyFailed = false; | |
foreach (ARRegister rec in records) | |
{ | |
PXProcessing.SetCurrentItem(rec); | |
try |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Collections; | |
using System.Collections.Generic; | |
using PX.Data; | |
using PX.Objects.AR; | |
using PX.Objects.GL; | |
using PX.Objects.CS; | |
using PX.Objects.CR; | |
using PX.Objects.SO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<px:PXSplitContainer runat="server" SplitterPosition="250" ID="splitConditions" Orientation="Horizontal"> | |
<AutoSize Enabled="true" Container="Window" /> | |
<Template1> | |
<px:PXGrid runat="server" ID="grid11" Height="150px" SkinID="DetailsInTab" Width="100%" SyncPosition="True"> | |
<AutoSize Enabled="True" MinHeight="150" /> | |
<Levels> | |
<px:PXGridLevel DataMember="DataMember1"> | |
<Columns></Columns> | |
</px:PXGridLevel> | |
</Levels> |
NewerOlder