メインコンテンツまでスキップ

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
}
]
}
フィールドフィールド物理名フィールド説明フィールド形式
支払マスタ名称shiharaiNameCombosite で管理している支払マスタの名称string | null
会社名称corpNameCombosite で管理している会社名称string | null
所属原価コードshozokuGenkaCodeCombosite で管理している所属の原価コードstring | null
発令原価コードhatsureiGenkaCodeCombosite で管理している発令の原価コードstring | null
事業所名称jigyoshoNameCombosite で管理している事業所名称string | null
経理項目名称keiriKomokuNameCombosite で管理している経理項目の名称string | null
役職名称yakushokuNameCombosite で管理している役職の名称string | null
職位名称shokuiNameCombosite で管理している職位の名称string | null
職能資格名称shokunoShikakuNameCombosite で管理している職能資格の名称string | null
職種名称shokushuNameCombosite で管理している職種の名称string | null
雇用形態名称koyoKeitaiNameCombosite で管理している雇用形態の名称string | null
職群名称shokugunNameCombosite で管理している職群の名称string | null
ランク名称rankNameCombosite で管理しているランクの名称string | null
負担会社名称futanCorpNameCombosite で管理している負担会社の名称string | null
従業員 IDshainIdCombosite で管理している従業員の IDstring | null
従業員名称shainNameCombosite で管理している従業員の名称string | null
金額amount当該仕訳元データの金額number

Overrides

CombositeShiwakeDataProviderServiceBase.read