Skip to content

Instantly share code, notes, and snippets.

View BrianMRO's full-sized avatar

Brian Stevens BrianMRO

  • SETECH Supply Chain Solutions, LLC
View GitHub Profile
@BrianMRO
BrianMRO / Acumatica_Mobile_Show_InventoryID.txt
Created May 12, 2021 18:00
Acumatica Mobile Show InventoryID Instead of Description from Selector
add field "InventoryID" {
selectorDisplayFormat = Key
}
@BrianMRO
BrianMRO / Acumatica_Mobile_Demo_Tags_MainMenu.txt
Created May 12, 2021 18:03
Acumatica Mobile Demo - Add Tags - Main Menu
update sitemap {
add folder "Stock Items" {
type = HubFolder
isDefaultFavorite = True
displayName = "Stock Items"
icon = "system://Target"
add item "IN202500" {
displayName = "Stock Items"
}
}
@BrianMRO
BrianMRO / Acumatica_Mobile_Demo_Tags.txt
Created May 12, 2021 18:05
Acumatica Mobile Demo - Add Tags Screen
add screen ZZ301000 {
add container "Document" {
formActionsToExpand = 1
displayName = "Tags"
add field "TagID"
add field "Descr"
add field "Details#InventoryID"
add field "Details#Description"
add field "Details#Customer"
add field "Details#Contact"
@BrianMRO
BrianMRO / Acumatica_Mobile_Demo_Tags_SetupScreen.aspx
Created May 12, 2021 18:07
Acumatica Mobile Demo - Tags - Setup Screen
<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormView.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="ZZ101000.aspx.cs" Inherits="Page_ZZ101000" Title="Untitled Page" %>
<%@ MasterType VirtualPath="~/MasterPages/FormView.master" %>
<asp:Content ID="cont1" ContentPlaceHolderID="phDS" Runat="Server">
<px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%"
TypeName="BLOG.Common.ZZBlogSetupMaint"
PrimaryView="Preferences"
>
<CallbackCommands>
@BrianMRO
BrianMRO / Acumatica_Mobile_Demo_Tags_EntryScreen.aspx
Created May 12, 2021 18:08
Acumatica Mobile Demo - Tags - Entry Screen
<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormTab.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="ZZ301000.aspx.cs" Inherits="Page_ZZ301000" Title="Untitled Page" %>
<%@ MasterType VirtualPath="~/MasterPages/FormTab.master" %>
<asp:Content ID="cont1" ContentPlaceHolderID="phDS" Runat="Server">
<px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%"
TypeName="BLOG.IN.ZZINTagEntry"
PrimaryView="Document"
>
<CallbackCommands>
@BrianMRO
BrianMRO / Acumatica_Mobile_Demo_Tags_IN202500_Snippits.aspx
Created May 12, 2021 18:14
Acumatica Mobile Demo - Tags - IN202500 Snippits
<px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%" TypeName="PX.Objects.IN.InventoryItemMaint" PrimaryView="Item">
<CallbackCommands>
...
<px:PXDSCallbackCommand Name="CheckTagParams" Visible="False" />
</CallbackCommands>
<DataTrees>
...
</DataTrees>
</px:PXDataSource>
@BrianMRO
BrianMRO / Acumatica_Mobile_SmartPanel_InventoryItemMaintExt.cs
Created May 12, 2021 18:21
Acumatica Mobile Demo - Tags - InventoryItemMaint_Extension.cs
using BLOG.Common;
using BLOG.IN;
using PX.Data;
using PX.Objects.AR;
using PX.Objects.CR;
using System;
using System.Collections;
namespace PX.Objects.IN
{
@BrianMRO
BrianMRO / Acumatica_Mobile_SmartPanel_ZZTag.cs
Created May 12, 2021 18:25
Acumatica Mobile Demo - Tags - ZZTag DAC
using System;
using BLOG.Common;
using PX.Data;
using PX.Data.ReferentialIntegrity.Attributes;
using PX.Objects.AR;
using PX.Objects.CR;
using PX.Objects.CS;
using PX.Objects.IN;
namespace BLOG.IN
@BrianMRO
BrianMRO / Acumatica_Mobile_SmartPanel_ZZTagEntry.cs
Created May 12, 2021 18:27
Acumatica Mobile Demo - Tags - ZZTagEntry Graph
using BLOG.Common;
using PX.Data;
using PX.Data.BQL.Fluent;
namespace BLOG.IN
{
public class ZZINTagEntry : PXGraph<ZZINTagEntry, ZZINTag>
{
[PXViewName("Tag")]
public SelectFrom<ZZINTag>.View Document;
@BrianMRO
BrianMRO / Acumatica_Mobile_SmartPanel_ZZBlogSetup.cs
Last active May 12, 2021 18:30
Acumatica Mobile Demo - Tags - ZZBlogSetup DAC
using PX.Data;
using PX.Objects.CS;
using System;
namespace BLOG.Common
{
[PXPrimaryGraph(typeof(ZZBlogSetupMaint))]
[PXCacheName("Blog Setup")]
[Serializable]
public class ZZBlogSetup : IBqlTable