CombositeShiwakeDataService
仕訳元データを取得するサービス
警告
※ 既にインスタンス化されているものが提供されるのでcombositeDataService.shiwakeDataを使用してアクセスしてください。
詳しくは例を参照してください。
Extends
CombositeShiwakeDataProviderServiceBase<CombositeDataOperator>
Methods
read()
read(): Promise<{
shiwakeData: ShiwakeDataEntity[];
}>
Combosite の「仕訳元データ出力」処理時に作成される仕訳元データを取得する
仕訳元データ出力時に指定した支払マスタに関連する仕訳元データのみを取得します。
Returns
Promise<{
shiwakeData: ShiwakeDataEntity[];
}>
ShiwakeDataEntity[] 仕訳元データの配列
備考
※集約条件はCombositeでの設定に依存します。
Example
利用例
async function main() {
const response = await combositeDataService.shiwakeData.read()
}
await main()
レスポンス例
{
"shiwakeData": [
{
"shiharaiName": "25日払い_正社員",
"corpName": "パトスロゴス",
"shozokuGenkaCode": "10001",
"hatsureiGenkaCode": "AZ0001",
"jigyoshoName": "A事業所",
"keiriKomokuName": "人件費",
"yakushokuName": "主任",
"shokuiName": "主任",
"shokunoShikakuName": "監督職能",
"shokushuName": "営業",
"koyoKeitaiName": "正社員",
"shokugunName": "総合職",
"rankName": null,
"futanCorpName": "A会社",
"shainId": null,
"shainName": null,
"amount": 100000
}
]
}
| フィールド | フィールド物理名 | フィールド説明 | フィールド形式 |
|---|---|---|---|
| 支払マスタ名称 | shiharaiName | Combosite で管理している支払マスタの名称 | string | null |
| 会社名称 | corpName | Combosite で管理している会社名称 | string | null |
| 所属原価コード | shozokuGenkaCode | Combosite で管理している所属の原価コード | string | null |
| 発令原価コード | hatsureiGenkaCode | Combosite で管理している発令の原価コード | string | null |
| 事業所名称 | jigyoshoName | Combosite で管理している事業所名称 | string | null |
| 経理項目名称 | keiriKomokuName | Combosite で管理している経理項目の名称 | string | null |
| 役職名称 | yakushokuName | Combosite で管理している役職の名称 | string | null |
| 職位名称 | shokuiName | Combosite で管理している職位の名称 | string | null |
| 職能資格名称 | shokunoShikakuName | Combosite で管理している職能資格の名称 | string | null |
| 職種名称 | shokushuName | Combosite で管理している職種の名称 | string | null |
| 雇用形態名称 | koyoKeitaiName | Combosite で管理している雇用形態の名称 | string | null |
| 職群名称 | shokugunName | Combosite で管理している職群の名称 | string | null |
| ランク名称 | rankName | Combosite で管理しているランクの名称 | string | null |
| 負担会社名称 | futanCorpName | Combosite で管理している負担会社の名称 | string | null |
| 従業員 ID | shainId | Combosite で管理している従業員の ID | string | null |
| 従業員名称 | shainName | Combosite で管理している従業員の名称 | string | null |
| 金額 | amount | 当該仕訳元データの金額 | number |
Overrides
CombositeShiwakeDataProviderServiceBase.read