Its the two grids on AR303020 Rates and Settlements
I did not include the bAccountID in the new tables and of course not part of the views because of it (didn’t see Customer ID and it threw me off. Thanks for pointing that out. I have added to both tables the bAccountID and changed the pxparent in both DAC definitions to have where clauses with both baccountid and locationid #region bAccountID [PXDBInt(IsKey=true)] [PXDBDefault(typeof(Location.bAccountID))] [PXParent(typeof(Select<Location, Where<Location.bAccountID, Equal<Current<InvoiceRatesDetail.bAccountID>>, And<Location.locationID, Equal<Current<InvoiceRatesDetail.locationID>>>>>))] [PXUIField(DisplayName = "Customer ID")] public virtual int? BAccountID { get; set; } public abstract class bAccountID : PX.Data.BQL.BqlInt.Field<bAccountID> { } #endregion #region LocationID [PXDBInt(IsKey=true)] [PXDBDefault(typeof(Location.locationID))] [PXParent(typeof(Sel
Got it, I haven’t done that training yet but will. Thanks
Got it. By a processing screen you mean something that on load of screen, runs the process then it closes itself when done correct? Or is there a specific form type called processing.
I tried to set it to a different field[PXFormula(typeof(Default<ARInvoice.dueDate>))]and it still doesn’t work. When I change DueDate the field doesn’t default What I am trying to do is change the value of the user_Date_Of_Loss to the usrDateOfLoss from the Customer screen when the customer is selected. Should I put this on the change event of the customer or somewhere else????
Its not defaulting. I’m wondering if the problem is the [PXFormula(typeof(Default<ARInvoice.CustomerID>))]which I thought was trying to trigger the default after customerID has changed
Got it. Customerid is an integer. Acctcd is the string holding the account But I tried yours and \App_RuntimeCode\PX_Objects_AR_ARRegister_extensions.cs(36): error CS0426: The type name 'baccountID' does not exist in the type 'Customer'\App_RuntimeCode\PX_Objects_AR_ARRegister_extensions.cs(36): error CS0426: The type name 'baccountID' does not exist in the type 'Customer'
I get no prompt for anything missing when I compile without the using and deploy and still get no default using yours or my code
Ok I am trying the code you suggested and it does not seem to fire. I get no default
Are we saying that the default is not happening because of the underscores?
But the default is not working of course...
And to close the loop, Customer.CustomerID had to be Customer.acctCD. So changing case and the wrong field made it work. Thanks
Thats fantastically simple to fix. Thank you!
Thank you Laura, You rock. Your first point made me drill down into all the groups, there are like 6 different layouts for the check depending on where the data is grouped. The group that defaulted to being expanded is only one i changed. ( i was moving the pay to and amount (name) fields)
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.