public static SAZHoldCodeValidation Construct(Common _callerTable, CredManDocumentStatusCheck _documentStatus) { SAZHoldCodeValidation sazHoldCodeValidation = new SAZHoldCodeValidation(); sazHoldCodeValidation.callerTable = _callerTable; sazHoldCodeValidation.documentStatus = _documentStatus; switch (_callerTable.TableId) { case tableNum(SalesTable): sazHoldCodeValidation.inventRefId = _callerTable.(fieldNum(SalesTable, SalesId)); break; case tableNum(PurchTable): sazHoldCodeValidation.inventRefId = _callerTable.(fieldNum(PurchTable, PurchId)); break; case tableNum(SalesQuotationTable): sazHoldCodeValidation.inventRefId = _callerTable.(fieldNum(SalesQuotationTable, QuotationId)); break; default: break; } return sazHoldCodeValidation; }
This blog is contains coding reference related to Microsoft AX 2012 and D365 finance and operations and Power platform
Showing posts with label Buffer. Show all posts
Showing posts with label Buffer. Show all posts
Sunday, April 11, 2021
Get field value from Common buffer
Subscribe to:
Posts (Atom)