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> |
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.Common; | |
namespace PX.Objects.CS | |
{ | |
public class MyAutoNumberAttribute: PX.Objects.CS.AutoNumberAttribute | |
{ | |
public MyAutoNumberAttribute(Type doctypeField, Type dateField) | |
:base(doctypeField, dateField) |
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.Objects; | |
using PX.Data; | |
namespace PX.Data | |
{ | |
public class LEPMaint_Extension : PXGraphExtension<LEPMaint> | |
{ | |
#region Event Handlers | |
public PXAction<PX.Data.ListEntryPoint> ToggleActivation; |
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.Collections; | |
using System.Collections.Generic; | |
using System.Runtime.Serialization; | |
using System.Text; | |
using System.Linq; | |
using PX.Data; | |
using PX.Common; | |
using PX.Objects.AP.BQL; | |
using PX.Objects.CM; |
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 SOOrderEntry_Extension : PXGraphExtension<SOOrderEntry> | |
{ | |
#region Event Handlers | |
public PXAction<PX.Objects.SO.SOOrder> CreateReceipt; | |
[PXButton(CommitChanges = true)] | |
[PXUIField(DisplayName = "Create IN Receipt")] | |
protected void createReceipt() | |
{ | |
INReceiptEntry graph = PXGraph.CreateInstance<INReceiptEntry>(); |
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; | |
namespace Test | |
{ | |
public class TwoGrids : PXGraph<TwoGrids, TwoGrids.MasterTable> | |
{ | |
public PXFilter<MasterTable> MasterView; | |
public PXFilter<DetailsTableA> DetailsViewA; |
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"?> | |
<CodeSnippets | |
xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>DAC Field Template</Title> | |
<Author>Acumatica</Author> | |
<Description>Acumatica DAC Field Placeholder</Description> | |
<Shortcut>dac</Shortcut> | |
</Header> |
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 exists(select * from sys.triggers where parent_id = object_id('Users') and name = 'SuncUserPassword') | |
Drop trigger dbo.SuncUserPassword | |
GO | |
Create trigger dbo.SuncUserPassword on dbo.Users for Update as | |
Begin | |
declare @companyID int | |
select @companyID = CompanyID from inserted | |
Update u Set Password = i.Password from [dbo].[Users] u |