to get a personalized navigation.
to get a personalized navigation.
I want to Fetch payment ID, Invoice Id, invoice no,cid, rest of payment, date
Secondly,
I want to update payment information such as unpaid to paid,
Hi, I tried these two but but both giving me null
query GetpaymentInfoFromCustomerTransaction {
useCompany(no: 3867961) {
customerTransaction(
filter:
{
voucherType:{_eq:11}
paidStatus:{_in:[3,4]}
}
)
{
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
items {
customerNo
orderNo
invoiceNo
voucherNo
voucherType
amountDomestic
outstandingAmountDomestic
cid
dueDate
crossReference
paidStatus
paidLast
createdDateTime
changedDateTime
voucherDate
}
}
}
}
----------------------------------------------------------
query GetPaymentLines
{
useCompany(no: 3867961)
{
paymentLine(first: 1)
{
items {
paymentNo
lineNo
currency : joinup_Currency {
isoCode
}
supplier : joinup_Associate_via_Supplier {
bankAccount
country : joinup_Country {
isoCode
}
}
}
}
}
}
What have you tried? What didn't work? What did you get?
Copyright Ā© 2022 Visma.com. All rights reserved.