PurchEditLinesForm_Invoice.canAssetFieldsBeEdited Method [AX 2012]
Validates whether the fixed asset fields can be edited.
public boolean canAssetFieldsBeEdited(VendDocumentTableMap _parmTable, VendDocumentLineMap _parmLine)
Run On
ClientParameters
- _parmTable
- Type: VendDocumentTableMap Map
A table buffer that contains the current PurchParmTable or VendInvoiceInfoTable table values.
- _parmLine
- Type: VendDocumentLineMap Map
A table buffer that contains the current PurchParmLine or VendInvoiceInfoLine table values.
The asset fields in a PurchLine table buffer can be edited providing the following criteria is met:
-
The inventory reference type or the fixed asset type is empty.
-
The purchase type is a subscription, a blanket purchase order, or a purchase order.
-
There is no project that is associated with the record.
-
There is no item quantity that is marked.
-
The purchase line is not originating from a Lean Subcontracting job.
Community Additions
ADD
Show: