acumatica

Programmatically recalculate taxes with Acumatica

余生长醉 提交于 2021-01-29 10:58:45
问题 We have a custom checkbox on the SOOrderEntry screen which we'd like to use to change the tax jurisdiction on the sales order after somebody has entered line items. The reason for this is that if the customer is out of state but will be picking up the order at the store in person, they will need to pay the local taxes at the store location and not their state taxes. If the order was shipped, the taxes would be those for the customer's location. The issue we're having is that when we set the

How to invoke the base method of a dataview delegate

橙三吉。 提交于 2021-01-29 06:34:23
问题 I have a PXGraph with a data view delegate I want to override so I can add a a few more custom filters to the datas displayed on the grid. I know how I can override and totaly replace the base delegate, but I dont know how I can execute the base logic of the dataview first, then add my filter to the result. So the result I want to achieve is : [PXOverride] public virtual IEnumerable details() { var records = Base.details(); return records.Where(...); } I tried just copying the whole original

How to invoke the base method of a dataview delegate

帅比萌擦擦* 提交于 2021-01-29 06:17:10
问题 I have a PXGraph with a data view delegate I want to override so I can add a a few more custom filters to the datas displayed on the grid. I know how I can override and totaly replace the base delegate, but I dont know how I can execute the base logic of the dataview first, then add my filter to the result. So the result I want to achieve is : [PXOverride] public virtual IEnumerable details() { var records = Base.details(); return records.Where(...); } I tried just copying the whole original

How do I enable custom attributes? (can assign on class, but not displaying for transaction)

故事扮演 提交于 2021-01-29 06:00:22
问题 I defined several new screens in Acumatica 2018R2 and need to enable attribute support according the class assigned to the transaction. The class screen appears to allow attaching attributes, but the transactional screen does not display any attribute. I found several examples on Stack Overflow, but the only clue I see seems to be that if the class id cannot be determined then no attributes will show. However, upon debug, I see that the class id is found. This is my test code where I have

What is the proper way to update values of DAC's retrieved via PXResultset?

≡放荡痞女 提交于 2021-01-16 04:25:44
问题 We have a business requirement to set the SO return COST to the original cost issued without invoicing if possible. We determined that Sales Orders are necessary to track issuing materials to our client, and we are cost driven rather than price driven. We use FIFO costing, but SO return orders do not seem to return at the original COST unless invoiced (which we also don't do in a traditional manner). I found that setting the unit/ext cost on the SO Shipment Line directly in the database

What is the proper way to update values of DAC's retrieved via PXResultset?

不羁岁月 提交于 2021-01-16 04:24:14
问题 We have a business requirement to set the SO return COST to the original cost issued without invoicing if possible. We determined that Sales Orders are necessary to track issuing materials to our client, and we are cost driven rather than price driven. We use FIFO costing, but SO return orders do not seem to return at the original COST unless invoiced (which we also don't do in a traditional manner). I found that setting the unit/ext cost on the SO Shipment Line directly in the database