project QadFinancials > class BDebtorEndUser > business logic query DebtorEndUserForShipto


Parameters


iiCompanyIdintegerCompany id
icDebtorEndUserCodecharacter


query condition


  each DebtorEndUser where
DebtorEndUser.SharedSet_Id = vi_DEBTOR_sharedset(iiCompanyId) AND

      first Address (inner-join) where
Address.Address_ID = DebtorEndUser.Address_ID AND

          first BusinessRelation (inner-join) where
BusinessRelation.BusinessRelation_ID = Address.BusinessRelation_ID AND


query resultset tqDebtorEndUserForShipto


field namedata typedb fielddescription
tiAddress_IDintegerDebtorEndUser.Address_IDCity
tiBusinessRelation_IDintegerBusinessRelation.BusinessRelation_IDRecord ID
tiDebtorEndUser_IDintegerDebtorEndUser.DebtorEndUser_IDRecord ID
tcDebtorEndUserCodecharacterDebtorEndUser.DebtorEndUserCodeEnd user code(maximum 8 characters).
api annotation:If you select Link to Customer or Link to Ship-To Address, the End User Code field is filled with the value you specify for the customer or ship-to address./ Otherwise the system automatically generates a number for the record based on the sequence defined in End User Autonumber Create.


Internal usage


QadFinancials
method BDebtorShipTo.DataLoadByInput