acumatica - ARM - non continuous subaccount -
according list of new/updated features in acumatica mentions following: "specify multiple, non-continuous ranges in data source accounts, subaccounts,and branches in general ledger engine."
however i'm seeing, doesn't seem apply subaccounts.
for example in situation, first segment of subaccount defines "region".
when defining unit sets need following:
central region - (subacct segment ab , de) - sub1 (ab) - sub2 (de)
north region (subacct segment bc)
in data source, can specify single "start" , "end" subaccount uses in between.
is possible have "central region" summary of child nodes or can specify want subaccts ab, de "central region"
in frx can "folder" or "parent" summary of children items underneath it.
it indeed possible, default user interface not allow enter string in such way, due segmented nature of subaccount field. can, however, customize field no longer behaves segmented editor. that, need create pxcacheextension on rmdatasourcegl override startsub/endsub attributes. class looks that:
using system; using px.data; using px.objects.gl; using px.cs; namespace px.objects.cs { [serializable] public partial class rmdatasourcegl : pxcacheextension<rmdatasource> { [pxdbstring(255, isunicode = true)] [pxuifield(displayname = "start sub.")] public virtual string startsub { get; set; } [pxdbstring(255, isunicode = true)] [pxuifield(displayname = "end sub.")] public virtual string endsub { get; set; } } }
once customization in place, can put non-contiguous ranges in startsub/endsub fields. please note segmented key separator (usually it's '-') should not part of ranges. example, assuming want include subaccounts between us-00-00-00-000 , us-99-99-99-999 , ca- accounts, put following in startsub field: us?????????,ca?????????. express differently: us000000000-us999999999,ca000000000-ca999999999. syntax documented in 5.0 release notes, , same accounts.
Comments
Post a Comment