POST jxc_api/Offset/Search

获得源单列表数据

Request Information

URI Parameters

None.

Body Parameters

单据搜索条件1

OffsetBillSearchConditions
NameDescriptionTypeAdditional information
OfId

当前核销单ID(仅在编辑核销单时需要输入此项)

integer

None.

BType

业务类型

OFType

None.

OrgId

供应商、客户ID

integer

None.

Flag

表单区域

integer

None.

Start

订单日期起始时间,默认为本月第一天

string

None.

End

订单日期结束时间,默认为今天

string

None.

Keywords

查询关键字

string

None.

UsePager

boolean

None.

PageIndex

索引

integer

None.

PageSize

分页大小

integer

None.

KWCustIds

关键字筛选客户ID

Collection of integer

None.

KWVendIds

关键字筛选供应商ID

Collection of integer

None.

KWUserIds

关键字筛选职员ID

Collection of integer

None.

KWCatIds

关键字筛选类别ID

Collection of integer

None.

KWCreatedBy

关键字筛选制单人

Collection of integer

None.

KWCheckedBy

关键字筛选审核人

Collection of integer

None.

ExportDetails

是否导出明细(针对导出)

boolean

None.

CurrUserSn

当前用户编号

integer

None.

CanViewAllBill

是否可以查看所有单据

boolean

None.

CanOpeAllWh

是否可以打开所有的仓库

boolean

None.

OpeWhList

能打开的仓库列表

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OfId": 1,
  "BType": 1010,
  "OrgId": 2,
  "Flag": 3,
  "Start": "sample string 4",
  "End": "sample string 5",
  "Keywords": "sample string 6",
  "UsePager": true,
  "PageIndex": 7,
  "PageSize": 8,
  "KWCustIds": [
    1,
    2
  ],
  "KWVendIds": [
    1,
    2
  ],
  "KWUserIds": [
    1,
    2
  ],
  "KWCatIds": [
    1,
    2
  ],
  "KWCreatedBy": [
    1,
    2
  ],
  "KWCheckedBy": [
    1,
    2
  ],
  "ExportDetails": true,
  "CurrUserSn": 10,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获得源单列表数据

Collection of OffsetRecordEditModel
NameDescriptionTypeAdditional information
AsId

账套ID

integer

None.

BType

业务类型

OFType

None.

Id

核销记录ID

integer

None.

Date

核销记录日期

date

None.

VcId

客户或供应商

integer

None.

OFId

核销单ID或收付款单ID

integer

None.

OFNo

核销单编码或收付款单编码

string

None.

OFEId

核销单或收付款单子条目ID

integer

None.

BillId

源单单据ID

integer

None.

BillNo

源单单据编号

string

None.

BillBType

源单单据类型

BillType

None.

BillDate

单据日期

date

None.

BillAmount

源单单据金额

decimal number

None.

BillOFDAmount

已核销金额

decimal number

None.

BillOFAmount

本次核销金额

decimal number

None.

Note

备注

string

None.

CreatedBy

制单人

integer

None.

CreatedDate

制单日期

date

None.

ModifiedBy

修改人

integer

None.

ModifiedDate

修改日期

date

None.

Flag

表单显示区块类别

integer

None.

BillOFUAmount

未核销金额

decimal number

None.

ORDateFmt

核销记录日期

string

None.

BillDateFmt

单据日期

string

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "AsId": 1,
    "BType": 1010,
    "Id": 2,
    "Date": "2021-09-19 01:19:57",
    "VcId": 4,
    "OFId": 5,
    "OFNo": "sample string 6",
    "OFEId": 7,
    "BillId": 8,
    "BillNo": "sample string 9",
    "BillBType": 1010,
    "BillDate": "2021-09-19 01:19:57",
    "BillAmount": 11.0,
    "BillOFDAmount": 12.0,
    "BillOFAmount": 13.0,
    "Note": "sample string 14",
    "CreatedBy": 15,
    "CreatedDate": "2021-09-19 01:19:57",
    "ModifiedBy": 17,
    "ModifiedDate": "2021-09-19 01:19:57",
    "Flag": 19,
    "BillOFUAmount": -1.0,
    "ORDateFmt": "2021-09-19",
    "BillDateFmt": "2021-09-19"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOffsetRecordEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
  <OffsetRecordEditModel i:nil="true" />
  <OffsetRecordEditModel>
    <_x003C_AsId_x003E_k__BackingField>1</_x003C_AsId_x003E_k__BackingField>
    <_x003C_BType_x003E_k__BackingField>PreOFRec</_x003C_BType_x003E_k__BackingField>
    <_x003C_BillAmount_x003E_k__BackingField>11</_x003C_BillAmount_x003E_k__BackingField>
    <_x003C_BillBType_x003E_k__BackingField>Purchase</_x003C_BillBType_x003E_k__BackingField>
    <_x003C_BillDate_x003E_k__BackingField>2021-09-19T01:19:57.8096977+08:00</_x003C_BillDate_x003E_k__BackingField>
    <_x003C_BillId_x003E_k__BackingField>8</_x003C_BillId_x003E_k__BackingField>
    <_x003C_BillNo_x003E_k__BackingField>sample string 9</_x003C_BillNo_x003E_k__BackingField>
    <_x003C_BillOFAmount_x003E_k__BackingField>13</_x003C_BillOFAmount_x003E_k__BackingField>
    <_x003C_BillOFDAmount_x003E_k__BackingField>12</_x003C_BillOFDAmount_x003E_k__BackingField>
    <_x003C_CreatedBy_x003E_k__BackingField>15</_x003C_CreatedBy_x003E_k__BackingField>
    <_x003C_CreatedDate_x003E_k__BackingField>2021-09-19T01:19:57.8096977+08:00</_x003C_CreatedDate_x003E_k__BackingField>
    <_x003C_Date_x003E_k__BackingField>2021-09-19T01:19:57.8091871+08:00</_x003C_Date_x003E_k__BackingField>
    <_x003C_Flag_x003E_k__BackingField>19</_x003C_Flag_x003E_k__BackingField>
    <_x003C_Id_x003E_k__BackingField>2</_x003C_Id_x003E_k__BackingField>
    <_x003C_ModifiedBy_x003E_k__BackingField>17</_x003C_ModifiedBy_x003E_k__BackingField>
    <_x003C_ModifiedDate_x003E_k__BackingField>2021-09-19T01:19:57.8096977+08:00</_x003C_ModifiedDate_x003E_k__BackingField>
    <_x003C_Note_x003E_k__BackingField>sample string 14</_x003C_Note_x003E_k__BackingField>
    <_x003C_OFEId_x003E_k__BackingField>7</_x003C_OFEId_x003E_k__BackingField>
    <_x003C_OFId_x003E_k__BackingField>5</_x003C_OFId_x003E_k__BackingField>
    <_x003C_OFNo_x003E_k__BackingField>sample string 6</_x003C_OFNo_x003E_k__BackingField>
    <_x003C_VcId_x003E_k__BackingField>4</_x003C_VcId_x003E_k__BackingField>
  </OffsetRecordEditModel>
</ArrayOfOffsetRecordEditModel>