The BILLING_ACCOUNT_ID field in BILLING_ACCOUNT table is autogenerate?How can I associate a party_id in BILLING_ACCOUNT table ?
Thanks |
BillingAccount is related to Party via
BillingAccountRole. Most party relationships are done in this manner to show the context in which they are related as well as give a start and end date for the relationship if appropriate. --- mcdev <[hidden email]> wrote: > > The BILLING_ACCOUNT_ID field in BILLING_ACCOUNT > table is autogenerate?How can > I associate a party_id in BILLING_ACCOUNT table ? > Thanks > -- > View this message in context: > http://www.nabble.com/BillingAccount-table-tf2693285.html#a7510631 > Sent from the OFBiz - Dev mailing list archive at > Nabble.com. > > |
Thank you,
I knonw BILLING_ACCOUNT_ROLE, but why in the administrator html application I must entry a Party in new Billing Account, before create a BillingAccountRole? Where ofbiz save this information? Thanks
|
That appears to be a bad label. It should read
Billing Account Id as that is the name of the field that you're filling in. If you could, file an issue in Jira for this. Thanks! --- mcdev <[hidden email]> wrote: > > Thank you, > I knonw BILLING_ACCOUNT_ROLE, but why in the > administrator html application > I must entry a Party in new Billing Account, before > create a > BillingAccountRole? > Where ofbiz save this information? > > Thanks > > > cjhowe wrote: > > > > BillingAccount is related to Party via > > BillingAccountRole. Most party relationships are > done > > in this manner to show the context in which they > are > > related as well as give a start and end date for > the > > relationship if appropriate. > > > > --- mcdev <[hidden email]> wrote: > > > >> > >> The BILLING_ACCOUNT_ID field in BILLING_ACCOUNT > >> table is autogenerate?How can > >> I associate a party_id in BILLING_ACCOUNT table ? > >> Thanks > >> -- > >> View this message in context: > >> > > > > >> Sent from the OFBiz - Dev mailing list archive at > >> Nabble.com. > >> > >> > > > > > > > > -- > View this message in context: > > Sent from the OFBiz - Dev mailing list archive at > Nabble.com. > > |
Ok, I understand, but is there an Index or somthing else for generate billingAccountId?
|
Yes, if you leave billingAccountId (the erroneous
party field) blank, it will generate a billingAccountId based on the the entity SequenceValueItem with the record BillingAccount. If you fill in the blank, it will attempt to create a record with the billingAccountId that you provided and should do so successfully provided the id you supplied is unique. --- mcdev <[hidden email]> wrote: > > Ok, I understand, but is there an Index or somthing > else for generate > billingAccountId? > > > > cjhowe wrote: > > > > That appears to be a bad label. It should read > > Billing Account Id as that is the name of the > field > > that you're filling in. If you could, file an > issue > > in Jira for this. Thanks! > > > > --- mcdev <[hidden email]> wrote: > > > >> > >> Thank you, > >> I knonw BILLING_ACCOUNT_ROLE, but why in the > >> administrator html application > >> I must entry a Party in new Billing Account, > before > >> create a > >> BillingAccountRole? > >> Where ofbiz save this information? > >> > >> Thanks > >> > >> > >> cjhowe wrote: > >> > > >> > BillingAccount is related to Party via > >> > BillingAccountRole. Most party relationships > are > >> done > >> > in this manner to show the context in which > they > >> are > >> > related as well as give a start and end date > for > >> the > >> > relationship if appropriate. > >> > > >> > --- mcdev <[hidden email]> wrote: > >> > > >> >> > >> >> The BILLING_ACCOUNT_ID field in > BILLING_ACCOUNT > >> >> table is autogenerate?How can > >> >> I associate a party_id in BILLING_ACCOUNT > table ? > >> >> Thanks > >> >> -- > >> >> View this message in context: > >> >> > >> > > >> > > > > >> >> Sent from the OFBiz - Dev mailing list archive > at > >> >> Nabble.com. > >> >> > >> >> > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> > > > > >> Sent from the OFBiz - Dev mailing list archive at > >> Nabble.com. > >> > >> > > > > > > > > -- > View this message in context: > > Sent from the OFBiz - Dev mailing list archive at > Nabble.com. > > |
Thanks so mutch!!!
|
Free forum by Nabble | Edit this page |