我想知道什么方法可以告诉我盒子是否敏感(活动)?
我尝试了 at PX.Objects.AR.ARInvoiceEntry.CalculateAvalaraTax(ARInvoice invoice)
at PX.Objects.AR.ARInvoiceEntry.Persist()
at PX.Objects.SO.SOInvoiceEntry.Persist()
at PX.Data.PXSave`1.d__2.MoveNext()
at PX.Data.PXAction`1.d__31.MoveNext()
at PX.Data.PXAction`1.d__31.MoveNext()
at PX.Data.PXAction`1.PressImpl(Boolean internalCall, Boolean externalCall)
at PX.Data.PXAction`1.Press()
at PX.Objects.SO.SOInvoiceEntry.InvoiceOrder(DateTime invoiceDate, PXResult`6 order, PXResultset`2 details, Customer customer, DocumentList`2 list)
at PX.Objects.SO.SOInvoiceEntry.InvoiceOrder(DateTime invoiceDate, PXResult`6 order, Customer customer, DocumentList`2 list)
at PX.Objects.SO.SOShipmentEntry.InvoiceShipment(SOInvoiceEntry docgraph, SOShipment shiporder, DateTime invoiceDate, DocumentList`2 list)
at PX.Objects.SO.SOShipmentEntry.<>c__DisplayClass41_1.b__1()
at PX.Data.PXLongOperation.<>c__DisplayClass17_0.b__0()
Error: DocStatus is invalid for this operation.: Expected Saved|Posted Send
Raised At: 2/28/2019 10:38:50 PM Screen: SO.30.20.00
Details:
2/28/2019 10:38:50 PM Error:
DocStatus is invalid for this operation.: Expected Saved|Posted
at PX.Objects.AR.ARInvoiceEntry.LogMessages(BaseResult result)
at PX.Objects.AR.ARInvoiceEntry.CalculateAvalaraTax(ARInvoice invoice)
at PX.Objects.AR.ARInvoiceEntry.Persist()
at PX.Objects.SO.SOInvoiceEntry.Persist()
at PX.Data.PXSave`1.d__2.MoveNext()
at PX.Data.PXAction`1.d__31.MoveNext()
at PX.Data.PXAction`1.PressImpl(Boolean internalCall, Boolean externalCall)
at PX.Data.PXAction`1.Press()
at PX.Objects.SO.SOInvoiceEntry.InvoiceOrder(DateTime invoiceDate, PXResult`6 order, PXResultset`2 details, Customer customer, DocumentList`2 list)
at PX.Objects.SO.SOInvoiceEntry.InvoiceOrder(DateTime invoiceDate, PXResult`6 order, Customer customer, DocumentList`2 list)
at PX.Objects.SO.SOShipmentEntry.InvoiceShipment(SOInvoiceEntry docgraph, SOShipment shiporder, DateTime invoiceDate, DocumentList`2 list)
at PX.Objects.SO.SOShipmentEntry.<>c__DisplayClass41_1.b__1()
at PX.Data.PXLongOperation.<>c__DisplayClass17_0.b__0()
at PX.Data.PXLongOperation.d(Object A_0)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at PX.Data.PXThreadPool.a()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
,但似乎这不是.get_sensitive()
属性。有帮助吗?
gtk.CheckButton
不同,我相信set_sensitive()
会将复选框设置为OFF或ON,也不同于.set_sensitive()
,后者将复选框选中或取消选中。