Where to Call our logic while Importing SalesLine from Data Entity through Postman

Note:- Go to Sales Order Line Entity in Visual studio navigate to insertEntityDataSource Method and call your code after getBuffer() method. Thus you have sales line buffer to work with. public boolean insertEntityDataSource(DataEntityRuntimeContext _entityCtx, DataEntityDataSourceRuntimeContext _dataSourceCtx){switch (_dataSourceCtx.name()){case dataEntityDataSourceStr(BSFSalesOrderLineV2Entity, SalesLine):SalesLine salesLine = _dataSourceCtx.getBuffer(); } }

Sample financial Dimension Methods

Use the below code to fetch ledgerDimension from Main account Pass the Main account or Main account recid DimensionStorage::getDefaultAccountForMainAccountNum() or DimensionStorage::getDefaultAccount() Below code uses two parameters which is used to fetch ledgerdimension based on the enum example shown below. DimensionStorage::getDynamicAccount() LedgerJournalACType::Ledger Eg : DimensionStorage::getDynamicAccount(“015000000”, LedgerJournalACType::Cust); Below code is used to merge default dimension with Main […]

TFS Security rights

Yesterday I had an issue with TFS web security rights. Issue was we were not able to create Project in Project Collection. We had our user access to Project Collection Administrator, Domain Admin and Administrator, yet we couldn’t see add project in TFS browser. It turned out that we cannot create a TFS project directly […]