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.Data.WorkflowAPI; | |
namespace SSCS.IN | |
{ | |
using State = SSINTool.Statuses; | |
public abstract class SSINToolEntry_Workflow : PXGraphExtension<SSINToolEntry> | |
{ | |
public static bool IsActive() => | |
SSCSAccess.FeatureInstalled<SSCSFeaturesSet.main>(); |
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 Cloudmersive.APIClient.NET.ImageRecognition.Api; | |
using Cloudmersive.APIClient.NET.ImageRecognition.Model; | |
using Cloudmersive.APIClient.NET.VirusScan.Api; | |
using Cloudmersive.APIClient.NET.VirusScan.Model; | |
using IRConfiguration = Cloudmersive.APIClient.NET.ImageRecognition.Client.Configuration; | |
using VSConfiguration = Cloudmersive.APIClient.NET.VirusScan.Client.Configuration; |
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.SM; | |
namespace TeamTheta.TT | |
{ | |
public class UploadFileMaintenanceExtension :PXGraphExtension<UploadFileMaintenance> | |
{ | |
#region IsActive | |
public static bool IsActive() | |
{ |
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 INReplenishmentCreate_Extension : PXGraphExtension<INReplenishmentCreate>... | |
public delegate void OnRoundQtyByVendorDelegate(INReplenishmentItem rec, decimal qty); | |
[PXOverride] | |
public virtual decimal OnRoundQtyByVendor(INReplenishmentItem rec, decimal qty, OnRoundQtyByVendorDelegate del) | |
{ | |
// DO NOT INVOKE BASE... THIS IS REPLACING TO FIX MULTIPLE OF LOT SIZE ORDERING OVER MAX | |
//return del.Invoke(rec, qty); |
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 INReplenishmentCreate: PXGraph<INReplenishmentCreate>... | |
protected virtual decimal OnRoundQtyByVendor(INReplenishmentItem rec, decimal qty) | |
{ | |
POVendorInventory vendorSettings = | |
FetchVendorSettings(this, rec) ?? new POVendorInventory(); | |
if (rec.ReplenishmentMethod == INReplenishmentMethod.FixedReorder) | |
qty = vendorSettings.ERQ.GetValueOrDefault(); | |
else |
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 CreatePOOrders - Replace base version (clone and inject code) | |
public static PXRedirectRequiredException CreatePOOrders(List<POFixedDemand> list, DateTime? PurchDate, bool extSort) | |
{ | |
POOrderEntry docgraph = PXGraph.CreateInstance<POOrderEntry>(); | |
docgraph.Views.Caches.Add(typeof(SOLineSplit3)); | |
POSetup setup = docgraph.POSetup.Current; | |
DocumentList<POOrder> created = new DocumentList<POOrder>(docgraph); | |
Dictionary<String, DocumentList<POLine>> orderedByPlantype = new Dictionary<String, DocumentList<POLine>>(); | |
DocumentList<POLine> ordered; |
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 CreatePOOrders - Replace base version (clone and inject code) | |
public static PXRedirectRequiredException CreatePOOrders(List<POFixedDemand> list, DateTime? PurchDate, bool extSort) | |
{ | |
... | |
POLine line = null; | |
//Sales Orders to Blanket should not be grouped together | |
//Drop Ships to Blankets are not grouped either |
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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using SSCS; | |
namespace PX.Objects.EP | |
{ | |
public class EPApprovalMapMaint_Extension : PXGraphExtension<EPApprovalMapMaint> | |
{ |
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:PXSmartPanel ID="panelReason" runat="server" Caption="Enter Reason" CaptionVisible="true" LoadOnDemand="true" Key="ReasonApproveRejectParams" | |
AutoCallBack-Enabled="true" AutoCallBack-Command="Refresh" CallBackMode-CommitChanges="True" Width="600px" | |
CallBackMode-PostData="Page" AcceptButtonID="btnReasonOk" CancelButtonID="btnReasonCancel" AllowResize="False"> | |
<px:PXFormView ID="PXFormViewPanelReason" runat="server" DataSourceID="ds" CaptionVisible="False" DataMember="ReasonApproveRejectParams"> | |
<ContentStyle BackColor="Transparent" BorderStyle="None" Width="100%" Height="100%" CssClass="" ></ContentStyle> | |
<Template> | |
<px:PXLayoutRule ID="PXLayoutRulePanelReason" runat="server" StartColumn="True" ></px:PXLayoutRule> | |
<px:PXPanel ID="PXPanelReason" runat="server" RenderStyle="Simple" > | |
<px:PXLayoutRule ID="PXLayoutRuleReason" runat="server" StartColumn="True" SuppressLabel="True" ></px:PXLayoutRule> | |
<px:PXTextEdit ID="edReason" runat="server" DataField="Reason" TextM |