acumatica

Sales Price Updating Every Other Time

孤者浪人 提交于 2019-12-02 19:14:54
问题 I have extended the SOOrderEntry graph and added the following code in order to update another line on the same sales order that is related to the current line that is being updated: protected virtual void SOLine_RowUpdating(PXCache cache, PXRowUpdatingEventArgs e) { if (e.NewRow == null) { return; } SOLine soLine = (SOLine)e.NewRow; SOLine relatedLine = Base.Transactions.Search<SOLine.inventoryID> (456); if (relatedLine != null) { relatedLine.Qty = soLine.Qty; relatedLine.CuryUnitPrice = 24

Acumatica generic inquiry how to export more than one GI as xml

馋奶兔 提交于 2019-12-02 18:45:01
问题 I know you can export one GI at a time to xml, I'm wondering you can select all user GI and export to XML as a backup. Thanks 回答1: You can do this by creating a customization project and include all the generic inquiries you need in one package. The project can be exported and imported which includes all of your attached GIs. We do this already and works great. Do not forget to update from database when making changes before re-exporting. Simple list of steps if you have not created a project

Acumatica:Tabular Report generates unexpected lines when calling as sub report

谁说我不能喝 提交于 2019-12-02 16:51:51
问题 Using Acumatica report designer, I've designed a tabular report to fetch one field from SOShiplinesplit.The report's main parameters are RefNbr and ShipLineNbr. If run the tabular report individually, for 1 doc's 1 shipline,its result looks like below: Tabular Report results when running individually However, if I add this tabular as a subreport like below, Add Tabular report as a subreport at ShiplineNbr group level I met with confusing results if I run the master report to call tabular

Cannot Customize using customize browser on portal

六眼飞鱼酱① 提交于 2019-12-02 16:23:18
问题 I associated a business account for an unrestricted external user and have provided both portal admin and customizer roles but still cannot customize on the portal and when I try to open a customization project, it says 回答1: I have a case open with Acumatica on the same issue. The problem is the main project browser page is missing from the portal site map. Run the SQL statement below on the database and restart the Acumatica instance. UPDATE 6/15/2018 - I ran into this issue again on another

How can I restrict Site ID (Whse) selection to only the current branch?

▼魔方 西西 提交于 2019-12-02 16:14:19
问题 While it is easy in thought to just limit records to INSite.branchID = AccessInfo.branchID, the need is a bit more complex. I thought that I found a simple solution when looking at the DAC for INTran to find: #region SiteID public abstract class siteID : PX.Data.BQL.BqlInt.Field<siteID> { } protected Int32? _SiteID; [IN.SiteAvail(typeof(INTran.inventoryID), typeof(INTran.subItemID))] [PXDefault(typeof(INRegister.siteID))] [PXForeignReference(typeof(FK.Site))] [InterBranchRestrictor(typeof

How to change items in cache

旧城冷巷雨未停 提交于 2019-12-02 12:20:12
Hello i want to change and alter values inside the cache of my acumatica cache i would like to know how to do it for example i want to change the Ext. Cost value pro grammatically of the first line or the second line or can i check if there is already a "Data Backup" on transaction Descr. public delegate void PersistDelegate(); [PXOverride] public void Persist(PersistDelegate baseMethod) { if (Globalvar.GlobalBoolean == true) { PXCache cache = Base.Transactions.Cache; APTran red = new APTran(); red.BranchID = Base.Transactions.Current.BranchID; red.InventoryID = 10045; var curyl = Convert

How to make the Inventory Item Label (IN619200) to print one label per unit of each item received?

社会主义新天地 提交于 2019-12-02 11:54:54
问题 Out-of-box Acumatica Inventory Item Label report ( IN619200 ) is designed to print multiple labels for the line item on the receipt only when the item is serialized. We will be modifying report that will allow user to select a receipt number and have the system generate the number of labels based on the quantity received for each item regardless if they are serialized or not 回答1: We will be modifying out-of-box Inventory Label Report (IN619200), which would print each label per quantity

Prevent update of note/files on disabled views

北战南征 提交于 2019-12-02 11:54:51
问题 I noticed that notes and files can be inserted/updated/deleted on grids (assume forms the same) when the grid does not allow for update, insert, or delete. Is there a way to turn this off? I am writing a custom page and want to prevent a user from modifying anything including notes and files. My grid contains the following: MyGrid.AllowInsert = false; MyGrid.AllowUpdate = false; MyGrid.AllowDelete = false; Anything I am missing to prevent this? Is there something I can add in the aspx page of

How to properly sort Tasks having multi-level Task Id like 1, 1.1, 1.1.5, 1.2, 2, 2.1.3, 2.2, 4, 11, 13, 44 etc. in Project Entry screen (PM301000)?

孤街醉人 提交于 2019-12-02 11:47:54
问题 Default Out-of-box Sorting: Expected Sorting: 回答1: Set Edit Mask to Unicode for Project Task Segmented Key (CS202000) in order to allow multi-level Task CD (allowing . in value) To get the expected sorting, We will create custom BQL function which will pad the numeric portion to the out-of-box TaskCD field. public class HierarchySorting<StringField> : BqlFormulaEvaluator<StringField>, IBqlOperand where StringField : IBqlField { public override object Evaluate(PXCache cache, object item,

Add image file on Employee Screen and add it into Purchase Order report designer

隐身守侯 提交于 2019-12-02 11:41:55
问题 On Employee Screen (ScreenId=EP203000) I added the image file as signature. After Add it I want to display that signature of employees on Purchase Order form as owner and approval. Picture below is what I want but don't know how to get these pictures. 回答1: I've already done it with the solution below: Edit report POOrder (po641000.rpx) Add more relationships POOrder Join EPApproval (NoteID - RefNoteID) EPApproval Join EPEmployee (ApprovalByID - UserID) EPEmployee Join NoteDoc (NoteID - NoteID