D0900110B - Retrieve Configured Hub For Base or Acct Company
This data structure is used in B0900110 "Retrieved Configured Hub for Base or Account Company". This function is
called when a new document is initiated. The associated logic will be triggered only when using the intercompany
settlement method '3' in G/L constants for configured hub intercompany settlements (setup in P09190 "Configured Hubs").
Values for cConfigHubTransactionType, szUserDefinedHUB, szHubCompany should be initialized for a new
document. These three values should be stored and then retrieved for each subsequent call to B0900110 "Validate Company in
Configured Hub" for each entry in the document.
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cBaseCompanyMode | EV01 | char | REQ | INPUT |
Required Input - Send in:
| ||||
szBaseOrAcctCompany | CO | char | REQ | INPUT |
Required Input - Use Base Co if there are no transactions yet, else use Acct Co. This co should have already been
| ||||
cIntercoSettlementMethod | ICO | char | REQ | INPUT |
Required Input - Intercompany Settlement Method from G/L constants.
| ||||
cConfigHubTransactionType | EV02 | char | REQ | BOTH |
Required Input/Output - Initialize for new document. Possible Values returned from function for transaction type are:
| ||||
szUserDefinedHUB | UDHB | char | REQ | BOTH |
Required Input/Output Initialize for new document. (name of User Defined Hub for 1st line entry or Base Co).
| ||||
szHubCompany | CO | char | REQ | BOTH |
Required Input/Output Initialize for new document. (Config "Hub Co" for 1st line entry or Base Co).
| ||||
cHubDesignatorAcctCo | EV03 | char | OPT | OUTPUT |
Optional Output field - Initialize for new document. Possible values are:
| ||||
cErrorFlag | EV04 | char | OPT | OUTPUT |
Optional Output field - A value of '1' will be returned in this field if an error is found.
|
None |
F0010 Company Constants | ||||
F09190 Inter/Intra Company Account Relationships |